How to use sensor pose ?

asked 2020-03-13 00:32:24 -0500

Krenshow gravatar image

updated 2020-03-13 00:36:14 -0500

Hello, I have a problem with pose 0 0 0 0 0 0 pose. You can find it in turtlebot3_burger.gazebo.xacro. In particular, this code goes in the sensor description. For example (from turtlebot3_burger.gazebo.xacro):

  <gazebo reference="base_scan">
    <sensor type="ray" name="lds_lfcd_sensor">
      <pose>0 0 0 0 0 0</pose>
      <visualize>$(arg laser_visual)</visualize>
      <plugin name="gazebo_ros_lds_lfcd_controller" filename="">

As I understood, there are such parameters as XYZ and RPY. I found a couple of examples and it should be obvious. Example:

However, when I change it, nothing happens, nothing at all... Ubuntu 16.04, ROS Kinetic. Anybody have an idea, what is the problem could be?

edit retag flag offensive close merge delete


I've seen the same thing with the plugin. The plugin seems to ignore the sensor pose. If you need to change the pose of the sensor, I would recommend changing it's parent frame, or attaching it to a new frame that has the correct pose.

tryan gravatar image tryan  ( 2020-10-14 15:56:33 -0500 )edit

Finally, I added one more frame. Just curious, why it does not works here, thanks.

Krenshow gravatar image Krenshow  ( 2020-10-15 00:09:52 -0500 )edit