A collection of LabVIEW VIs for FRC
A boolean set motor controller for moving a motor forwards or backwards tp a selected speed.
Sets a motor speed in the range [-1,1].
Sets a reley in three states forwards, reverse and off.
Toggles a solenid to two states on off.
Converts a joystick axis range from [-1,1] to [0,1].
Writes joystick values to a the dashboard.
Converts code to use both the Logitech Extreme 3D Pro Joystick and the Logitech Attack 3 Joystick.
Converts a robot motor speed range from [-1,1] to [-.5,.5].
Sends values from the joystick to the dashboard.
Converts a boolean running in a loop to a toggle switch. ####DualMotorSpeed.vi Controls motor speed for two motors from joystick throttle and forward and reverse. ####Compresser OnOff.vi Turns a compresser on and off from two buttons on the joystick.
Returns if the robot needs to have less power for use at demos.
Returns the joystick type being used on the drive station computer.
Returns the control sensitivity setting that is set from the dashboard.
A basic auto that drives forward and stops.
Returns the motor references of a 4 motor drive.
Drives the robot based on a set distance or rotation.
Sets x and y axis of arcade robot drive.
Converts a desired turn amount in degrees based on robot dimensions to wheel rotations.
Checks voltage of the PDV, roboRIO and all CAN Talon motor controllers. If the voltage on any of these it too low a dashboard message "Voltage Alerts" is sent.
Checks voltage of a CAN Talon motor controller and returns a string error if the voltage is below 10 volts.
Handles a rotational encoder attached to a wheel and returns wheel direction, distance, velocity, state and angle.
Stops motor based on hitting an upper and lower limit.