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

Cannot change parameters in Navigation2 [closed]

asked 2020-07-07 00:16:43 -0500

fuji gravatar image

I changed parameters in dwb_controller. Modified file is the following.

/navigation2_ws/src/navigation2/nav2_bringup/launch/nav2_params.yaml

After that, colcon build and launch TurtleBot simulation.

ros2 launch turtlebot3_navigation2 navigation2.launch.py use_sim_time:=True map:=$HOME/map.yaml
ros2 launch turtlebot3_gazebo turtlebot3_world.launch.py

But when I checked, modified parameters keep default values.
I would appreciate it if you would give me some advice.


Enviroment
ubuntu 18.04
ros2 dashing (binary)
Navigaiton2 (branch:dashing-devel,commit:942ea4)
Turtlebot3 simulation

ROS_DOMAIN_ID=30
ROS_VERSION=2
ROS_PYTHON_VERSION=3
ROS_DISTRO=dashing

edit retag flag offensive reopen merge delete

Closed for the following reason duplicate question by fuji
close date 2020-07-07 05:04:53.399427

1 Answer

Sort by ยป oldest newest most voted
0

answered 2020-07-07 02:04:54 -0500

See TB3 Nav2: https://github.com/ROBOTIS-GIT/turtle...

Clearly, the launch file you're running is using its own configuration file, not that supplied in the Navigation2 repo (which it looks like is the one you're modifying).

edit flag offensive delete link more

Comments

Indeed, the correct .yaml file is in TurtleBot3 folder. Thank you for your answering.

fuji gravatar image fuji  ( 2020-07-07 04:18:09 -0500 )edit

No problem. Can you mark this as correct to get off unanswered questions queue?

stevemacenski gravatar image stevemacenski  ( 2020-07-07 11:04:46 -0500 )edit

Question Tools

1 follower

Stats

Asked: 2020-07-07 00:16:43 -0500

Seen: 384 times

Last updated: Jul 07 '20