View Single Post
  #1   Spotlight this post!  
Unread 31-01-2017, 13:39
sgk525 sgk525 is offline
Registered User
FRC #5465
 
Join Date: Jan 2016
Location: Chandler, AZ
Posts: 4
sgk525 is an unknown quantity at this point
Clarity on Smart Dashboard Camera Mechanism

I have developed a straight forward vision code on the Raspberry Pi that grabs a frame, applies masking/Canny Edge Detection, and contour fitting that will send a udp string of distance measurements to the roborio. The main issue I am having is sending an image from the pi to the SmartDashboard. I have been reading about mjpeg streaming, and touched on the mjpeg streamer by robotpy, although am a little confused on how the smartdashboard will grab the frames. I tweaked a stream i found on-line for python3, found here:

https://github.com/SachinKonan/Windo.../httpserver.py

I was wondering how it could be changed to interface with the Smart Dashboard.
Reply With Quote