Go to Post The world has never seen a group of people who have taken such interest and delight in being rickrolled. - StevenB [more]
Home
Go Back   Chief Delphi > Technical > Programming > C/C++
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Spotlight this post!  
Unread 22-04-2012, 17:03
trilogy2826's Avatar
trilogy2826 trilogy2826 is offline
Mentor - 2826
AKA: Jake Fischer
FRC #2826 (Wave Robotics)
Team Role: Mentor
 
Join Date: Nov 2008
Rookie Year: 2006
Location: Oshkosh, WI
Posts: 113
trilogy2826 has a reputation beyond reputetrilogy2826 has a reputation beyond reputetrilogy2826 has a reputation beyond reputetrilogy2826 has a reputation beyond reputetrilogy2826 has a reputation beyond reputetrilogy2826 has a reputation beyond reputetrilogy2826 has a reputation beyond reputetrilogy2826 has a reputation beyond reputetrilogy2826 has a reputation beyond reputetrilogy2826 has a reputation beyond reputetrilogy2826 has a reputation beyond repute
Update Dashboard data prior to match start

Our team is new to the usage of C++ this year and so far it has been a very pleasant switch from LV. One of the things that we never had working properly (due to low priority) was the ability to send data to the driver station while not in isAutonomous or isOperatorControl. The desire is to get feedback for data such as air pressure from a transducer on an analog channel or amount of shoot delay from a potentiometer connected to the Cypress IO board before the match begins.

Once in either of these modes, data sent to the DS using DriverStation::GetInstance() -> GetLowPriorityDashboardPacker() (as outlined in the WPI example), then adding the data to a cluster is clean and consistent.

When using LabView this was easily accomplished using the PeriodTasks vi wrapper, and I can only imagine there is a similar structure and/or capability in C++. This request is mainly due to the lack in understanding on the C++ class and call structures in FRC.

For reference, we are using the standard LabView based dashboard. Any help on where to place these calls to send data while in would be greatly appreciated.
Reply With Quote
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 17:41.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


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