How can I show two lasers in rviz (one of them in different position)?
Hello. I am new on ROS and I am trying to display two lasers on ROS. I have been trying with tf with no results. The problem is that I have the same origin for both, so the data of on is over the data of the other. I want to explain somehow that one of them is one meter to the left of the other.
Do you have any hint for doing this?
Now i am getting one laser data over the other, as you can see here: https://www.dropbox.com/s/bwk8718wykw...
Thanks
Edit: I am using this as launch file:
<launch>
<node pkg="sicktoolbox_wrapper2" name="lms5xx_110" type="sicklms_5xx">
<remap from="scan" to="laser1" />
<param name="ip_add" value="192.168.0.110" />
<param name="frame_id" value="world" />
</node>
<node pkg="sicktoolbox_wrapper2" name="lms5xx_111" type="sicklms_5xx">
<remap from="scan" to="laser2" />
<param name="ip_add" value="192.168.0.111" />
<param name="frame_id" value="world" />
</node>
<node pkg="tf" type="static_transform_publisher" name="link1_broadcaster" args="0 0 0 0 0 0 world laser1 100" />
<node pkg="tf" type="static_transform_publisher" name="link2_broadcaster" args="4 0 0 0 0 0 world laser2 100" />
</launch>
The problem is that I have the same origin for both, so the data of on is over the data of the other. I want to explain somehow that one of them is one meter to the left of the other.