![]() |
Dashboard indicators
1 Attachment(s)
I know this might be a stupid question, but how do you use the various displays on the dashboard? How do you make the gyro update the compass heading, for example? I can get the camera feed, but nothing else.
BTW, I'm using Java on NetBeans 6.8. Attached is a photo indicating which portions aren't working. |
Re: Dashboard indicators
The dashboard is tied to robot I/O. The sample code assumes that you've mounted the gyro and attached it to channel one on module one.
Greg McKaskle |
Re: Dashboard indicators
Have you looked at the Circle Tracker Demo project?
|
Re: Dashboard indicators
You also need to be careful and check that the code which polls the various other devices on the cRio like the PWM's, digital I/O and analog I/O are not commented out.
I don't know if java is the same but when I was working this issue with C++, most of the code that would actually make the dashboard read the cRIO positions was commented out for us and replaced with arbitrary constants. |
| All times are GMT -5. The time now is 02:01. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi