Skip to content

Commit 44e3200

Browse files
author
Tinker Twins
committed
Update ROS package
1 parent 5640a60 commit 44e3200

File tree

3 files changed

+17
-8
lines changed

3 files changed

+17
-8
lines changed

ADSS Toolkit/autodrive_ros/autodrive/config/planner_params.yaml

Lines changed: 15 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,41 +1,48 @@
1+
# GLOBAL PLANNER:
2+
NavfnROS:
3+
allow_unknown: false # whether or not to allow global planner to create paths that traverse unknown spaces
4+
default_tolerance: 0.1 # global planner will attempt to plan path that is no further away than this value from the specified goal point
5+
use_dijkstra: false # if true, use Dijkstra's algorithm, otherwise use A* algorithm
6+
7+
# LOCAL PLANNER:
18
TebLocalPlannerROS:
29
odom_topic: /odom
3-
map_frame: /map
10+
map_frame: /map
411
# Trajectory
512
teb_autosize: True
613
dt_ref: 0.4
714
dt_hysteresis: 0.1
815
global_plan_overwrite_orientation: True
916
max_global_plan_lookahead_dist: 3.0
1017
feasibility_check_no_poses: 2
11-
allow_init_backward_motion: false
12-
# Robot
18+
allow_init_backward_motion: false
19+
# Robot
1320
max_vel_x: 0.2 # [sim max: 0.26 m/s]
1421
max_vel_x_backwards: 0.2 # [sim max: 0.23 m/s]
1522
max_vel_theta: 0.5236 # [sim max: 0.67 rad/s] angular velocity is also bounded by min_turning_radius in case of a carlike robot (omega = v/r)
1623
acc_lim_x: 0.15
1724
acc_lim_theta: 0.3927
18-
# ***************** Carlike robot parameters ********************
25+
# Carlike robot parameters
1926
min_turning_radius: 0.24515 # min turning radius of the carlike robot (compute value using a model or adjust with rqt_reconfigure manually)
2027
wheelbase: 0.14154 # wheelbase of the carlike robot
2128
cmd_angle_instead_rotvel: True # return steering angle instead of the rotvel (angular.z of twist message)
2229
footprint_model:
2330
type: "line"
2431
line_start: [-0.07077, 0.0] # for type "line"
2532
line_end: [0.07077, 0.0] # for type "line"
26-
# GoalTolerance
33+
# GoalTolerance
2734
xy_goal_tolerance: 0.1
2835
yaw_goal_tolerance: 0.1
29-
free_goal_vel: False
30-
# Obstacles
36+
free_goal_vel: False
37+
# Obstacles
3138
min_obstacle_dist: 0.2 # this value must also include our robot's expansion, since footprint_model is set to "line".
3239
include_costmap_obstacles: True
3340
costmap_obstacles_behind_robot_dist: 1.5
3441
obstacle_poses_affected: 30
3542
costmap_converter_plugin: ""
3643
costmap_converter_spin_thread: True
3744
costmap_converter_rate: 5
38-
# Optimization
45+
# Optimization
3946
no_inner_iterations: 3
4047
no_outer_iterations: 3
4148
optimization_activate: True

ADSS Toolkit/autodrive_ros/autodrive/launch/testbed_navigation.launch

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@
8888
<rosparam file="$(find autodrive)/config/global_costmap_params.yaml" command="load"/>
8989
<rosparam file="$(find autodrive)/config/local_costmap_params.yaml" command="load"/>
9090
<rosparam file="$(find autodrive)/config/planner_params.yaml" command="load"/>
91+
<param name="base_global_planner" value="navfn/NavfnROS"/>
9192
<param name="base_local_planner" value="teb_local_planner/TebLocalPlannerROS"/>
9293
<param name="controller_frequency" value="5.0"/>
9394
<param name="controller_patience" value="10.0"/>

ADSS Toolkit/autodrive_ros/autodrive/launch/testbed_navigation_remote.launch

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@
7979
<rosparam file="$(find autodrive)/config/global_costmap_params.yaml" command="load"/>
8080
<rosparam file="$(find autodrive)/config/local_costmap_params.yaml" command="load"/>
8181
<rosparam file="$(find autodrive)/config/planner_params.yaml" command="load"/>
82+
<param name="base_global_planner" value="navfn/NavfnROS"/>
8283
<param name="base_local_planner" value="teb_local_planner/TebLocalPlannerROS"/>
8384
<param name="controller_frequency" value="5.0"/>
8485
<param name="controller_patience" value="10.0"/>

0 commit comments

Comments
 (0)