Download
teleop template n.
Skip this Video
Loading SlideShow in 5 Seconds..
Teleop Template PowerPoint Presentation
Download Presentation
Teleop Template

Teleop Template

141 Views Download Presentation
Download Presentation

Teleop Template

- - - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - - -
Presentation Transcript

  1. Teleop Template Building a Control Program for Your Robot

  2. FTC Teleop Basic.vi • Control Robot Movements with Game Controller • Can Modify Basic Template to add advanced control movements …\National Instruments\LabVIEW 2009\examples\FTC Toolkit\Templates

  3. Communication with FCS • FTC Read Latest Packet • FTC Robot Status

  4. Command Code No Command is Sent or Disable sent Robot is Online/Offline Command is Sent and Enable is sent Initialize Controller Variables Send Command to Driving Loop

  5. TETRIX Motor Configurator • Creates and edits controls specifying the names and configurations of the motors and servos on the robot • Reuse controls while developing VIs • Tools»NXTTools»TETRIX Motor Configurator

  6. Things to consider • Use the FTC Read Buttons.vi to add additional options or movements to your robot (i.e. change the motor speed calculation for more precise movements) • The Motor Configurator Controls can be found in the NXT Robotics»TETRIX»Motor Configurations palette.

  7. Exercise: Teleop Mode • Goal: Create new controls with the TETRIX Motor Configurator and add them to the Teleop Basic Template to test your robot. • Use the FTC Controller Station to connect to your robot. • Open C:\Program Files\National Instruments\LabVIEW 2009\examples\FTC Toolkit\Templates\FTCTeleopBasic.vi

  8. Creating the Motor Configuration • Delete the existing Motor Configurations Control. • Use the TETRIX Motor Configurator to create a new motor control • Add the control to your block diagram and rewire the VI

  9. Solution: Tetrix Motor Configurator

  10. Solution: Adding the Control