Ask Your Question

Rodolfo's profile - activity

2014-07-06 21:51:19 -0600 received badge  Famous Question (source)
2014-07-05 22:55:01 -0600 received badge  Famous Question (source)
2014-07-05 22:12:31 -0600 commented answer How can I show two lasers in rviz (one of them in different position)?

And how can I view the two lasers on rviz with different fixed frames? Because if I set frame_id to laser1 or laser2, I should change the fixed frame in rviz and I can see only one laser each time

2014-07-05 21:33:48 -0600 commented answer How can I show two lasers in rviz (one of them in different position)?

you mean that I should use <node pkg="tf" type="static_transform_publisher" name="link1_broadcaster" args="0 0 0 0 0 0 laser1 WHAT_HERE? 100"/>

2014-07-05 14:35:52 -0600 received badge  Enthusiast
2014-07-04 12:24:11 -0600 received badge  Citizen Patrol (source)
2014-07-04 11:39:31 -0600 commented answer How can I show two lasers in rviz (one of them in different position)?

Thanks for the complete answer. I tried what you say and this is the result: https://www.dropbox.com/s/bwk8718wykwzwd7/lasers.png As you can see there, the position of one laser referred to the other is the same, so one scan is over the other. (I updated the launch file in the question)

2014-07-04 05:14:20 -0600 received badge  Notable Question (source)
2014-07-04 02:55:46 -0600 received badge  Popular Question (source)
2014-07-04 02:37:58 -0600 received badge  Editor (source)
2014-07-04 02:36:50 -0600 commented answer How can I show two lasers in rviz (one of them in different position)?

Thanks for your reply. I tried with the static_transform_publisher but there are no new subscribers to the topic of the laser, as seen in this picture: www.dropbox.com/s/ns8cu6i09sor4r9/SS.png .(the subscriber is rviz) I added the launch file in the original question.

2014-07-04 01:02:29 -0600 commented question How can I show two lasers in rviz (one of them in different position)?

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.

2014-07-04 00:56:00 -0600 commented answer How can I show two lasers in rviz (one of them in different position)?

Thanks for your answer. I am able to display both lasers on Rviz. 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.

2014-07-04 00:54:08 -0600 received badge  Notable Question (source)
2014-07-04 00:25:29 -0600 asked a question 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>
2014-06-19 12:39:40 -0600 received badge  Student (source)
2014-06-11 10:19:53 -0600 received badge  Popular Question (source)
2014-05-12 14:19:52 -0600 received badge  Organizer (source)
2014-05-07 10:02:25 -0600 commented answer How to use LMS5xx in ROS?

Boris. Could you basically explain how to install the sicktoolbox2? I have been trying with no result. I'm new on ROS.

2014-05-06 20:33:07 -0600 asked a question How can I use LMS5xx with sicktoolbox2?

I am trying to make a SICK LMS511 work on ROS but I haven't been able to make it work. I am trying to use github /clearpathrobotics/laser_drivers/tree/hydro-devel with no result.

I tried moving the folder of the link above to the ROS path and then run the command rosmake in that folder. Then I tried with roslaunch launch/lms5xx.launch but I get this error:

ERROR: cannot launch node of type [sicktoolbox_wrapper2/sicklms_5xx]: can't locate node [sicklms_5xx] in package [sicktoolbox_wrapper2]

I know that the laser is well connected.

What should I do?

Thanks!