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

UM7 - Unable to set CREG_COM_SETTINGS

asked 2018-09-17 01:16:32 -0600

updated 2018-09-17 01:18:52 -0600

Hello,

I am trying to setup Um7 imu with my husky. It is a FTDI USB Serial Device converter.

output of dmesg | grep tty

[ 3.555666] usb 1-8: FTDI USB Serial Device converter now attached to ttyUSB1

Output of rosrun um7 um7_driver _port:=/dev/ttyUSB1

[ INFO] [1537164278.276594468]: um7_driver successfully connected to serial port /dev/ttyUSB1.
[ WARN] [1537164278.374955475]: Timed out waiting for packet from device.
[ WARN] [1537164278.473275643]: Timed out waiting for packet from device.
[ WARN] [1537164278.571624012]: Timed out waiting for packet from device.
[ WARN] [1537164278.669980045]: Timed out waiting for packet from device.
[ WARN] [1537164278.768341484]: Timed out waiting for packet from device.
[ERROR] [1537164278.768822530]: Unable to set CREG_COM_SETTINGS.

Output of roslaunch husky_bringup um7.launch

[ERROR] [1537164225.635399388]: Unable to set CREG_COM_SETTINGS.

FTDI udev rules (tried these two; presently using the 2nd):

#SUBSYSTEMS=="usb", ATTRS{idVendor}=="0403", ATTRS{idProduct}=="6001", MODE="0666", SYMLINK+="ftdi_%s{serial}"

SUBSYSTEMS=="tty", KERNEL=="ttyUSB[0-9]*", ATTRS{idVendor}=="0403", ATTRS{idProduct}=="6001", MODE="0666"

I looked into this post but it is a different robot and did not have any definite answer. Also looked into this um7 github issue and made sure my user is a member of the dialout and also my dialout is listed for ttyUSB1.

Any pointers will be appreciated.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2019-01-22 09:27:28 -0600

aarontan gravatar image

i solved this problem by swapping the tx and rx pin

edit flag offensive delete link more

Comments

For me, the connection wire and device was broken I had to get a new one.

arunavanag gravatar image arunavanag  ( 2019-01-23 02:49:29 -0600 )edit

Question Tools

2 followers

Stats

Asked: 2018-09-17 01:16:32 -0600

Seen: 645 times

Last updated: Jan 22 '19