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

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.

Related

CarRacing-v0 in Gym: The screen is totally black when I run the environment

I'm trying to run one of the gym environments, CarRacing, with the code from (https://gist.github.com/lmclupr/b35c89b2f8f81b443166e88b787b03ab) modified to work with the current versions of Keras etc.
And it works: that is, it starts training and, if I put a print in "action", I can see what actions it is taking at each moment.
However, the display is not as it should be (see https://www.youtube.com/watch?v=pTYOyl8To7g), but I get a big screen that is totally black, and a smaller one where the black bar moves as if it wanted to show something.
Do you know what it could be? Is this a typical problem of gym, or cv...?
PS: I don't know how it is usually done in Stack to share a more or less long code (approx. 250 lines). Tell me if necessary.
See link below
TDLR add env.render("human") to your code
https://github.com/openai/gym/issues/492

TensorFlow video processing, changes detection

I'm newbie with machine learning, and I have only basic knowledge in neural networks.
I have pretty clear task:
1. Video stream shows static picture (white area with yellow squares)
(in different videos squares located in different places)
2. In some moment content of the video changes, and starts to show white area without some of the yellow squares.
3. I need to create mechanism which can determines and somehow indicates that changes.
I'm going to use for that task TensorFlow framework. Could anybody push me in right direction? Or I'll be very happy to see list of steps to overcome the problem.
Thanks in advance.
If you know how the static picture looks beforehand, may be some background-subtraction would work? Basically you just subtract the static picture from every frame and check the content of the result. If the resulting picture is empty (zeros or close to it up to some threshold) there is no change to detect. If the resulting picture contains a region that is non-zero (may be above or below a certain manually tuned threshold), you detected a change in that region.

How to get live output while processing images in ImageJ?

All what I am describing here takes place in ImageJ 32-bit version(Java 1.6.0_20).The Plugin I am using to get the capture stream from the camera is Civil Capture.
I made it work that i get image slices in a stack from a live video capture stream, with a camera. Afterwords I process them, lets just say i feed the values of one horizontal line of pixels of one image in an array and than plot this line with the methods from Plot and Plot Window.
So now my Problem:
When I run my plugin it first captures the picture than it gets processed. Now a Window is beeing opend for the Image stack and one for the Plot.
For the next incoming image it will also be processed and the Plot is beeing updated. But only at the end, when as many images, as I want to, were processed, the Plot and the images will actually be displayed. While the processing is happening, both Windows are white and dont show anything.
Is it possible to make ImageJ display the plot and the images after the processing part? and how?
I have found the Dynamik Profiler but I didnt get it to work the way I wanted it to. Especally since you have to input a image and not an array.
This is my first question so dont be too hard on me if i missed to give you information.
You should be able to use ImagePlus#updateAndDraw() to update the image display.
For the Plot class, use:
Plot#show()
to display it for the first time, and:
Plot#updateImage()
to update the plot window.
Solution:
So the problem was that the entier program took place in one thread. So to fix it, the ploting had to be done in a seperat thread.

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.

Radio environment visualization in cooja

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

Resources