|
|
|
![]() |
|
||||||||||||||
|
|||||||||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#1
|
||||
|
||||
|
Dashboard indicators
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. |
|
#2
|
|||
|
|||
|
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 |
|
#3
|
||||||
|
||||||
|
Re: Dashboard indicators
Have you looked at the Circle Tracker Demo project?
|
|
#4
|
||||
|
||||
|
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. |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| [Poll] Does your launcher use "armed" indicators? | Ricksta | General Forum | 13 | 02-26-2008 08:39 PM |
| Labview Dashboard and updated IFI dashboard spec | Joe Ross | LabView and Data Acquisition | 1 | 04-04-2006 01:04 AM |
| 2004 Dashboard Protocal vs 2005 Dashboard Protocal | Kyle T | Programming | 4 | 03-14-2005 09:19 PM |
| Pneumatics Limit Indicators | yaman | Programming | 5 | 02-03-2003 12:54 AM |
| Indicators | archiver | 2001 | 1 | 06-23-2002 11:03 PM |