![]() |
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!
|
Re: Rangefinder Radar on SmartDashboard
You can try making your own control in the new smart dashboard using this guide. The guide itself is for a different kind of object but the concept should apply to what your trying to do.
|
Re: Rangefinder Radar on SmartDashboard
I haven't looked at the SmartDashboard graphs, but in other IDEs I've been able to "wrap" angles and not get a vertical connection by including a point with a "NaN" in the data stream after the last one at one end and before the first one at the new end.
|
Re: Rangefinder Radar on SmartDashboard
That's really cool! I kinda want to do that
|
| All times are GMT -5. The time now is 22:25. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi