razor_imu_9dof dies
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 node.py
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/node.py", line 73, in <module>
line = ser.readline()
File "/usr/lib/python2.6/dist-packages/serial/serialutil.py", line 60, in readline
c = self.read(1)
File "/usr/lib/python2.6/dist-packages/serial/serialposix.py", line 320, in read
buf = os.read(self.fd, 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
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.
Thanks.
Did you flash the special firmware?
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.
Thanks