Quote:
Originally Posted by divixsoft
Due to the bandwith limit this year, I was curious if it was possible to make a smart dashboard widget that used javacv to proccess and image and use smart dashboard to send the values back to the robot. But the twist is do this on the classmate, attached on the robot as an onboard computer, than have another computer with our normal smart dashboard components to control the robot?
|
You can have multiple Network Table clients. SmartDashboard on the robot classmate would be one and SmartDashboard on the driver station computer would be another.
Quote:
Originally Posted by Johnbot
If you must do this, and you need the driverstation dashbaord to see the image then you might want to consider the following:
- You only save a few bytes if both your onboard computer sends back data directly and your driverstation reads the image. (This assumes the Socket communication doesn't pass through the field when you send it to the cRIO through your radio, if it does, you save nothing)
|
Communication between items on the robot does not go through the field.
Quote:
Originally Posted by Johnbot
- You could grab the image on your onboard computer, process it, send data to the cRIO, compress the image, and then host it as a MJPEG stream for the driverstation dashboard to see. (This would save you some bandwidth, as long as your drivers can deal with a more compressed image. Also, it would allow you to process higher quality images without eating up your bandwidth.)
|
The axis camera supports multiple simultaneous streams. The robot classmate can request a stream at 640x480, and the dashboard can request a stream at a lower resolution.