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

gogoo's profile - activity

2015-04-24 13:41:49 -0500 received badge  Famous Question (source)
2015-04-17 04:17:01 -0500 received badge  Notable Question (source)
2015-04-17 02:56:31 -0500 commented question How to connect two rplidars on one computer

When I tried to change the parameter "serial_port" to value = "/ dev / ttyUSB1" or value = "/ dev / ttyUSB*" system prints Error, cannot bind to the specified serial port /dev/ttyUSB1

2015-04-16 12:47:39 -0500 received badge  Popular Question (source)
2015-04-16 06:12:40 -0500 received badge  Editor (source)
2015-04-16 05:03:09 -0500 asked a question How to connect two rplidars on one computer

Hello,

I'm trying to connect two rplidars on one computer. Always starts only one node and the other ends error below:

started core service [/rosout]

process[rp/rplidarNode-2]: started with pid [23750]

RPLidar health status : 0

process[rp1/rplidarNode1-3]: started with pid [23772]

Error, cannot retrieve rplidar health code: 80008002

Thank you for your answers

my launch file:

<launch>
 <node ns="rp" name="rplidarNode"          pkg="rplidar_ros"  type="rplidarNode" output="screen">
  <param name="serial_port"         type="string" value="/dev/ttyUSB0"/>  
  <param name="serial_baudrate"     type="int"    value="115200"/>
  <param name="frame_id"            type="string" value="laser"/>
  <param name="inverted"            type="bool"   value="false"/>
  <param name="angle_compensate"    type="bool"   value="true"/>
  </node>

  <node ns="rp1" name="rplidarNode1"          pkg="rplidar_ros"  type="rplidarNode" output="screen">
  <param name="serial_port"         type="string" value="/dev/ttyUSB0"/>  
  <param name="serial_baudrate"     type="int"    value="115200"/>
  <param name="frame_id"            type="string" value="laser1"/>
  <param name="inverted"            type="bool"   value="false"/>
  <param name="angle_compensate"    type="bool"   value="true"/>
  <remap from="scan"    to="scan1"/>
  </node>
</launch>