FIRST Robotics Competition Discussions

cancel
Showing results for 
Search instead for 
Did you mean: 

Switching between kinect code and teleop code at competition

Solved!
Go to solution

Hi I am wondering if when at competition is there a waiting period to switch between code for the kinect and the regular joystick control. If there is a way to do this in code without deploying a different code can someone link it or explain how to do it in labview?

0 Kudos
Message 1 of 3
(4,201 Views)
Solution
Accepted by topic author circlemonger

Hey,

Your code which uses the Kinect as a controller should be put into the Autonomous Independent VI. Your joystick code should be put into the Teleop VI. At competition which VI is being used to control the robot will switch based on input from the Field Control System. There is a pause between the two modes (mostly for scoring purposes) but you can't redeploy code or even touch your robot.  Post back if you have questions on this.

Kevin Fort
Principal Software Engineer
NI
0 Kudos
Message 2 of 3
(3,158 Views)

hey thx kevin i think i get it but i wont beable to test my code till tommorow hopefully cuz im at home sick today ftc got me sick

0 Kudos
Message 3 of 3
(3,158 Views)