PriestLocalPlanner: library_path: libpriest_local_planner # ================= Horizon / optimizer ================= t_fin: 7.0 # [s] planning horizon num_steps: 30 # trajectory samples over the horizon num_batch: 60 # trajectories per CEM iteration initial_up_sampling: 5 # candidate oversampling factor ellite_num: 40 # elites ranked by projection residual num_warm: 20 # warm-started trajectories between cycles max_proj_iter: 8 # alternating projection iterations max_cem_iter: 4 # CEM iterations per control cycle optimizer_threads: 4 # bounded workers; avoid severe overhead from using all CPU cores solve_time_warn_ms: 30.0 # [ms] leaves margin inside the 30 Hz controller period lateral_std: 0.8 # [m] std of lateral waypoint perturbations # ================= Robot limits (differential drive) ================= max_velocity: 0.5 # [m/s] forward velocity limit max_angular_velocity: 0.4 # [rad/s] also enforced inside the optimizer as a # lateral-acceleration clamp |a_n| <= omega_max * v max_acceleration: 0.5 # [m/s^2] used in the trajectory projection reference_velocity: 0.4 # [m/s] desired cruise speed along the path v_eps: 0.05 # [m/s] below this speed the curvature clamp/cost is skipped v_min_seed: 0.05 # [m/s] initial-velocity seed along yaw when the robot is stopped # Trajectory -> differential (v, omega) conversion with curvature feedforward: # omega = clamp(omega_traj, +-max_angular_velocity) - heading_gain * heading_error heading_gain: 1.5 # [1/s] feedback gain on the heading error heading_error_stop: 1.2 # [rad] above this, rotate in place (v = 0) min_in_place_yawrate: 0.2 # [rad/s] # ================= Goal / plan ================= xy_goal_tolerance: 0.10 # [m] yaw_goal_tolerance: 0.10 # [rad] max_global_plan_lookahead_dist: 3.0 # [m] # ================= Obstacles (from local costmap) ================= num_obs: 40 # obstacles in the CEM cost num_obs_proj: 30 # closest obstacles inside the projection obstacle_range: 2.5 # [m] costmap scan radius around the robot robot_radius: 0.50 # [m] obstacle_point_radius: 0.08 # [m] footprint_padding: 0.05 # [m] obstacle_cost_threshold: 150 obstacle_cell_step: 2 max_obstacle_points: 150 # ================= Cost weights ================= weight_smoothness: 0.1 weight_track: 0.2 weight_obs: 1.2 weight_clearance: 3.0 # bounded proximity term in (0,1]: 1 at an obstacle # centre, 0.5 on the collision boundary, 0 out of range weight_angular: 0.5 # hinge penalty on |omega| > max_angular_velocity cem_lamda: 0.9 # CEM temperature cem_alpha: 0.7 # CEM mean/cov blending factor