ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

How to change default sensor parameters in turtlebot3 (waffle)?

asked 2019-03-03 14:11:24 -0500

jesus gravatar image

updated 2019-03-03 17:59:50 -0500

Hi everyone, I am a ROS newbie. I am using the turtlebot3 packages to perform simulations in Gazebo/RViz. I am trying to make changes to the turtlebot3(waffle) sim sensors and see how it affects the simulation outcomes. Can anyone guide me on how to localize the specific files that have sensor parameters that can be modified? Is it possible to include all modifications in ONE launch file? It would be great to make changes to the distance sensor, camera, IMU, and odometry sensors. Perhaps, adding noise to those sensors would be great (if possible). For clarification, is turtlebot3 (waffle) using a LiDAR sensor in Gazebo/RViz simulations?

I am performing my sim using Kinetic on Ubuntu 16.06 platform.

Thank you in advance!


edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2019-03-03 19:49:13 -0500

Hi Jesus,

In ROS robots are described using a URDF, normally stored with .urdf extention. That description may include the sensor/actuator models for Gazebo as well. Some times the URDF files are generated using a script language named xacro (.xacro extension).

So what I would do to find the parameters passed to gazebo for any robot that I haven't worked with before is to find any .urdf and .xacro files inside of the robot's ROS packages.

If you have installed and compiled turtlebot3 packages from source code ( ) you can go to your catkin workspace and execute the following command:

find ./ -type f \( -iname \*.urdf -o -iname \*.xacro \)

And then dig into any files listed on the output of the previous command.

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2019-03-03 14:11:24 -0500

Seen: 1,120 times

Last updated: Mar 03 '19