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

razor_imu_9dof dies

asked 2013-03-12 15:22:50 -0500

KM6VV gravatar image

updated 2015-09-18 01:47:25 -0500

gvdhoorn gravatar image

I'm having problems running the razor_imu_9dof package.

Diamondback on Ubuntu 10.04

roslaunch razor_imu_9dof razor.launch

Initial problem of not finding ttyUSB1 was edited to ttyUSB0 in razor.launch and files.

I start razor_imu_9dof with my Razor board connected, the two visualization windows come up on the screen, and it may or may not run for a few seconds (watching graphics and rostopic echo /imuRaw), and then the process dies. Graphics stay up, node dies.

Traceback (most recent call last):
  File "/home/turtlebot/ros_workspace/razor_imu_9dof/razor_imu_9dof/nodes/", line 73, in <module>
    line = ser.readline()
  File "/usr/lib/python2.6/dist-packages/serial/", line 60, in readline
    c =
  File "/usr/lib/python2.6/dist-packages/serial/", line 320, in read
    buf =, size-len(read))
OSError: [Errno 11] Resource temporarily unavailable
[node-1] process has died [pid 2964, exit code 1].
log files: /home/turtlebot/.ros/log/cc609c80-8b2d-11e2-b23a-0016ea6f4f4c/node-1*.log

other messages like "out of range" and literal for float() also occur. the output from the Razor is clean as viewed on the Arduino IDE serial monitor, and will run forever.

Any thoughts?

Alan KM6VV

edit retag flag offensive close merge delete


KM6VV- Have you been able to figure this issues out? I have the same problem and it doesn't appear that you got much help here. I assume you are using an FTDI serial to USB adapter with your razor card.


MiniMe gravatar image MiniMe  ( 2015-10-13 10:32:58 -0500 )edit

Did you flash the special firmware?

Humpelstilzchen gravatar image Humpelstilzchen  ( 2015-10-14 02:16:17 -0500 )edit

I got it working now. I did have the special firmware installed and could see the results on arduino serial. I ended up downloading all the razor files again and running the firmware from the new download. Arduino serial no longer shows results but the 3D Visualization Test GUI now works.


MiniMe gravatar image MiniMe  ( 2015-10-19 13:16:22 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2015-09-18 02:10:07 -0500

MarkyMark2012 gravatar image

updated 2015-09-18 02:10:25 -0500

Isn't this a serial device - looks like you're connecting to USB - try something like ttyAMA0

edit flag offensive delete link more


I think you mean ttyACM0

tonybaltovski gravatar image tonybaltovski  ( 2015-09-18 14:28:38 -0500 )edit

USB-Serial converter (USB-CDC) can be named both, /dev/ttyACM0 or /dev/ttyUSB0, this is hardware/driver specific

/dev/ttyAMA0 sounds very Raspberry Pi specific, but the information about the underlying hardware was not provided.

Humpelstilzchen gravatar image Humpelstilzchen  ( 2015-10-14 02:20:34 -0500 )edit

Question Tools


Asked: 2013-03-12 15:22:50 -0500

Seen: 881 times

Last updated: Oct 13 '15