Skip to content

Modules Reference: Ins (Driver)

MicroStrain

Source: drivers/ins/microstrain

Description

MicroStrain by HBK Inertial Sensor Driver. Currently supports the following sensors:

-CV7-AR -CV7-AHRS -CV7-INS -CV7-GNSS/INS

This driver is not included in the firmware by default. Include the module in firmware by setting the kconfig variables: CONFIG_DRIVERS_INS_MICROSTRAIN or CONFIG_COMMON_INS.

Examples

Attempt to start driver on a specified serial device. The driver will choose /dev/ttyS4 by default if no port is specified

microstrain start -d /dev/ttyS1

Stop driver

microstrain stop

Usage

MicroStrain <command> [arguments...]
 Commands:
   start         Start driver
     [-d <val>]  Port
                 values: <file:dev>, default: /dev/ttyS4

   stop          Stop driver

   status        Driver status

ilabs

Source: drivers/ins/ilabs

Description

Serial bus driver for the ILabs sensors.

Most boards are configured to enable/start the driver on a specified UART using the SENS_ILABS_CFG. After that you can use the ILABS_MODE parameter to config outputs:

  • Only raw sensor output (the default).
  • Sensor output and INS data such as position and velocity estimates.

Setup/usage information: https://docs.px4.io/main/en/sensor/inertiallabs.html

Examples

Attempt to start driver on a specified serial device.

ilabs start -d /dev/ttyS1

Stop driver

ilabs stop

Usage

ilabs <command> [arguments...]
 Commands:
   start         Start driver
     -d <val>    Serial device

   status        Driver status

   stop          Stop driver

   status        Print driver status

vectornav

Source: drivers/ins/vectornav

Description

Serial bus driver for the VectorNav VN-100, VN-200, VN-300.

Most boards are configured to enable/start the driver on a specified UART using the SENS_VN_CFG parameter.

Setup/usage information: https://docs.px4.io/main/en/sensor/vectornav.html

Examples

Attempt to start driver on a specified serial device.

vectornav start -d /dev/ttyS1

Stop driver

vectornav stop

Usage

vectornav <command> [arguments...]
 Commands:
   start         Start driver
     -d <val>    Serial device

   status        Driver status

   stop          Stop driver

   status        Print driver status