Robotics StackExchange | Archived questions

Hokuyo URG-04LX - Hokuyo error code returned. Cmd: RS

Hi, I am using ROS Indigo 1.11.13 (latest version to-date) on Ubuntu 14.04.2 Trusty. I did sudo apt-get install ros-indigo-hokuyo-node to install hokuyo node. After that, I did the following:

$ ls -l /dev/ttyACM0

$ sudo chmod a+rw /dev/ttyACM0

$ roscore

$ rosrun hokuyonode hokuyonode _port:=/dev/ttyACM0

and then got the following error messages:

[ERROR] [1436628339.922560403]: Exception thrown while opening Hokuyo. Hokuyo error code returned. Cmd: RS -- Error: Hokuyo error code returned. Cmd: RS -- Error: Hokuyo error code returned. Cmd: RS -- Error: Hokuyo error code returned. Cmd: RS -- Error: Hokuyo error code returned. Cmd: RS -- Error: Hokuyo error code returned. Cmd: RS -- Error: Hokuyo error code returned. Cmd: RS -- Error: Hokuyo error code returned. Cmd: RS -- Error: Hokuyo error code returned. Cmd: RS -- Error: Hokuyo error code returned. Cmd: RS -- Error: Hokuyo error code returned. Cmd: RS -- Error: Hokuyo error code returned. Cmd: RS -- Error: Hokuyo (in hokuyo::laser::sendCmd) You may find further details at http://www.ros.org/wiki/hokuyo_node/Troubleshooting

I can't seem to find a solution to the problem above. Can anyone please help? Thanks.

Asked by cvcook on 2015-07-11 10:30:04 UTC

Comments

I had the same problem when trying to start the node from a .launch file, but it worked alright when starting roscore and the hokuyo node separately from the terminal. I used rosparam to set the device port though, so you might want to try it out.

Asked by xperroni on 2016-04-09 03:18:52 UTC

See this tutorial for reference: http://wiki.ros.org/hokuyo_node/Tutorials/UsingTheHokuyoNode

Asked by xperroni on 2016-04-09 03:19:03 UTC

Answers