Skip to content

Commit 6cdfc44

Browse files
committed
add path planning default parameters
1 parent cfca647 commit 6cdfc44

8 files changed

Lines changed: 9 additions & 3 deletions

src/bitbots_navigation/bitbots_path_planning/config/path_planning_parameters_amy.yaml

Whitespace-only changes.

src/bitbots_navigation/bitbots_path_planning/config/path_planning_parameters_default.yaml

Whitespace-only changes.

src/bitbots_navigation/bitbots_path_planning/config/path_planning_parameters_donna.yaml

Whitespace-only changes.
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
bitbots_path_planning:
2+
ros__parameters:
3+
controller:
4+
max_rotation_vel: 0.7
5+
max_vel_x: 0.18

src/bitbots_navigation/bitbots_path_planning/config/path_planning_parameters_rory.yaml

Whitespace-only changes.

src/bitbots_navigation/bitbots_path_planning/config/path_planning_parameters.yaml renamed to src/bitbots_navigation/bitbots_path_planning/config/path_planning_parameters_template.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,13 +56,13 @@ bitbots_path_planning:
5656
bounds<>: [0, 100]
5757
max_rotation_vel:
5858
type: double
59-
default_value: 0.7
59+
default_value: 0.3
6060
description: 'The maximum rotation velocity of the robot in rad/s around the z-axis'
6161
validation:
6262
bounds<>: [0.0, 1.0]
6363
max_vel_x:
6464
type: double
65-
default_value: 0.18
65+
default_value: 0.14
6666
description: 'Maximum velocity we want to reach in different directions (base_footprint coordinate system)'
6767
validation:
6868
bounds<>: [0.0, 1.0]

src/bitbots_navigation/bitbots_path_planning/launch/path_planning.launch

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,6 @@
33

44
<node pkg="bitbots_path_planning" exec="path_planning" name="bitbots_path_planning" output="screen">
55
<param name="use_sim_time" value="$(var sim)"/>
6+
<param from="$(find-pkg-share bitbots_path_planning)/config/path_planning_parameters_$(env ROBOT_NAME default).yaml"/>
67
</node>
78
</launch>

src/bitbots_navigation/bitbots_path_planning/setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
generate_parameter_module(
77
"path_planning_parameters", # python module name for parameter library
8-
"config/path_planning_parameters.yaml", # path to input yaml file
8+
"config/path_planning_parameters_template.yaml", # path to input yaml file
99
)
1010

1111
package_name = "bitbots_path_planning"

0 commit comments

Comments
 (0)