View unanswered posts | View active topics It is currently Tue Oct 20, 2020 12:03 am

Reply to topic  [ 3 posts ] 
Dual Control Programming help please! :? 
Author Message

Joined: Thu Oct 30, 2014 8:31 pm
Posts: 1
Post Dual Control Programming help please! :?
Does anyone know how to program dual controllers in RobotC? If so i'd greatly appreciate it :) Thank you

Thu Oct 30, 2014 9:52 pm

Joined: Thu Dec 01, 2011 12:07 am
Posts: 151
Post Re: Dual Control Programming help please! :?
Controller 1 & 2 are shown here:

Fri Oct 31, 2014 5:42 pm
Site Admin
Site Admin

Joined: Thu May 24, 2012 12:15 pm
Posts: 722
Post Re: Dual Control Programming help please! :?
In order to program the secondary (Partner) VEXNet joystick in ROBOTC, you simply need to add an 'Xmtr2' to the joystick channel or button name when accessing them in your code. For example:

//Main VEXNet Joystick Controller
motor[rightMotor]  = vexRT[Ch1];

//Partner VEXNet Joystick Controller
motor[rightMotor] = vexRT[Ch1Xmtr2];

As long as the Partner joystick is attached to the main VEXNet Joystick Controller properly (and the main VEXNet controller is connected to a Cortex via VEXNet or direct tether), this will allow you to control your program with a secondary joystick.

Check out our Blog! And our Facebook page!
Need help? Take a look at our updated help documentation and the ROBOTC Forums.

Wed Nov 05, 2014 11:18 am
Display posts from previous:  Sort by  
Reply to topic   [ 3 posts ] 

Who is online

Users browsing this forum: No registered users and 2 guests

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.