Radio environment visualization in cooja - contiki

What does a red arrow from one mote to another in cooja simulator means? Generally radio traffic is shown in the form of blue arrows, what does a red arrow signifies? In my case one of my motes in the simulation is not receiving any incoming ip packets after this event. I am using contiki-2.7

To follow your example, a red arrow means that the node n°2 sent a message which is likely to be received by the node n°1.
In other words, the node n°1 is in the range of the node n°2, but that doesn't mean that it has successfully received the message (maybe because the radio was off at this moment or anything else).
If you had an ACK mechanisms in your protocol, you should be able to see that a message is correctly received by one node by seeing a double arrow in the network view.
You may also want to turn the timeline on (tools -> timeline) in order to see information about TX - Rx status of each nodes.
Regards,

Citation: Two simultaneous transmissions to a node, which results in radio interference,
is shown in red. Source article for reference

Related

Issue with cytoscape network repeated edges

I am working on a chemical oligomerization reaction network and have generated a Cytoscape network showing each molecular species and intermediate ions in each node and each connecting edge represents a reaction pathway. The issue is, in this system most reactions are reversible and thus two edges are generated between two nodes and there is no reasonable way to edit my network simulation outputs to remove the reverse reactions. Is there a way I can delete the double edges between two nodes without having to do it manually? An example image of a small section of my network showing the issue
Is this for the Cytoscape desktop or cytoscape.js? For Cytoscape desktop, you can collapse multiple edges using the Edit->Remove duplicate edges...
-- scooter

Why I see red crossed marked messages on CAN trace in CANoe?

enter image description hereenter image description here
here is the image. When I run CANoe for my configuration, I see some messages are red crossed visually. I don't know why it is? But it doesn't block my work, everything seems working fine. What is the meaning of such representations on CAN trace?
Thanks!
There was CAN2 present in my simulation setup which I do not use anymore, so when I use channel 2 to listen to another bus, messages coming in channel 2 shows the small red marks. Therefore, I removed the unused CAN2 from my simulation and all these small red marks are now gone.. I found it just today. thanks.

Fully joint connected multibody system?

I'm currently creating a system of spheres which can actuate to push each other away. There are center bodies (teal) at each corner which are connected to connecting bodies (yellow) via PrismaticJoint which are connected in the same way to the next corner.
When creating a one dimensional system of spheres, for example, a 1x1x4 system, I run into no errors and the system behaves as expected.
In trying to create a system of eight spheres in a 2x2x2 orientation, I'm running into mobilization errors.
Here is what the system looks like:
And the error:
terminate called after throwing an instance of 'std::runtime_error'
what(): This mobilizer is creating a closed loop since the outboard body already has an inboard mobilizer connected to it. If a physical loop is really needed, consider using a constraint instead.
Aborted (core dumped)
I understand that the error comes for joints sharing child or outward bodies, like in the case for two sides of the cube actuating one corner. Unfortunately, I haven't found a way to pivot using constraints successfully. How can I better define this system?
One way to address this is to use a Drake bushing element (essentially a stiff spring and damper) to emulate a "weld" constraint. There is a nice example of this approach in Drake -- see examples/multibody/four_bar.
The general idea is to break topological loops by sawing through one or more bodies, then welding them back together with a bushing (which does not count as a topological loop).

iOS pointer using gyro

I'm trying to build a pointer using the gyro in an iPhone. Right now I send gyro-data to a windows application from an iPhone over TCP but I want it to send two dimensional data that the app can use more directly to control a pointer. To start sending data a button is pressed. The orientation the phone is in when the button is pressed should be "the starting point", and how the phone is tilted from that is what should be sent.
So say I have the phone in my hand while lying down, I press the button (0, 0) and tilt it forward so that the top of the phone moves closer and closer pointing toward the ceiling (0.54, 0).
Is there any library I can use to transform the gyro data to a two dimensional representation or will I have to dust off my algebra? Are there any good resources for doing it algebraically?

What do the red telephone and blue telephone mean in iOS Xcode Instruments?

I tried to find a legend for these graphics and colors, but I couldn't find anything that was certainly referring to this instrument. Does anyone know? Specifically, the blue and red telephones, the red lollipop and the black line with red stripes. What do they all mean?
It appears to me that the red and blue telephone icons are kernel event messages, and the other icon is a red alarm bell which indicates kernel interrupts. If you click on those icons you will see a popup with specific details.
I checked in my project and the red telephones always corresponded to BSC_* events while blue telephones corresponded to MSC_* events.
The events list for the XNU/MacOS kernel are listed here:
https://github.com/opensource-apple/xnu/blob/10.10/bsd/kern/trace.codes
I don't know what BSC means vs. MSC (maybe someone else can answer that?) but it appears to me that MSC is a generic low level event message trap such as MSC_mach_msg_trap, while BSC is more specific high level events such as BSC_gettimeofday.

Resources