IMU / NavX

Handles the IMU data from the internal NavX of the VMX.

../../../../../_images/imu-1.png
Description of IMU

vi

Attributes

IMU

IMU initialization

Read

IMU reading

Reset Yaw

IMU reset

IMU

../../../../../_images/imu-2.png

Is a class that contains the code for reading the imu data on the VMX. Has only a HG_LIB output.

Read

../../../../../_images/imu-3.png

A vi that allows for reading of the imu data on the port specified by the Create ID vi.

Inputs and Outputs

Name

I/O

Attribute

IMU in

Input

The input cluster from Create ID

Initialize? (F)

Input

Initialize the imu or not, default false

error in (no error)

Input

The error input cluster

Pulse out

Output

The output cluster to go to Delete ID

IMU

Output

The output cluster with YAW, PITCH, ROLL

YAW(rad)

Output

The YAW value in radians

error out

Output

The error output cluster

Reset Yaw

../../../../../_images/imu-4.png

A vi that allows for resetting of the imu data on the port specified by the Create ID vi.

Inputs and Outputs

Name

I/O

Attribute

IMU in

Input

The input cluster from Create ID

error in (no error)

Input

The error input cluster

IMU out

Output

The output cluster to go to Delete ID

error out

Output

The error output cluster

IMU Read Example

This example shows the reading of the imu data.

../../../../../_images/imu-read-example.png

IMU Reset Example

This example shows the resetting of the imu data.

../../../../../_images/imu-reset-example.png