Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Programming (http://www.chiefdelphi.com/forums/forumdisplay.php?f=51)
-   -   DriverStationLCD class missing in new WPILib (http://www.chiefdelphi.com/forums/showthread.php?t=132194)

Walter Deitzler 05-01-2015 21:31

DriverStationLCD class missing in new WPILib
 
For whatever reason, DriverStationLCD.h is not in the new set of includes that we got for eclipse in C++. Is there some other system that will be used instead? Has anyone heard anything on the subject of the lcd, or on changes to WPILib?

Arhowk 05-01-2015 21:36

Re: DriverStationLCD class missing in new WPILib
 
https://wpilib.screenstepslive.com/s...e-2014-to-2015 - explanation
https://wpilib.screenstepslive.com/s...anual-id=24192 - usage

Ben Wolsieffer 05-01-2015 21:38

Re: DriverStationLCD class missing in new WPILib
 
Its not included because there is no such display on the new driver station. The porting guide suggests using the control on the LabView dashboard. Search for "DS User Messages" on that page for more information.

BradAMiller 05-01-2015 22:22

Re: DriverStationLCD class missing in new WPILib
 
The other thing you can do is use the SmartDashboard class as shown in this section of the documentation: https://wpilib.screenstepslive.com/s.../26401/c/92705

The SmartDashboard lets you display any values anywhere on the screen with full annotation and in various formats.

heydowns 05-01-2015 23:56

Re: DriverStationLCD class missing in new WPILib
 
If you want an API-compatible version that uses the new Dashboard as alluded to above, you can feel free to grab the DriverStationLCD.cpp/.h from http://svn.penfieldrobotics.com/gitw...c/util;hb=HEAD

We used it during beta to port-forward our existing code.

Greg McKaskle 06-01-2015 08:02

Re: DriverStationLCD class missing in new WPILib
 
For backstory. We considered keeping the LCD APIs and making them use the DB instead, but after discussing it, we felt that would just obscure the choices teams have.

The old API wasn't really that simple or complete. So teams are welcome to abstract the DB variables however they like, and they can of course customize the DB to have a tree control if they want. We felt that writing to or reading from variables was simpler, especially to new teams.

Greg McKaskle


All times are GMT -5. The time now is 02:39.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi