Teleop Template
Teleop Template. Building a Control Program for Your Robot. FTC Teleop Basic.vi. Control Robot Movements with Game Controller Can Modify Basic Template to add advanced control movements. …National InstrumentsLabVIEW 2009examplesFTC ToolkitTemplates. Communication with FCS.
Teleop Template
E N D
Presentation Transcript
Teleop Template Building a Control Program for Your Robot
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
Communication with FCS • FTC Read Latest Packet • FTC Robot Status
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
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
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.
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
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