xsens / xsens_mti_ros_node

ROS node driver for Xsens devices.
83 stars 49 forks source link

Notice: This ROS node implementation is deprecated. Please use the new offical ROS node available as part of the Xsens MT Software Suite (version 2019.0 and later). For more information refer to http://wiki.ros.org/xsens_mti_driver

Prerequisites

Running the Xsens MTi ROS Node

  1. Copy the contents of the src folder into your catkin workspace 'src' folder. Make sure the permissions are set to o+rw on your files and directories. For details on creating a catkin workspace environment refer to Creating a catkin ws

  2. in your catkin_ws ($CATKIN) folder, execute

    $ catkin_make
  3. Source the environment for each terminal you work in. If necessary, add the line to your .bashrc

    . $CATKIN/devel/setup.bash
  4. Edit the config file to match your specific use case:

    rosed xsens_driver xsens.yaml
  5. To run the node

    $ roslaunch xsens_driver xsens.launch
  6. Open a new terminal (do not forget step 3)

    $ . $CATKIN/devel/setup.bash
    $ rostopic echo /mti/sensor/sample

    or

    $ . $CATKIN/devel/setup.bash
    $ rostopic echo /mti/filter/orientation

    Tested with ROS Kinetic distribution, initially developed for ROS Indigo distribution.

Troubleshooting