How to add a cube on the top plane of the turtlebot2 model in gazebo?

asked 2022-04-05 03:04:33 -0500

RockAndROS gravatar image

Hi,

I'm trying to add a cube on the top plane of the turtlebot2 in gazebo (Ubuntu 18.04 + melodic). When running turtlebot_world.launch, we can see that the turtlebot2 model has three layers of planes. I checked the urdf file kobuki_hexagons_kinect.urdf.xacro but I'm actually not familar with urdf file. How to modify the urdf file in this case?

Many thanks.

edit retag flag offensive close merge delete

Comments

I'd recommend familiarizing yourself with urdf first, using the existing tutorials. If the tutorials are unclear, then you can update your question, but adding geometric primitives to a model is a fairly simple process: http://wiki.ros.org/urdf/Tutorials/Building%20a%20Visual%20Robot%20Model%20with%20URDF%20from%20Scratch

shonigmann gravatar image shonigmann  ( 2022-04-06 13:05:39 -0500 )edit