View Single Post
  #3   Spotlight this post!  
Unread 09-01-2016, 19:12
acrilex acrilex is offline
Registered User
AKA: Alexandre Croteau
FRC #5179 (Sénateurs)
Team Role: Programmer
 
Join Date: Jan 2016
Rookie Year: 2014
Location: Drummondville, QC, CA
Posts: 9
acrilex is an unknown quantity at this point
Re: Smartdashboard overlay

Thanks,

I was looking for static overlay, I will look forward into a widget. Dynamic image might also be useful, so thank you for the idea. Also, do someone here have an idea in how to calculate the angle of a such line, knowing that the camera will be placed once and not moved afterward. I have a simple idea, which could work but is long to set up. I could simply put a peg or similar with a rope attached to the robot and make it go forward to verify the perspective and draw a line over the rope, using it as the overlay, but I would like to know if there is a math way to calculate the perspective angle knowing that the camera will be placed directly in the middle of the robot. I think it would be related to vectors, but I am not really good in this aspect of maths. Can someone help?

Alexandre Croteau
Senateurs 5179
Coding team (Java RoboRIO, specialized in autonomous)
Reply With Quote