![]() |
Can't see any values on dashboard
I can download code, and it runs no problem, but I cannot get the dashboard to show any response what so every. The PWM values don't change when the motors are running, the gyro I hooked up showed no change on the analogue bumper. Is there something I have to do beyond feeding watchdog and checking the module?
|
Re: Can't see any values on dashboard
You didn't mention the compass, so you appear to have the preloaded dashboard, not the updated one. The Driver Station update doesn't do a good job of replacing some files, and the dashboard is one of them.
Run the Driver Station update twice. The first time, tell it to uninstall. The second time, install normally. Then things should work as intended. |
Re: Can't see any values on dashboard
If you are using C++, the default Dashboard that comes on the Classmate driver station does not get updated automatically. Your program has to specifically prepare and send data to it.
See the example 2010 Vision Demo program, and study in particular how the dashboard data is packed into data "clusters" and sent to the driver's station for display on the dashboard. It sends data in two clusters: vision data, and I/O data. With some more work, you can modify the structure of these data clusters and the dashboard program in order to display your own set of custom data. HTH. |
Re: Can't see any values on dashboard
We also had this problem and learned the hard way that the code in the Dashboard examples has the code commented out that will update the dashboard with the cRIO data. You will need to uncomment that code before you get any data after you take the advice from the post above.
|
Re: Can't see any values on dashboard
Hello, I am also having a hard time getting our Dashboard to display this data, even adding the code that supposedly does this. I am pretty new to programming for in C++ and for FRC, although I am somewhat familiar with programing practices in general, such and calling classes and the like.
We want to return PWM values but also Sensor values such as encoders and others. The only data that the dashboard returns for us is the battery voltage. |
Re: Can't see any values on dashboard
Quote:
Are you modifying the Dashboard application? Have you removed all of the unused data fields and added the ones you are interested in? Remember that the data format must match on the robot and in the dashboard or the dashboard will fail to unflatten the string. |
Re: Can't see any values on dashboard
Quote:
I am working with the default code SimpleTemplate except that it has been switched for Tank Drive, the amount of time moving forward in Autonomous has been changed, and I have declared and initalized the Encoders and #include "DashboardDataFormat.h" . There has been no change to the DashboardDataFormat.h or .cpp, and yes I have copied them into the directory of the project. Also, I just mentioned the battery voltage because I have read posts about teams not receiving this reading. |
Re: Can't see any values on dashboard
Quote:
Quote:
Quote:
Quote:
Start simple. Remove everything from the dashboard data on both the robot and on the dashboard. Add one INT32 to the robot code and to the dashboard... make sure that works, then add in any other data you want to display on the dashboard. |
Re: Can't see any values on dashboard
Quote:
Quote:
Quote:
|
Re: Can't see any values on dashboard
Quote:
Quote:
|
Re: Can't see any values on dashboard
Quote:
|
Re: Can't see any values on dashboard
Quote:
Code:
double position4x, position2x, position1x;-Joe |
| All times are GMT -5. The time now is 12:36. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi