Robot Main.vi

This VI imlements the framework and scheduler for your robotics program. It should not be necessary to modify the framework. You are expected to add your code to the VIs called from Robot Main, the ones located in the Team Code within the project.

Robot Main.vi

Robot Main.vi

Robot Main.vi

Robot Main.vi

Robot Main.vi

Robot Main.vi

Robot Main.vi

Robot Main.vi


Set Disk Piston.vi

Set Disk Piston.vi

Set Disk Piston.vi

Set Disk Piston.vi

Set Disk Piston.vi

Set Disk Piston.vi


Convert Joystick Throttle.vi

Convert Joystick Throttle.vi

Convert Joystick Throttle.vi

Convert Joystick Throttle.vi


Half Speed Converter.vi

Half Speed Converter.vi

Half Speed Converter.vi

Half Speed Converter.vi

Half Speed Converter.vi


Set Robot Drive.vi

Set Robot Drive.vi

Set Robot Drive.vi

Set Robot Drive.vi


Set Climb Piston.vi

Set Climb Piston.vi

Set Climb Piston.vi

Set Climb Piston.vi

Set Climb Piston.vi


Get Joystick type.vi

Get Joystick type.vi

Get Joystick type.vi

Get Joystick type.vi

Get Joystick type.vi

Get Joystick type.vi


Toggle Switch.vi

Toggle Switch.vi

Toggle Switch.vi

Toggle Switch.vi

Toggle Switch.vi


Finish.vi

This VI is called just before exiting. It is expected to close I/O refnum, save collected data, etc.

Finish.vi

Finish.vi


Set Shooter Wheel.vi

Set Shooter Wheel.vi

Set Shooter Wheel.vi

Set Shooter Wheel.vi

Set Shooter Wheel.vi


Disabled.vi

This VI is called each time a disabled packet is received from the DS. It is often used to prepare for the next robot mode, to calibrate sensors, etc.

Disabled.vi

Disabled.vi

Disabled.vi


Teleop.vi

This VI is called for each TeleOp packet received from the DS where the robot is not disabled. It is often used to read from the joysticks and update I/O or to update setpoints for timed control loops. It should complete and return within 20 milliseconds or it may miss DS packets.

Teleop.vi

Teleop.vi

Teleop.vi

Teleop.vi

Teleop.vi


Set Angle Motor.vi

Set Angle Motor.vi

Set Angle Motor.vi

Set Angle Motor.vi

Set Angle Motor.vi

Set Angle Motor.vi


Angle Aiming Mode.vi

Angle Aiming Mode.vi

Angle Aiming Mode.vi

Angle Aiming Mode.vi

Angle Aiming Mode.vi


Robot Global Data.vi

This global VI can contain as many global variables as you need. Place a control on the panel, give it a good name. To read or write to it from a VI, drag the icon to the diagram of that VI. You can also drag from the project. Click on the node to change which global you access. You shouldn't have multiple locations writing to a global or it will cause a race-condition.

Robot Global Data.vi

Robot Global Data.vi


Test.vi

This VI is called when test mode begins, and will automatically be terminated when it ends. You can add manual or automatic tests and invoke them from the dashboard.

Test.vi

Test.vi

Test.vi

Test.vi


Periodic Tasks.vi

This VI runs in parallel to other tasks. It can contain as many user-defined periodic loops as you need. These can carry out PID or other sorts of timed response.

Periodic Tasks.vi

Periodic Tasks.vi

Periodic Tasks.vi


Set Angle Preset 2.vi

Set Angle Preset 2.vi

Set Angle Preset 2.vi

Set Angle Preset 2.vi

Set Angle Preset 2.vi


Vision Processing.vi

This VI runs in parallel to other tasks. It gets images from the camera, processes them for color or shape and use that information to affect robot behavior.

Vision Processing.vi

Vision Processing.vi

Vision Processing.vi

Vision Processing.vi


Begin.vi

Called before other user functions, this VI is expected to open initial I/O refnums, load in file data, and do all program initialization. Notice that the error out terminal is simply used for data flow. Wiring it to other structures or subVIs ensures that this VI runs first.

Begin.vi

Begin.vi

Begin.vi


Set Angle With Pot Auto.vi

Set Angle With Pot Auto.vi

Set Angle With Pot Auto.vi

Set Angle With Pot Auto.vi

Set Angle With Pot Auto.vi


Autonomous Independent.vi

This VI is called when autonomous begins, and will automatically be terminated when autonomous ends. You can carry out timed or sensor driven robot movement independently without needing to return to the caller.

Autonomous Independent.vi

Autonomous Independent.vi

Autonomous Independent.vi