View Single Post
  #3   Spotlight this post!  
Unread 01-02-2015, 12:58
dougwilliams's Avatar
dougwilliams dougwilliams is offline
Engineer - Controls, Electronics
FRC #2053 (TigerTronics)
Team Role: Mentor
 
Join Date: May 2013
Rookie Year: 2013
Location: Vestal, NY
Posts: 109
dougwilliams is on a distinguished road
Re: USB Camera on C++ SmartDashBoard

Quote:
Originally Posted by codedr View Post
We are facing the same issue. I saved an image coming from the roborio and decoded the jpeg header.

The jpeg image coming from the camera is part of a mjpeg stream. According to https://www.ffmpeg.org/ffmpeg-bitstream-filters.html, the jpeg image is missing the DHT (huffman table) section.

...
That's good info. I still don't understand why it works fine with the default Dashboard vs the C++ dashboard. My guess is the RoboRio is transporting the exact same stream to the Driver Station in either case, and for some reason using the C++ dashboard it fails.

I asked in another thread if anyone could explain what the difference is between the C++ dashboard and default dashboard, and no one can explain that, either.
Reply With Quote