Giter Site home page Giter Site logo

hamza-sadruddin / xsens_mtw_driver-release Goto Github PK

View Code? Open in Web Editor NEW

This project forked from qleonardolp/xsens_mtw_driver-release

0.0 1.0 0.0 1.93 MB

The Xsens MTw sensors driver to manage the IMU data through ROS Kinetic nodes on Linux.

CMake 0.94% C 26.31% C++ 70.66% Objective-C 2.09%

xsens_mtw_driver-release's Introduction

Xsens MTw driver for ROS-Kinetic

This project contains a driver on which the Xsens MTw sensors send the data in topics published through a node managing the connection with the Awinda base (USB port). Development based on Xsens MTw SDK 4.6.

Hardware

  • The Xsens Hardware is an MTw Development Kit acquired between 2014-2016

Software

  • The driver is developed upon the Xsens SDK 4.6, with ROS Kinetic on Ubuntu 16.04 LTS

Usage

  • All dependencies (libraries, headers and sources files) are in this folder structure. The CMakeList.txt file is ready to use, contemplating the mininum XSens SDK reguired. Clone this repository into your catkin_ws/src and do catkin_make.

  • Connect the Awinda Station USB in your computer and run the MTw Driver node: $ rosrun xsens_mtw_drive mt_w_manager

  • Undock the MTW sensor and wait until the wireless connection being established:

[ INFO] [1565393292.619168658]: Waiting for MTW to wirelessly connect...
[ INFO] [1565393436.611962400]: EVENT: MTW Connected -> 00342322
[ INFO] [1565393436.615162761]: Number of connected MTWs: 1. Press 'y' to start measurement or 'q' to end node.

  • Each MTw sensor will connect at once. Remember, as described on the Xsens MTw User Manual:
MTw desiredUpdateRate (max)
1 150 Hz
2 120 Hz
4 100 Hz
6 75 Hz
12 50 Hz
18 40 Hz

Troubleshooting

If happen some problem with device access, follow the recommendations on the xsens_mti_driver page:

  • Make sure you are in the correct group:
$ ls -l /dev/ttyUSB0

crw-rw---- 1 root dialout 188, 0 May  6 16:21 /dev/ttyUSB0

$ groups

"username" adm cdrom sudo dip plugdev lpadmin sambashare
  • Add yourself to the group:
$ sudo usermod -G dialout -a $USER
$ newgrp dialout

License

  • BSD license

Contribute

I would like to enhance the driver performance for control porpuse (reduced latency, minimise reading errors ...). If you could contribute, keep in mind these goals:

  • Update messages type to sensor_msgs::Imu from now on;
  • Study the mastercallback, mtwcallback and the in-build ROS callbacks. Maybe using the own ROS callbacks we got some advantage;
  • Calibrate the sensors through in-build SDK methods or through statistical data analyzed from an rosbag;
  • Use ROS threaded spinning (or something to guarantee parallel readings from multiple MTw);

xsens_mtw_driver-release's People

Contributors

qleonardolp avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.