|
Rangefinder Radar on SmartDashboard
I have been trying to create a radar-type graph on my team's smart dashboard. What I want it to do is, since our rangefinders are on 180 degree servos, is to have a line plot that instead of using time, it uses values 0 - 180, that would print to the graph based on the current angle our servo is on. I want it to go back and forth(whenever it reaches 180 it goes into reverse back to 0, and vice-versa) and wipe the angles previous data. If anyone could help me find out how to do this, it would be very much appreciated. Thanks!
|