ArgosLib.lvlib:RobotDriveOpen6MotorWithTalonSRX.vi

Opens a reference to the robot drive for a two-, four-, or six-motor robot using Talon SR motor controllers connected via CAN bus.

For 2-motor drive, connect Left Motor 1 and Right Motor 1.

For 4-motor drive, connect Left Motor 2 and Right Motor 2 in addition to the 2-motor drive connections.

For 6-motor drive, connect Left Motor 3 and Right Motor 3 in addition to the 4-motor drive connections.

Inversions are optional and are set to false if disconnected.

This software is licensed. Open the labview\readme\WPI Robotics Library Open Source License.txt file for more information.


Connector Pane

ArgosLib.lvlib:RobotDriveOpen6MotorWithTalonSRX.vi


Front Panel

ArgosLib.lvlib:RobotDriveOpen6MotorWithTalonSRX.vi


Controls and Indicators

cbool

Left Motor 1 Inverted

Rear Left Motor Inverted specifies the direction in which the rear left motor moves. When Rear Left Motor Inverted is FALSE, the rear left motor moves forward. When Rear Left Motor Inverted is TRUE, the rear left motor moves in reverse.

cbool

Right Motor 1 Inverted

Rear Right Motor Inverted specifies the direction in which the rear right motor moves. When Rear Right Motor Inverted is FALSE, the rear right motor moves forward. When Rear Right Motor Inverted is TRUE, the rear right motor moves in reverse.

cbool

Left Motor 2 Inverted

Front Left Motor Inverted sets the direction in which the front left motor runs. Front Left Motor Inverted specifies FALSE for forward and TRUE for reverse.

cbool

Right Motor 2 Inverted

Front Right Motor Inverted sets the direction in which the front right motor runs. Front Right Motor Inverted specifies FALSE for forward and TRUE for reverse.

cerrcodeclst

error in (no error)

error in (no error) describes error conditions that occur before this node runs. The default is no error. If an error occurred before this node runs, the node passes the error in (no error) value to error out. This node runs normally only if no error occurred before this node runs. If an error occurs while this node runs, it runs normally and sets its own error status in error out. Use the Simple Error Handler or General Error Handler VIs to display the description of the error code. Use exception control to treat what is normally an error as no error or to treat a warning as an error. Use error in (no error) and error out to check errors and to specify execution order by wiring error out from one node to error in (no error) of the next node.

cbool

Left Motor 3 Inverted

Front Left Motor Inverted sets the direction in which the front left motor runs. Front Left Motor Inverted specifies FALSE for forward and TRUE for reverse.

cbool

Right Motor 3 Inverted

Front Right Motor Inverted sets the direction in which the front right motor runs. Front Right Motor Inverted specifies FALSE for forward and TRUE for reverse.

cu8

Left Motor 1

cu8

Right Motor 1

cu8

Left Motor 2

cu8

Right Motor 2

cu8

Left Motor 3

cu8

Right Motor 3

icclst

RobotDriveDevRef

RobotDriveDevRef returns a reference to the robot drive you want to use.

ierrcodeclst

error out

error out contains error information. If error in indicates that an error occurred before this VI or function ran, error out contains the same error information. Otherwise, it describes the error status that this VI or function produces. Right-click the error out front panel indicator and select Explain Error from the shortcut menu for more information about the error.


Block Diagram

ArgosLib.lvlib:RobotDriveOpen6MotorWithTalonSRX.vi

ArgosLib.lvlib:RobotDriveOpen6MotorWithTalonSRX.vi

ArgosLib.lvlib:RobotDriveOpen6MotorWithTalonSRX.vi

ArgosLib.lvlib:RobotDriveOpen6MotorWithTalonSRX.vi


List of SubVIs and Express VIs with Configuration Information


VI Revision History

"ArgosLib.lvlib:RobotDriveOpen6MotorWithTalonSRX.vi History"

Current Revision: 94


Position in Hierarchy

ArgosLib.lvlib:RobotDriveOpen6MotorWithTalonSRX.vi


Iconified Cluster Constants