Omron multi sensors
i want to use 2 omron laser scanners but the following code doesn't work:
<launch>
<node ns="first" pkg="omron_os32c_driver" type="omron_os32c_node" name="omron_os32c_node">
<param name="host" value="192.162.0.10"/>
<param name="frame_id" value="laser1"/>
<param name="start_angle" value="1.0471975512" />
<param name="end_angle" value="-1.0471975512" />
<remap from="scan" to="scan1">
</node>
<node ns="second" pkg="omron_os32c_driver" type="omron_os32c_node" name="omron_os32c_node_2">
<param name="host" value="192.162.0.11"/>
<param name="frame_id" value="laser2"/>
<param name="start_angle" value="1.0471975512" />
<param name="end_angle" value="-1.0471975512" />
<remap from="scan" to="scan2">
</node>
</launch>
have someone an idea how launch 2 same node simultaneously? thanks.
Edit:
started roslaunch server http://localhost:57492/
SUMMARY
========
PARAMETERS
* /first/omron_os32c_node/end_angle: -1.0471975512
* /first/omron_os32c_node/frame_id: middle_torso_b_ba...
* /first/omron_os32c_node/host: 192.168.0.10
* /first/omron_os32c_node/start_angle: 1.0471975512
* /rosdistro: indigo
* /rosversion: 1.11.10
* /second/omron_os32c_node_2/end_angle: -1.0471975512
* /second/omron_os32c_node_2/frame_id2: middle_torso_a_ba...
* /second/omron_os32c_node_2/host: 192.168.0.11
* /second/omron_os32c_node_2/start_angle: 1.0471975512
NODES
/first/
omron_os32c_node (omron_os32c_driver/omron_os32c_node)
/second/
omron_os32c_node_2 (omron_os32c_driver/omron_os32c_node)
auto-starting new master
process[master]: started with pid [13686]
ROS_MASTER_URI=http://localhost:11311
setting /run_id to 1663060e-f667-11e5-bb4c-00187d98c03c
process[rosout-1]: started with pid [13699]
started core service [/rosout]
process[first/omron_os32c_node-2]: started with pid [13716]
process[second/omron_os32c_node_2-3]: started with pid [13735]
[FATAL] [1459335832.918327894]: Exception caught opening session: bind
[second/omron_os32c_node_2-3] process has died [pid 13735, exit code 255, cmd /opt/ros/indigo/lib/omron_os32c_driver/omron_os32c_node scan:=scana __name:=omron_os32c_node_2 __log:=/home/omni/.ros/log/1663060e-f667-11e5-bb4c-00187d98c03c/second-omron_os32c_node_2-3.log].
log file: /home/omni/.ros/log/1663060e-f667-11e5-bb4c-00187d98c03c/second-omron_os32c_node_2-3*.log
What do you mean by saying "doesnt work"? Any error message when you launch?
@heno: please don't use answers to post updates. If you want to add more information (because @DavidN asked for that fi), edit your original question. Use the edit link/button for that. I've already merged your two posts, but please keep it in mind next time.
same problem here, any suggestions?
I'm pretty sure this is a limitation coming from the way in which the current implementation works with its sockets. I suggest you report this at ros-drivers/omron/issues.
It seems the output of your launch is not equivalent to the launch file you posted on top. Host ip, ns, start and end angles are different from what specified in launch file.
I am getting the same problem. Please an answer ?