Robotics StackExchange | Archived questions

How to get GPS data from MTi-G-700 xsens driver over ROS

I am using an MTi-G-700 motion tracker from xsens. According to xsens website they point to this ROS driver for reading data. I followed the instructions on that link, however when using rostopic echo for the published topics, I only get readings from mti/sensor/imu and mti/sensor/magnetic while the other topics are not advertising any data. I am interested mostly in the GPS data which is probably advertised on the topic mti/sensor/gnssPvt

Is there something I am missing to get the GPS data ?

Note: I have also tried other drivers mtig_driver, ethzaslxsensdriver, lsexsensmti but I faced more problems with those.

Asked by Abdallah sobehy on 2016-05-09 05:06:16 UTC

Comments

Did you try to use this driver : http://wiki.ros.org/xsens_driver ?

Asked by moooeeeep on 2018-01-24 04:30:57 UTC

Hey, well I have same question! any news on this?

Asked by r.ghahremani on 2018-11-05 03:13:40 UTC

@r.gharemani I put some points to try into an answer. Maybe it helps...

Asked by moooeeeep on 2018-11-05 09:12:32 UTC

did you try "rosrun xsens_driver mtdevice.py -m 2 -f 100" then try "rostopic echo /mti/sensor/gnssPvt", you should see GPS data now (don't forget to get outside of building to have GPS signal :p ).

Asked by r.ghahremani on 2018-11-15 01:42:58 UTC

Answers

At least with the driver I previously used (this one), the GPS topics will not be published or even advertised when anything is wrong with the GPS signal or the device is just not configured to output GPS data. For example, you may want to try the the following things:

  • You need to plug in the GPS receiver.
  • You need to put the device outside (good satellite visibility for several minutes), such that the receiver can get a GPS fix.
  • You need to configure the device to produce GPS output, either using the Xsens MT SDK, or using the xsens_driver mtdevice.py:

Asked by moooeeeep on 2018-11-05 09:10:02 UTC

Comments

Just a minor correction: The configuration of the Xsens is done with the mtdevice.py script rather than mtnode.py

Asked by Carl D on 2018-11-05 12:15:25 UTC

@CarlD Thanks for the note!

Asked by moooeeeep on 2018-11-05 12:17:46 UTC