|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||
|
|||
|
Re: [FTC]: Robot C
Our Team is new to FTC and RobotC. We are trying to build programs that will allow us to use the joysticks with our robot. Would anyone be willing to share a complete program (rather than program segments that don't explain where the code goes) that would allow joystick 1 to control motorD and Joystick 2 to control motorE?
You can email me off line at bhenze@sapulpaps.org Thanks |
|
#2
|
|||||
|
|||||
|
Re: [FTC]: Robot C
here you go
![]() Make sure your RobotC is set to NXT and TETRIX mode and also go to motor and sensors setup and configure you motors to how you have them set up. #include "joystickdriver.c" task main () { { getJoystickSettings(joystick); motor[motorD] = joystick.joy1_y1; motor[motorE] = joystick.joy1_y2; } } |
|
#3
|
|||
|
|||
|
Re: [FTC]: Robot C
Quote:
![]() |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| [FTC]: Power Surge Robot | Nitro-Guy | FIRST Tech Challenge | 7 | 21-05-2009 10:30 |
| [FTC]: FTC Futures Forum at FTC World Championship | gdo | FIRST Tech Challenge | 0 | 08-04-2009 18:46 |
| [FTC]: FTC]: FTC Champ Tournament - Ontario (Scoring Breakdown) | Mr. Lim | FIRST Tech Challenge | 2 | 03-03-2008 11:54 |
| pic: FTC #3 robot design | Techno-Turkey | Extra Discussion | 5 | 06-02-2008 08:07 |
| [FTC]: [FTC]: Ontario Provincial FTC Start/End Times | cbhl | FIRST Tech Challenge | 8 | 16-12-2007 13:37 |