Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Programming (http://www.chiefdelphi.com/forums/forumdisplay.php?f=51)
-   -   Communication Between Driverstation and the Robot Main (http://www.chiefdelphi.com/forums/showthread.php?t=87985)

team3329 17-12-2010 13:01

Communication Between Driverstation and the Robot Main
 
Hey does anyone know how i can us a boolean controll on the dashboard to set a certain value on the deployed robot code? Im using labview.

apalrd 17-12-2010 14:22

Re: Communication Between Driverstation and the Robot Main
 
Simple answer: It is very difficult. This would require you to write a TCP communication system, to send that bit of data.

Somewhat helpful answer: You can use the Virtual IO if you aren't using the Cypress board.

Alan Anderson 17-12-2010 14:24

Re: Communication Between Driverstation and the Robot Main
 
The Dashboard is for display only. It can show you what the robot is sending, but it can't do anything to change what the robot is receiving.

If you want to change a boolean value during development, you can put a control on the Robot Main front panel, then simply run Robot Main instead of building and deploying it. Part of the build process strips the front panel from the VI, so you won't be able to do that during competition.

If you want to change a boolean value using code you've set to run as startup, you have two options. Either use a physical control on a USB-connected device (joystick, gamepad, or Cypress I/O module), or use one of the emulated Cypress switch inputs in the Driver Station application.

byteit101 17-12-2010 14:51

Re: Communication Between Driverstation and the Robot Main
 
Quote:

Originally Posted by apalrd (Post 986231)
Simple answer: It is very difficult. This would require you to write a TCP communication system, to send that bit of data.

...A TCP communication like the ZomB Dashboard! Alpha 5 has support for sending stuff back to the robot. (C++ only at the moment, I'm currently in the process of making java and Labview bindings). Is it competition legal? possibly, the GDC last year said yes and no, but it is definitely legal for dev use.

First forge site: http://firstforge.wpi.edu/sf/projects/zombdashboard


All times are GMT -5. The time now is 03:24.

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