|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools |
Rating:
|
Display Modes |
|
#31
|
|||
|
|||
|
Re: Plotting Location w/ Accellerometer Project
Unfortunately, I do not have any code to show and I do not have access to the libraries to recreate it. I may be able to get an example together when I go home this weekend and can get to my laptop, but until then, I can share nothing. I would only recommend that you make sure you apply the overlay after the dashboard clears the pre-existing overlays. It also may not hurt to test the overlays on a stock image (i.e. read an image from a file and try and apply the overlay; it will help make sure the process is correct.) I will post some code if I get a chance.
Last edited by Aaron.Graeve : 04-10-2013 at 18:48. Reason: Added reference quote |
|
#32
|
||||||
|
||||||
|
Re: Plotting Location w/ Accellerometer Project
Here's how we used an XY graph to show a robot's path with a cursor showing current position.
Last edited by Joe Ross : 05-10-2013 at 11:20. Reason: typo |
|
#33
|
||||
|
||||
|
Re: Plotting Location w/ Accellerometer Project
Joe, what functional purpose does the X-Y graph have?
|
|
#34
|
||||||
|
||||||
|
Re: Plotting Location w/ Accellerometer Project
Just for display and debugging.
|
|
#35
|
||||
|
||||
|
Re: Plotting Location w/ Accellerometer Project
Quote:
Quote:
|
|
#36
|
|||
|
|||
|
Re: Plotting Location w/ Accellerometer Project
If it already overlays the points, is there any issue?
Additionally, your robot x and y coordinates would probably be generated using the algorithm this thread was discussing earlier and pulled from the robot to the dashboard. Correct me if I am wrong, but I thing Joe used simple input controls to illustrate the point (no pun intended) of using an XY Graph. |
|
#37
|
||||
|
||||
|
Re: Plotting Location w/ Accellerometer Project
Quote:
http://www.chiefdelphi.com/forums/sh...d.php?t=120022 |
|
#38
|
||||
|
||||
|
Re: Plotting Location w/ Accellerometer Project
Quote:
-I did see that, and I was thinking about using the SmartDashboard to read the encoder values from the robot, just the numeric values, then do the calculations on the driver station, reducing CPU usage. Quote:
Last edited by Invictus3593 : 07-10-2013 at 22:36. |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|