Go to Post I'm missing JVN's build log this year ! - lynca [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 17-12-2010, 13:01
team3329 team3329 is offline
Registered User
None #3329
 
Join Date: Mar 2010
Location: Kingsland Ga
Posts: 34
team3329 is an unknown quantity at this point
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.
  #2   Spotlight this post!  
Unread 17-12-2010, 14:22
apalrd's Avatar
apalrd apalrd is offline
More Torque!
AKA: Andrew Palardy (Most people call me Palardy)
VRC #3333
Team Role: College Student
 
Join Date: Mar 2009
Rookie Year: 2009
Location: Auburn Hills, MI
Posts: 1,347
apalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond repute
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.
__________________
Kettering University - Computer Engineering
Kettering Motorsports
Williams International - Commercial Engines - Controls and Accessories
FRC 33 - The Killer Bees - 2009-2012 Student, 2013-2014 Advisor
VEX IQ 3333 - The Bumble Bees - 2014+ Mentor

"Sometimes, the elegant implementation is a function. Not a method. Not a class. Not a framework. Just a function." ~ John Carmack
  #3   Spotlight this post!  
Unread 17-12-2010, 14:24
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,113
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
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.
  #4   Spotlight this post!  
Unread 17-12-2010, 14:51
byteit101's Avatar
byteit101 byteit101 is offline
WPILib maintainer (WPI)
AKA: Patrick Plenefisch
no team (The Cat Attack (Formerly))
Team Role: Programmer
 
Join Date: Jan 2009
Rookie Year: 2009
Location: Worcester
Posts: 699
byteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of light
Re: Communication Between Driverstation and the Robot Main

Quote:
Originally Posted by apalrd View Post
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
__________________
Bubble Wrap: programmers rewards
Watchdog.Kill();
printf("Watchdog is Dead, Celebrate!");
How to make a self aware robot: while (∞) cout<<(sqrt(-∞)/-0);
Previously FRC 451 (The Cat Attack)
Now part of the class of 2016 at WPI & helping on WPILib
Closed Thread


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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Dashboard and Robot main with Axis camera Team2883 General Forum 9 10-01-2009 07:35
THe connection between the InviEW software and robot Spartan2432 FRC Control System 0 04-01-2009 13:25
Serial communication between RC's knine143 Programming 4 23-08-2008 23:36
FAHA: Communication between mentors Bharat Nain General Forum 5 01-01-2008 12:38
communication between the robot controller and the interface Shlomi32 General Forum 4 05-12-2005 16:53


All times are GMT -5. The time now is 23:08.

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