|
|
|
![]() |
|
|||||||
|
||||||||
|
|
Thread Tools | Rate Thread | Display Modes |
|
#1
|
||||
|
||||
|
ROBOTC and the VEXnet Joystick
Hi, i am teaching a class this summer to a group of junior high school students about robotics. For the class we purchased 6 new Vex robot starter kits with the cortex microcomputer and the vex-net joystick. I am brand new to vex robots and robotc but i am having a great experience with it. The problem i have now is that i cannot find the proper notation for accessing button presses in ROBOTC. This is the code i am using right now
task usercontrol() { // User control code here, inside the loop while (true) { motor[Left1] = vexRT[Ch3]; motor[Right1] = vexRT[Ch2]; motor[Arm1] = vexRT[ ???]; } } what i would like to do is define the motor[Arm1] to run off of button presses. I cannot find a chart showing the correct vexRT channels for the new vexNet joystick. does anyone have these? |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Using the same Jaguar/Controller for Joystick and buttons.... | mck567 | NI LabVIEW | 2 | 09-02-2010 16:34 |
| Joystick Read VI and Passing Variables to the Control | Stealth | NI LabVIEW | 3 | 24-01-2010 12:59 |
| [FTC]: RobotC and NXT-G (The two programming languages) | craig_yates | FIRST Tech Challenge | 1 | 30-01-2009 21:47 |
| RobotC and Quad Encoders | KevinReid | Programming | 6 | 03-04-2008 22:00 |
| Congrats to the Robotc Knights! | MattB703 | Thanks and/or Congrats | 0 | 18-03-2002 15:07 |