Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hokuyo driver - no hokuyo node in indigo #6

Open
oscar-lima opened this issue Oct 17, 2017 · 0 comments
Open

hokuyo driver - no hokuyo node in indigo #6

oscar-lima opened this issue Oct 17, 2017 · 0 comments

Comments

@oscar-lima
Copy link
Collaborator

use urg_node instead:

sudo apt-get install ros-kinetic-urg-node

here is an example launch file

    <!-- hokuyo usb port paths -->
    <arg name="hokuyo_front_port" default="/dev/mbot/hokuyo-front" />
    <arg name="hokuyo_rear_port" default="/dev/mbot/hokuyo-rear" />

    <!-- front laser scanner driver -->
    <node pkg="urg_node" type="urg_node" name="hokuyo_node_front">
      <remap from="/scan" to="scan_front" />
      <param name="ip_address" value=""/>
      <param name="serial_port" value="$(arg hokuyo_front_port)"/>
      <param name="serial_baud" value="115200"/>
      <param name="frame_id" value="base_laser_front_link"/>
      <param name="calibrate_time" value="true"/>
      <param name="publish_intensity" value="false"/>
      <param name="publish_multiecho" value="false"/>
      <param name="angle_min" value="-1.5707963"/>
      <param name="angle_max" value="1.5707963"/>
    </node>

you will need udev rules, installed on your system:

SUBSYSTEM=="tty", KERNEL=="ttyACM*", SYMLINK+="mbot/hokuyo-front", MODE="0666"
@oscar-lima oscar-lima changed the title kohuyo driver - no hokuyo node in indigo hokuyo driver - no hokuyo node in indigo Oct 17, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant