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

turtlebot3 navigation parameters [closed]

asked 2021-07-24 03:13:58 -0600

distro gravatar image

updated 2021-07-24 03:27:25 -0600

I want to change a turtlebot3 navigation parameter called "inflation radius", I don't know how to actually go into the required yaml file to do so. I'm just confused. A book on programming the Turtlebot3 doesn't explain how to do so. The book just gives the following instructions: " ...The following is the parameter setting for the TurtleBot3 Burger........ ..... turtlebot3_navigation/param/costmap_common_params_burger.yaml". As seen, the instructions give the path,but I dont know where in my computer I can find this path. I have already looked at the ROS navigation stack wiki, it doesn't help at all. Please anyone with experience using Turtlebot3, please reply

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by distro
close date 2022-08-06 19:10:55.236995

2 Answers

Sort by ยป oldest newest most voted
0

answered 2021-10-11 18:21:23 -0600

distro gravatar image

updated 2022-01-12 13:19:14 -0600

@Mike Scheutzow I figured out my problem and it works now! I had duplicate files of turtlebot3_navigation in different places

edit flag offensive delete link more
1

answered 2021-07-24 09:34:16 -0600

Mike Scheutzow gravatar image

When you set up this tutorial, you should have created a catkin_ws/src directory, then used git to clone turtlebot3_navigation inside of the src dir. That is the turtlebot3_navigation directory the book is referring to.

You don't say what OS you're using, but on Ubuntu it is common to put it at:

$HOME/catkin_ws/src/turtlebot3_navigation

edit flag offensive delete link more

Comments

gedit or nano may be used to edit this file and change your parameter. It's just a text file with a yaml extension.

Rodolfo8 gravatar image Rodolfo8  ( 2021-07-25 01:05:31 -0600 )edit

@Mike Scheutzow I have the navigation stack, I tried changing the inflation radius in the common_costmap_params and it literally doesn't do anything. I have the package i the directory you suggested. I dont know what I am doing wrong. I am in gazebo simulation right now. Maybe this is why?Maybe it would work in real life?

distro gravatar image distro  ( 2021-09-04 02:15:00 -0600 )edit

Please create a new question for this. Make sure to tell us what is working, then ask your question. P.S. Unless you say otherwise, readers will assume you are running Ubuntu 18.

Mike Scheutzow gravatar image Mike Scheutzow  ( 2021-09-04 09:31:35 -0600 )edit

@Mike Schuetzow I'll make a new question. Everything works and my Ubuntu version is 18.04. I just don't know why when I change inflation radius in the costmap_common_params_burger.yaml nothing happens. I trying to change inflation radius of obstacles in a gazebo simulation so maybe that's why? Does the Turtlebot3_navigation package only work for the real life turtlebot3? Is there a different package I need to be looking into for simulations?

distro gravatar image distro  ( 2021-09-04 19:35:19 -0600 )edit

Question Tools

1 follower

Stats

Asked: 2021-07-24 03:13:58 -0600

Seen: 759 times

Last updated: Jan 12 '22