Configure a VectorNav IMU
An inertial measurement unit (IMU) provides data for the AngularVelocity
, Orientation
, CompassHeading
, and LinearAcceleration
methods.
Acceleration and magnetometer data are available by using the sensor GetReadings
method, which IMUs wrap.
The imu-vectornav
movement sensor model supports IMUs manufactured by VectorNav that support SPI connection.
Attributes
Name | Type | Inclusion | Description |
---|---|---|---|
board | string | Required | The name of the board to which the device is wired. |
spi | string | The name of the SPI bus over which the device communicates with the board. | |
chip_select_pin | string | Required | The (pin number) of the pin on the board (other than the SPI bus pins) connected to the IMU chip. Used to tell the chip whether the current SPI message is meant for it or for another device. |
spi_baud_rate | int | Required | The rate at which data is sent from the IMU. Default: 115200 |
polling_frequency_hz | int | Required | How many times per second the sensor is polled. |
Have questions, or want to meet other people working on robots? Join our Community Discord.
Was this page helpful?
Glad to hear it! If there is anything we could be doing better, please create an issue.
We're sorry about that. If you'd like to talk to us for help, please join the Community Discord. To ensure we know what's wrong with this page, you can also open an issue.