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

hokuyo at /dev/ttyACM0 change default settings

asked 2015-07-17 03:36:33 -0500

85pando gravatar image

Hi everyone,

With our robot we are using a single hokuyo laser scanner for obstacle detection.

As software we are using ROS-Hydro and the Hokuyo node here. We got everything working, but startup is kinda cumbersome:

  • Depending on order of bootup the hokuyo will be either /dev/ttyACM0 or /dev/ttyACM1, so we created a udev rule to always have it at /dev/sensors/hokuyo.
  • Therefore we always need to set the port before starting up: rosparam set hokuyo_node/port /dev/sensors/hokuyo (taken from here )

Of course, this is scriptable, but I'm looking for a better way to change this in some configuration file or similar.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2015-07-17 03:52:15 -0500

dornhege gravatar image

Use a launch file. Check out the roslaunch docs for further information.

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2015-07-17 03:35:23 -0500

Seen: 445 times

Last updated: Jul 17 '15