Home | Tutorials | Wiki | Issues
Ask Your Question
0

Problem with transform

asked 2018-11-04 04:28:41 -0600

trishantroy gravatar image

Hey,
I have created a hello.world file. The simple_mobile_manipulator is a pioneer2dx model attached with a hokuyo lidar. I have added the plugin in the hokuyo model to be able to see the lidar data.
When I roslaunch the launch file, this world opens correctly. When I see the data of the hokuyo lidar on rviz, there is a error: For frame [hokuyo_link]: Fixed Frame [map] does not exist on rviz

How to solve this issue?

This is the hello.world file.

<sdf version="1.4">

<world name="default">

<include>
  <uri>model://ground_plane</uri>
</include>

<include>
  <uri>model://sun</uri>
</include>

<include>
  <uri>model://simple_mobile_manipulator</uri>
  <pose>0 0 0 0 0 0</pose>
</include>

<include>
  <uri>model://pioneer2dx</uri>
  <pose>2 0 0 0 0 0</pose>
</include>

<!-- reference to your plugin -->
<plugin name="gazebo_tutorials" filename="libgazebo_tutorials.so"/>

</world> </sdf>

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2018-11-05 04:51:23 -0600

wentz gravatar image

You can simply change the fixed frame that is used by rviz. The default frame is map. Look in the documentation of rviz:

http://wiki.ros.org/rviz/UserGuide

under 7. Coordinate Frames

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower

Stats

Asked: 2018-11-04 04:28:41 -0600

Seen: 31 times

Last updated: Nov 05