Problem with xsens_driver ubuntu 14.04

asked 2016-04-14 16:33:43 -0600

roberth3393 gravatar image

updated 2016-04-15 02:38:14 -0600

gvdhoorn gravatar image

Hello,

I am working with an MT development kit on ubuntu 14.04, I'm trying to use the xsens driver for ROS indigo but when I do

rosrun xsens_driver mtdevice.py --configure --output-mode=coapvs --output-settings=tqMAG

i'm getting this error:

Traceback (most recent call last):
  File "/opt/ros/indigo/lib/xsens_driver/mtdevice.py", line 1124, in <module>
    main()
  File "/opt/ros/indigo/lib/xsens_driver/mtdevice.py", line 972, in main
    mt = MTDevice(device, baudrate)
  File "/opt/ros/indigo/lib/xsens_driver/mtdevice.py", line 30, in __init__
    self.auto_config()
  File "/opt/ros/indigo/lib/xsens_driver/mtdevice.py", line 382, in auto_config
    self.ReqConfiguration()
  File "/opt/ros/indigo/lib/xsens_driver/mtdevice.py", line 287, in ReqConfiguration
    self.header = '\xFA\xFF\x32'+chr(length)
ValueError: chr() arg not in range(256)

Please help me, I dont know if there's a problem with my sensor, the Ubuntu version or the driver.

edit retag flag offensive close merge delete

Comments

Hi, Did you manager to solve the problem ? If so can you post it please.

haysgh gravatar image haysgh  ( 2017-02-16 05:59:09 -0600 )edit

This is an old problem solved starting from version 2.0.0

Francis Colas gravatar image Francis Colas  ( 2017-07-17 10:10:36 -0600 )edit