ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
2

how to visualize Xsense imu data

asked 2012-10-31 02:47:48 -0500

Zee-Q gravatar image

updated 2012-11-02 05:03:18 -0500

dornhege gravatar image

hi all,

i am using xsense imu and when running mtnode.py i can see the change in orientation values but no change in velocity and acceleration both remains zero if i move the imu. what would be done extra to see these values. Thanks

P.S i am using xsens_driver package from ethzasl_xsens_driver stack on ros electric.

edit retag flag offensive close merge delete

Comments

1

I would help to add the package link you are using as there are multiple xsens drivers available.

dornhege gravatar image dornhege  ( 2012-10-31 03:26:02 -0500 )edit
1

@dornhege i edited the question .

Zee-Q gravatar image Zee-Q  ( 2012-11-01 03:33:31 -0500 )edit

3 Answers

Sort by ยป oldest newest most voted
1

answered 2012-11-22 20:22:52 -0500

damonkohler gravatar image

It's possible that your IMU is not configured to output those values. Take a look at the --output-mode option to mtdevice.py.

edit flag offensive delete link more
1

answered 2014-03-28 20:29:49 -0500

sai gravatar image

Configuring xsens_driver for XSENS IMU in ROS Here I employ xsens MTI-G IMU which is orange in colour.

I am working in ROS FUERTE on ubuntu 12.04 using the xsens_driver package that ships in ethzasl_xsens_driver.

I tried to get all the relevant data from IMU namely orientation orientation covariance angular velocity angular velocity covariance linear acceleration linear acceleration covariance

Configuration steps

  1. Attach IMU via USB
  2. sudo chmod 777 /dev/ttyUSB0
  3. rosrun xsens_driver mtdevice.py --configure --output-mode=coapvs --output-settings=tqMAG

The above command should result in something like this Configuring mode and settings Ok

Running the driver

  1. roslaunch xsens_driver xsens_driver.launch

  2. rostopic echo /imu/data

Then it should display all the data from IMU

Good day!

edit flag offensive delete link more

Comments

Hi, I also use an xsens MTI-G 700 on ubuntu 12.04. I use the xsens_driver from the hydro debs and have the problem, that the configuration call "rosrun xsens_driver mtdevice.py --configure --output-mode=coapvs --output-settings=tqMAG" causes both the mtdevice.py as well as the node to fail have parsing problems: "MT error: could not parse MTData message" does anybody have an idea? both work fine when I use: rosrun xsens_driver "mtdevice.py -c -s 0x1 -m 0x4"

Georg gravatar image Georg  ( 2014-04-30 04:27:56 -0500 )edit
1

answered 2018-03-06 11:03:13 -0500

Iuri07 gravatar image

To anyone with the same problem. I was able to make it work by using "rosrun xsens_driver mtdevice.py -l --output-mode=coapvs --output-settings=tqMAG". -l is a flag for legacy configuration.

edit flag offensive delete link more

Question Tools

Stats

Asked: 2012-10-31 02:47:48 -0500

Seen: 2,073 times

Last updated: Mar 28 '14