FIRST Tech Challenge Discussions

cancel
Showing results for 
Search instead for 
Did you mean: 

Modifying the FTC TeleopFull.vi (Archived)

Update: This discussion applies to Issues from the 2010 FTC season and is no longer relevant for current FTC competition software. In LabVIEW for LEGO MINDSTORMS you can use the remote control editor to autonmaticaly create your teleop VI.


At first we dicided to use the FTC Basic, but it seemed more plausible to use the TeleopFull. Now I need to modify it to make an additional tetrix motor move and a servo. the motor configuations for the drive are the same for our robot. For the servo configuration, im only using one  servo motor. How do i make that move? Do i just put a move servo in the true case loop for button 5? Or do i need to make a new configuration for our servo?

And for the tetrix motor, im having trouble figuring out how that can move using the other joystick since we are using arcade drive. do i put the config outside the loop or on the inside?

and how would i wire that to the joystick.

is there any examples or documents that i can look at?

I would really appreciate help, our competition is this saturday. If i need to justify more, please let me know

By the way, I am the student programmer.

0 Kudos
Message 1 of 4
(4,365 Views)

I took a look at the examples that you are referring to, and it looks like you are on the right path.  You will use the TETRIX Configurator to create a new reference to that motor.  You will place this outside the loop with the rest of the configurations.  Then inside the True case of the case structure you will place the action for button 5.  There is already a Read FTC Controller.vi in the code for you.  Here you will notice that there is x and y axis as well as x axis 2 and y axis 2.  You should be able to use these to use the other joystick.  I hope that you find this helpful.

Brandon T.

National Instruments

Message 2 of 4
(3,090 Views)

the wire is still broken where the array is connected to the power terminal of the tetrix move when we tried to connect the motor configuration to the tetrix move block.

what to do?

0 Kudos
Message 3 of 4
(3,090 Views)

Can you post a screen shot of the code that you are working on and the broken wire.  That will be very helpful in determining what is happening.

Brandon T.

National Instruments

0 Kudos
Message 4 of 4
(3,090 Views)