turtlebot3_world_burger.yaml 9.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356
  1. amcl:
  2. ros__parameters:
  3. use_sim_time: False
  4. alpha1: 0.2
  5. alpha2: 0.2
  6. alpha3: 0.2
  7. alpha4: 0.2
  8. alpha5: 0.2
  9. base_frame_id: "base_footprint"
  10. beam_skip_distance: 0.5
  11. beam_skip_error_threshold: 0.9
  12. beam_skip_threshold: 0.3
  13. do_beamskip: false
  14. global_frame_id: "map"
  15. lambda_short: 0.1
  16. laser_likelihood_max_dist: 2.0
  17. laser_max_range: 100.0
  18. laser_min_range: -1.0
  19. laser_model_type: "likelihood_field"
  20. max_beams: 60
  21. max_particles: 2000
  22. min_particles: 500
  23. odom_frame_id: "odom"
  24. pf_err: 0.05
  25. pf_z: 0.99
  26. recovery_alpha_fast: 0.0
  27. recovery_alpha_slow: 0.0
  28. resample_interval: 1
  29. robot_model_type: "nav2_amcl::DifferentialMotionModel"
  30. save_pose_rate: 0.5
  31. sigma_hit: 0.2
  32. tf_broadcast: true
  33. transform_tolerance: 1.0
  34. update_min_a: 0.2
  35. update_min_d: 0.25
  36. z_hit: 0.5
  37. z_max: 0.05
  38. z_rand: 0.5
  39. z_short: 0.05
  40. scan_topic: scan
  41. set_initial_pose: true
  42. initial_pose:
  43. x: -1.8949996233
  44. y: -0.419999837875
  45. z: 0.0
  46. a: -0.0208304
  47. amcl_map_client:
  48. ros__parameters:
  49. use_sim_time: False
  50. amcl_rclcpp_node:
  51. ros__parameters:
  52. use_sim_time: False
  53. bt_navigator:
  54. ros__parameters:
  55. use_sim_time: False
  56. global_frame: map
  57. robot_base_frame: base_link
  58. odom_topic: /odom
  59. default_bt_xml_filename: "navigate_w_replanning_and_recovery.xml"
  60. bt_loop_duration: 10
  61. default_server_timeout: 20
  62. enable_groot_monitoring: True
  63. groot_zmq_publisher_port: 1666
  64. groot_zmq_server_port: 1667
  65. plugin_lib_names:
  66. - nav2_compute_path_to_pose_action_bt_node
  67. - nav2_compute_path_through_poses_action_bt_node
  68. - nav2_follow_path_action_bt_node
  69. - nav2_back_up_action_bt_node
  70. - nav2_spin_action_bt_node
  71. - nav2_wait_action_bt_node
  72. - nav2_clear_costmap_service_bt_node
  73. - nav2_is_stuck_condition_bt_node
  74. - nav2_goal_reached_condition_bt_node
  75. - nav2_goal_updated_condition_bt_node
  76. - nav2_initial_pose_received_condition_bt_node
  77. - nav2_reinitialize_global_localization_service_bt_node
  78. - nav2_rate_controller_bt_node
  79. - nav2_distance_controller_bt_node
  80. - nav2_speed_controller_bt_node
  81. - nav2_truncate_path_action_bt_node
  82. - nav2_goal_updater_node_bt_node
  83. - nav2_recovery_node_bt_node
  84. - nav2_pipeline_sequence_bt_node
  85. - nav2_round_robin_node_bt_node
  86. - nav2_transform_available_condition_bt_node
  87. - nav2_time_expired_condition_bt_node
  88. - nav2_distance_traveled_condition_bt_node
  89. - nav2_single_trigger_bt_node
  90. - nav2_is_battery_low_condition_bt_node
  91. - nav2_navigate_through_poses_action_bt_node
  92. - nav2_navigate_to_pose_action_bt_node
  93. - nav2_remove_passed_goals_action_bt_node
  94. - nav2_planner_selector_bt_node
  95. - nav2_controller_selector_bt_node
  96. - nav2_goal_checker_selector_bt_node
  97. bt_navigator_rclcpp_node:
  98. ros__parameters:
  99. use_sim_time: False
  100. controller_server:
  101. ros__parameters:
  102. use_sim_time: False
  103. controller_frequency: 20.0
  104. min_x_velocity_threshold: 0.001
  105. min_y_velocity_threshold: 0.5
  106. min_theta_velocity_threshold: 0.001
  107. failure_tolerance: 0.3
  108. progress_checker_plugin: "progress_checker"
  109. goal_checker_plugins: ["general_goal_checker"]
  110. controller_plugins: ["FollowPath"]
  111. # Progress checker parameters
  112. progress_checker:
  113. plugin: "nav2_controller::SimpleProgressChecker"
  114. required_movement_radius: 0.5
  115. movement_time_allowance: 10.0
  116. general_goal_checker:
  117. stateful: True
  118. plugin: "nav2_controller::SimpleGoalChecker"
  119. xy_goal_tolerance: 0.25
  120. yaw_goal_tolerance: 0.25
  121. # DWB parameters
  122. FollowPath:
  123. plugin: "dwb_core::DWBLocalPlanner"
  124. debug_trajectory_details: True
  125. min_vel_x: 0.0
  126. min_vel_y: 0.0
  127. max_vel_x: 0.22
  128. max_vel_y: 0.0
  129. max_vel_theta: 1.0
  130. min_speed_xy: 0.0
  131. max_speed_xy: 0.22
  132. min_speed_theta: 0.0
  133. # Add high threshold velocity for turtlebot 3 issue.
  134. # https://github.com/ROBOTIS-GIT/turtlebot3_simulations/issues/75
  135. acc_lim_x: 2.5
  136. acc_lim_y: 0.0
  137. acc_lim_theta: 3.2
  138. decel_lim_x: -2.5
  139. decel_lim_y: 0.0
  140. decel_lim_theta: -3.2
  141. vx_samples: 20
  142. vy_samples: 5
  143. vtheta_samples: 20
  144. sim_time: 1.7
  145. linear_granularity: 0.05
  146. angular_granularity: 0.025
  147. transform_tolerance: 0.2
  148. xy_goal_tolerance: 0.25
  149. trans_stopped_velocity: 0.25
  150. short_circuit_trajectory_evaluation: True
  151. stateful: True
  152. critics: ["RotateToGoal", "Oscillation", "BaseObstacle", "GoalAlign", "PathAlign", "PathDist", "GoalDist"]
  153. BaseObstacle.scale: 0.02
  154. PathAlign.scale: 32.0
  155. PathAlign.forward_point_distance: 0.1
  156. GoalAlign.scale: 24.0
  157. GoalAlign.forward_point_distance: 0.1
  158. PathDist.scale: 32.0
  159. GoalDist.scale: 24.0
  160. RotateToGoal.scale: 32.0
  161. RotateToGoal.slowing_factor: 5.0
  162. RotateToGoal.lookahead_time: -1.0
  163. controller_server_rclcpp_node:
  164. ros__parameters:
  165. use_sim_time: False
  166. local_costmap:
  167. local_costmap:
  168. ros__parameters:
  169. update_frequency: 5.0
  170. publish_frequency: 2.0
  171. global_frame: odom
  172. robot_base_frame: base_link
  173. use_sim_time: False
  174. rolling_window: true
  175. width: 3
  176. height: 3
  177. resolution: 0.05
  178. robot_radius: 0.1
  179. plugins: ["obstacle_layer", "voxel_layer", "inflation_layer"]
  180. inflation_layer:
  181. plugin: "nav2_costmap_2d::InflationLayer"
  182. cost_scaling_factor: 1.0
  183. inflation_radius: 0.55
  184. obstacle_layer:
  185. plugin: "nav2_costmap_2d::ObstacleLayer"
  186. enabled: True
  187. observation_sources: scan
  188. scan:
  189. topic: /scan
  190. max_obstacle_height: 2.0
  191. clearing: True
  192. marking: True
  193. data_type: "LaserScan"
  194. voxel_layer:
  195. plugin: "nav2_costmap_2d::VoxelLayer"
  196. enabled: True
  197. publish_voxel_map: True
  198. origin_z: 0.0
  199. z_resolution: 0.05
  200. z_voxels: 16
  201. max_obstacle_height: 2.0
  202. mark_threshold: 0
  203. observation_sources: scan
  204. scan:
  205. topic: /scan
  206. max_obstacle_height: 2.0
  207. clearing: True
  208. marking: True
  209. data_type: "LaserScan"
  210. raytrace_max_range: 3.0
  211. raytrace_min_range: 0.0
  212. obstacle_max_range: 2.5
  213. obstacle_min_range: 0.0
  214. static_layer:
  215. map_subscribe_transient_local: True
  216. always_send_full_costmap: True
  217. local_costmap_client:
  218. ros__parameters:
  219. use_sim_time: False
  220. local_costmap_rclcpp_node:
  221. ros__parameters:
  222. use_sim_time: False
  223. global_costmap:
  224. global_costmap:
  225. ros__parameters:
  226. update_frequency: 1.0
  227. publish_frequency: 1.0
  228. global_frame: map
  229. robot_base_frame: base_link
  230. use_sim_time: True
  231. robot_radius: 0.1
  232. resolution: 0.05
  233. track_unknown_space: true
  234. plugins: ["static_layer", "obstacle_layer", "voxel_layer", "inflation_layer"]
  235. obstacle_layer:
  236. plugin: "nav2_costmap_2d::ObstacleLayer"
  237. enabled: True
  238. observation_sources: scan
  239. scan:
  240. topic: /scan
  241. max_obstacle_height: 2.0
  242. clearing: True
  243. marking: True
  244. data_type: "LaserScan"
  245. raytrace_max_range: 3.0
  246. raytrace_min_range: 0.0
  247. obstacle_max_range: 2.5
  248. obstacle_min_range: 0.0
  249. voxel_layer:
  250. plugin: "nav2_costmap_2d::VoxelLayer"
  251. enabled: True
  252. publish_voxel_map: True
  253. origin_z: 0.0
  254. z_resolution: 0.05
  255. z_voxels: 16
  256. max_obstacle_height: 2.0
  257. mark_threshold: 0
  258. observation_sources: scan
  259. scan:
  260. topic: /scan
  261. max_obstacle_height: 2.0
  262. clearing: True
  263. marking: True
  264. data_type: "LaserScan"
  265. raytrace_max_range: 3.0
  266. raytrace_min_range: 0.0
  267. obstacle_max_range: 2.5
  268. obstacle_min_range: 0.0
  269. static_layer:
  270. plugin: "nav2_costmap_2d::StaticLayer"
  271. map_subscribe_transient_local: True
  272. inflation_layer:
  273. plugin: "nav2_costmap_2d::InflationLayer"
  274. cost_scaling_factor: 3.0
  275. inflation_radius: 0.55
  276. always_send_full_costmap: True
  277. global_costmap_client:
  278. ros__parameters:
  279. use_sim_time: False
  280. global_costmap_rclcpp_node:
  281. ros__parameters:
  282. use_sim_time: False
  283. map_server:
  284. ros__parameters:
  285. use_sim_time: False
  286. yaml_filename: "map.yaml"
  287. map_saver:
  288. ros__parameters:
  289. use_sim_time: False
  290. save_map_timeout: 5.0
  291. free_thresh_default: 0.25
  292. occupied_thresh_default: 0.65
  293. map_subscribe_transient_local: True
  294. planner_server:
  295. ros__parameters:
  296. expected_planner_frequency: 20.0
  297. use_sim_time: False
  298. planner_plugins: ["GridBased"]
  299. GridBased:
  300. plugin: "nav2_navfn_planner/NavfnPlanner"
  301. tolerance: 0.5
  302. use_astar: false
  303. allow_unknown: true
  304. planner_server_rclcpp_node:
  305. ros__parameters:
  306. use_sim_time: False
  307. recoveries_server:
  308. ros__parameters:
  309. costmap_topic: local_costmap/costmap_raw
  310. footprint_topic: local_costmap/published_footprint
  311. cycle_frequency: 10.0
  312. recovery_plugins: ["spin", "backup", "wait"]
  313. spin:
  314. plugin: "nav2_recoveries/Spin"
  315. backup:
  316. plugin: "nav2_recoveries/BackUp"
  317. wait:
  318. plugin: "nav2_recoveries/Wait"
  319. global_frame: odom
  320. robot_base_frame: base_link
  321. transform_timeout: 0.1
  322. use_sim_time: true
  323. simulate_ahead_time: 2.0
  324. max_rotational_vel: 1.0
  325. min_rotational_vel: 0.4
  326. rotational_acc_lim: 3.2
  327. robot_state_publisher:
  328. ros__parameters:
  329. use_sim_time: False
  330. waypoint_follower:
  331. ros__parameters:
  332. loop_rate: 2000
  333. stop_on_failure: false
  334. waypoint_task_executor_plugin: "wait_at_waypoint"
  335. wait_at_waypoint:
  336. plugin: "nav2_waypoint_follower::WaitAtWaypoint"
  337. enabled: True
  338. waypoint_pause_duration: 200