Get Velocity from Wheels VI
- Updated2023-02-21
- 8 minute(s) read
Get Velocity from Wheels VI
Owning Palette: Steering VIs
Requires: Robotics Module
Calculates the steering frame velocity or arc velocity required to best satisfy the state of each wheel. You can read data for each wheel from wheel motors or specify the wheel data manually. You must manually select the polymorphic instance to use.
Get Steering Frame Velocity from Wheels
![]() |
wheel indexes specifies the indexes of the wheels on which to operate, where 0 corresponds to the first wheel you added to the steering frame, 1 corresponds to the second wheel, and so on. | ||||||||||
![]() |
get motor data determines whether this VI reads wheel information from motors configured for individual wheels. The default is FALSE, which means you must specify acquired wheel states. | ||||||||||
![]() |
steering frame in is a reference to the steering frame on which to operate. Use the Create Steering Frame VI to generate this LabVIEW class object. | ||||||||||
![]() |
acquired wheel states is an array of clusters that define the condition of each wheel on the steering frame. If get motor data is TRUE, LabVIEW ignores acquired wheel states and reads wheel information from motors. If get motor data is FALSE and you do not specify values for acquired wheel states, LabVIEW returns default values in wheel states.
| ||||||||||
![]() |
error in describes error conditions that occur before this node runs. This input provides standard error in functionality. | ||||||||||
![]() |
steering frame out is a reference to the steering frame. You can wire this output to other Steering VIs. | ||||||||||
![]() |
estimated steering frame velocity contains a calculation of velocity of the steering frame in the form of [x_dot, y_dot, theta_dot] where x_dot is the velocity in the lateral, or right, direction, y_dot is the velocity in the forward direction, and theta_dot is angular velocity in the counterclockwise direction. | ||||||||||
![]() |
wheel states is an array of clusters that define the state of each wheel on the steering frame. If get motor data is TRUE, LabVIEW returns wheel data from wheel motors. Otherwise, LabVIEW returns the values in acquired wheel states.
| ||||||||||
![]() |
error out contains error information. This output provides standard error out functionality. |
Get Arc Velocity from Wheels
![]() |
wheel indexes specifies the indexes of the wheels on which to operate, where 0 corresponds to the first wheel you added to the steering frame, 1 corresponds to the second wheel, and so on. | ||||||||||
![]() |
get motor data determines whether this VI reads wheel information from motors configured for individual wheels. The default is FALSE, which means you must specify acquired wheel states. | ||||||||||
![]() |
steering frame in is a reference to the steering frame on which to operate. Use the Create Steering Frame VI to generate this LabVIEW class object. | ||||||||||
![]() |
acquired wheel states is an array of clusters that define the condition of each wheel on the steering frame. If get motor data is TRUE, LabVIEW ignores acquired wheel states and reads wheel information from motors. If get motor data is FALSE and you do not specify values for acquired wheel states, LabVIEW returns default values in wheel states.
| ||||||||||
![]() |
error in describes error conditions that occur before this node runs. This input provides standard error in functionality. | ||||||||||
![]() |
steering frame out is a reference to the steering frame. You can wire this output to other Steering VIs. | ||||||||||
![]() |
estimated arc velocity is a cluster that contains the following elements.
| ||||||||||
![]() |
wheel states is an array of clusters that define the state of each wheel on the steering frame. If get motor data is TRUE, LabVIEW returns wheel data from wheel motors. Otherwise, LabVIEW returns the values in acquired wheel states.
| ||||||||||
![]() |
error out contains error information. This output provides standard error out functionality. |