Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Programming (http://www.chiefdelphi.com/forums/forumdisplay.php?f=51)
-   -   Dashboard indicators (http://www.chiefdelphi.com/forums/showthread.php?t=81116)

ideasrule 25-01-2010 18:27

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.

Greg McKaskle 25-01-2010 22:27

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

Joe Ross 25-01-2010 23:26

Re: Dashboard indicators
 
Have you looked at the Circle Tracker Demo project?

sircedric4 26-01-2010 06:53

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