xsens-mti-lib

command module
v0.0.0-...-3221ee7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 29, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

README

Xsens MTi Library

Library and utilities for connecting to Xsens MTi series IMUs.

Steps to compile in canon:

sudo apt install -y swig
make clean sdk swig build

(you can just run make build after the first time)

Steps to run:

./bin/xsens-mti-lib

Configuration

Make sure your serial number in your config attributes matches the serial number on the IMU Configure a local module on your robot with the path to the run.sh in the modules section of the configuration builder.

{
"components":
    {
    "model" "viam:sensor:mti-xsens-200",
    "name": "nameItSomething",
    "namespace": "rdk",
    "type": "movement_sensor"
    "attributes" : {
      "serial_path*": "/dev/somethingorother",
      "serial_baud_rate": int, // optional
      "serial_number": "string" // important, check the serial number on the PHYSICAL device and input it here.
      }
    }
  ],
  "modules": [
    {
      "name": "xsens",
      "executable_path": "/path/to/run.sh",
      "type": "local"
    }
}

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
gen

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL