No version for distro humble showing github. Known supported distros are highlighted in the buttons above.
Package symbol

autoware_in_lane_mrm_planner package from autoware_universe repo

autoware_boundary_departure_checker autoware_component_interface_specs_universe autoware_cuda_dependency_meta autoware_deprecated_boundary_departure_checker autoware_fake_test_node autoware_glog_component autoware_goal_distance_calculator autoware_grid_map_utils autoware_obstacle_proximity_checker autoware_path_distance_calculator autoware_polar_grid autoware_time_utils autoware_traffic_light_compliance_checker autoware_traffic_light_recognition_marker_publisher autoware_traffic_light_utils autoware_universe_utils tier4_api_utils autoware_autonomous_emergency_braking autoware_collision_detector autoware_control_command_gate autoware_control_performance_analysis autoware_control_validator autoware_external_cmd_selector autoware_joy_controller autoware_lane_departure_checker autoware_mpc_lateral_controller autoware_obstacle_collision_checker autoware_operation_mode_transition_manager autoware_pid_longitudinal_controller autoware_predicted_path_checker autoware_pure_pursuit autoware_shift_decider autoware_smart_mpc_trajectory_follower autoware_spheric_collision_detector autoware_stop_mode_operator autoware_trajectory_follower_base autoware_trajectory_follower_node autoware_vehicle_cmd_gate autoware_tensorrt_vad autoware_control_evaluator autoware_evaluation_adapter autoware_kinematic_evaluator autoware_localization_evaluator autoware_perception_online_evaluator autoware_planning_evaluator autoware_scenario_simulator_v2_adapter autoware_diagnostic_graph_test_examples autoware_geo_pose_projector autoware_ar_tag_based_localizer autoware_landmark_manager autoware_lidar_marker_localizer autoware_localization_error_monitor autoware_pose2twist autoware_pose_covariance_modifier autoware_pose_estimator_arbiter autoware_pose_initialization_requester autoware_pose_instability_detector yabloc_common yabloc_image_processing yabloc_monitor yabloc_particle_filter yabloc_pose_initializer autoware_map_tf_generator autoware_bevfusion autoware_bytetrack autoware_camera_streampetr autoware_cluster_merger autoware_compare_map_segmentation autoware_crosswalk_traffic_light_estimator autoware_detected_object_feature_remover autoware_detected_object_validation autoware_detection_by_tracker autoware_elevation_map_loader autoware_euclidean_cluster autoware_ground_segmentation autoware_ground_segmentation_cuda autoware_image_object_locator autoware_image_projection_based_fusion autoware_lidar_apollo_instance_segmentation autoware_lidar_centerpoint autoware_lidar_frnet autoware_lidar_transfusion autoware_map_based_prediction autoware_multi_object_tracker autoware_object_merger autoware_object_sorter autoware_occupancy_grid_map_outlier_filter autoware_predicted_path_postprocessor autoware_probabilistic_occupancy_grid_map autoware_ptv3 autoware_radar_fusion_to_detected_object autoware_radar_object_tracker autoware_radar_tracks_msgs_converter autoware_raindrop_cluster_filter autoware_shape_estimation autoware_simpl_prediction autoware_simple_object_merger autoware_tensorrt_bevdet autoware_tensorrt_bevformer autoware_tensorrt_classifier autoware_tensorrt_common autoware_tensorrt_plugins autoware_tensorrt_yolox autoware_tracking_object_merger autoware_traffic_light_arbiter autoware_traffic_light_category_merger autoware_traffic_light_classifier autoware_traffic_light_fine_detector autoware_traffic_light_map_based_detector autoware_traffic_light_multi_camera_fusion autoware_traffic_light_occlusion_predictor autoware_traffic_light_pipeline autoware_traffic_light_selector autoware_traffic_light_visualization perception_utils autoware_costmap_generator autoware_diffusion_planner autoware_external_velocity_limit_selector autoware_freespace_planner autoware_freespace_planning_algorithms autoware_hazard_lights_selector autoware_in_lane_mrm_planner autoware_manual_lane_change_handler autoware_minimum_rule_based_planner autoware_mission_planner_universe autoware_path_optimizer autoware_path_smoother autoware_remaining_distance_time_calculator autoware_rtc_interface autoware_scenario_selector autoware_surround_obstacle_checker autoware_trajectory_adapter autoware_trajectory_concatenator autoware_trajectory_gate autoware_trajectory_modifier autoware_trajectory_ranker autoware_trajectory_selector autoware_trajectory_validator autoware_behavior_path_avoidance_by_lane_change_module autoware_behavior_path_bidirectional_traffic_module autoware_behavior_path_direction_change_module autoware_behavior_path_dynamic_obstacle_avoidance_module autoware_behavior_path_external_request_lane_change_module autoware_behavior_path_goal_planner_module autoware_behavior_path_lane_change_module autoware_behavior_path_planner autoware_behavior_path_planner_common autoware_behavior_path_sampling_planner_module autoware_behavior_path_side_shift_module autoware_behavior_path_start_planner_module autoware_behavior_path_static_obstacle_avoidance_module autoware_behavior_velocity_blind_spot_module autoware_behavior_velocity_crosswalk_module autoware_behavior_velocity_detection_area_module autoware_behavior_velocity_intersection_module autoware_behavior_velocity_no_drivable_lane_module autoware_behavior_velocity_no_stopping_area_module autoware_behavior_velocity_occlusion_spot_module autoware_behavior_velocity_roundabout_module autoware_behavior_velocity_rtc_interface autoware_behavior_velocity_speed_bump_module autoware_behavior_velocity_template_module autoware_behavior_velocity_traffic_light_module autoware_behavior_velocity_virtual_traffic_light_module autoware_behavior_velocity_walkway_module autoware_motion_velocity_boundary_departure_prevention_module autoware_motion_velocity_dynamic_obstacle_stop_module autoware_motion_velocity_obstacle_cruise_module autoware_motion_velocity_obstacle_slow_down_module autoware_motion_velocity_obstacle_velocity_limiter_module autoware_motion_velocity_out_of_lane_module autoware_motion_velocity_road_user_stop_module autoware_motion_velocity_run_out_module autoware_planning_validator autoware_planning_validator_intersection_collision_checker autoware_planning_validator_latency_checker autoware_planning_validator_rear_collision_checker autoware_planning_validator_test_utils autoware_planning_validator_trajectory_checker autoware_bezier_sampler autoware_frenet_planner autoware_path_sampler autoware_sampler_common autoware_calibration_status_classifier autoware_cuda_pointcloud_preprocessor autoware_cuda_utils autoware_image_diagnostics autoware_image_transport_decompressor autoware_imu_corrector autoware_pcl_extensions autoware_pointcloud_preprocessor autoware_radar_objects_adapter autoware_radar_scan_to_pointcloud2 autoware_radar_static_pointcloud_filter autoware_radar_threshold_filter autoware_radar_tracks_noise_filter autoware_carla_interface autoware_dummy_diag_publisher autoware_dummy_infrastructure autoware_dummy_traffic_light_publisher autoware_fault_injection autoware_redundancy_command_selector autoware_vehicle_door_simulator tier4_dummy_object_rviz_plugin autoware_command_mode_decider autoware_command_mode_decider_plugins autoware_command_mode_switcher autoware_command_mode_switcher_plugins autoware_command_mode_types autoware_component_monitor autoware_component_state_monitor autoware_adapi_visualizers autoware_default_adapi_universe autoware_diagnostic_graph_aggregator autoware_diagnostic_graph_merger autoware_diagnostic_graph_utils autoware_driving_mode_manager autoware_duplicated_node_checker autoware_generic_service_divider autoware_hazard_status_converter autoware_mrm_comfortable_stop_operator autoware_mrm_emergency_stop_operator autoware_mrm_handler autoware_mrm_in_lane_stop_operator autoware_mrm_reset_manager autoware_mrm_steering_hold_stop_operator autoware_pipeline_latency_monitor autoware_processing_time_checker autoware_redundancy_adapi_switcher autoware_redundancy_switcher_interface autoware_redundancy_switcher_interface_plugins autoware_system_monitor autoware_topic_relay_controller autoware_topic_state_monitor autoware_velodyne_monitor autoware_accel_brake_map_calibrator autoware_external_cmd_converter autoware_raw_vehicle_cmd_converter autoware_steer_offset_estimator autoware_bag_time_manager_rviz_plugin autoware_traffic_light_rviz_plugin tier4_active_generator_rviz_plugin tier4_adapi_rviz_plugin tier4_camera_view_rviz_plugin tier4_control_mode_rviz_plugin tier4_datetime_rviz_plugin tier4_manual_lane_change_rviz_plugin tier4_perception_rviz_plugin tier4_planning_factor_rviz_plugin tier4_state_rviz_plugin tier4_traffic_light_rviz_plugin tier4_vehicle_rviz_plugin

ROS Distro
github

Package Summary

Version 0.53.0
License Apache License 2.0
Build type AMENT_CMAKE
Use RECOMMENDED

Repository Summary

Description
Checkout URI https://github.com/autowarefoundation/autoware_universe.git
VCS Type git
VCS Version main
Last Updated 2026-10-08
Dev Status UNKNOWN
Released UNRELEASED
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Package Description

MRM in-lane stop trajectory planner (Phase1)

Maintainers

  • Takumi Odashima

Authors

No additional authors.

autoware_in_lane_mrm_planner

MRM in-lane stop trajectory planner (Phase1).

Design

See docs/design_phase1.md and docs/implementation_plan_phase1.md.

Build

From pilot-auto.x2.v4.3.2 repository root (after workspace dependencies are installed):

./cmd_helper.sh --build_ccache --packages-select autoware_in_lane_mrm_planner

Do not run package builds in parallel with a full workspace build.

Launch

ros2 launch autoware_in_lane_mrm_planner in_lane_mrm_planner.launch.xml

In-lane stop trigger

The planner subscribes the trigger published by autoware_mrm_in_lane_stop_operator directly (the former mrm_trigger_relay node was removed).

Item Value
Topic (node) ~/input/trigger
Default remap /system/in_lane_stop/trigger (launch arg input_trigger_topic)
Type tier4_system_msgs/msg/InLaneStopTrigger (stamp, trigger, profile)
QoS reliable, transient_local, depth 1 (the operator publishes on change only)

The trigger only selects a deceleration profile; the constraint values are owned by the planner (mrm_velocity.profiles.<name>).

  • Every cycle while unlatched, the path is planned once and a velocity profile is filled for every profile (moderate, emergency). The moderate candidate is published as the hot-standby output.
  • trigger: true latches the candidate of the requested profile (the one planned in the previous cycle). If no candidate of that profile exists yet (e.g. the planner started after the trigger), the latch is retried every cycle.
  • A profile change while triggered (e.g. moderate -> emergency) re-plans from the current state and re-latches the new profile. Only a candidate planned in that cycle is re-latched; if planning fails the current latch is kept and the re-latch is retried.
  • trigger: false unlatches (and releases the latched objects).
  • An unknown profile value (e.g. PROFILE_UNKNOWN) with trigger: true is treated as moderate and reported with a throttled error log.

Parameters: MRM stop velocity

Name Default (L4) Description
mrm_velocity.profiles.moderate.target_deceleration -3.0 Target deceleration of PROFILE_MODERATE [m/s^2]
mrm_velocity.profiles.moderate.target_jerk -5.0 Target jerk of PROFILE_MODERATE [m/s^3]
mrm_velocity.profiles.moderate.max_deceleration_relaxation -4.0 Relaxation limit of the deceleration [m/s^2]
mrm_velocity.profiles.moderate.max_jerk_relaxation -10.0 Relaxation limit of the jerk [m/s^3]
mrm_velocity.profiles.emergency.target_deceleration -6.0 Target deceleration of PROFILE_EMERGENCY [m/s^2]
mrm_velocity.profiles.emergency.target_jerk -20.0 Target jerk of PROFILE_EMERGENCY [m/s^3]
mrm_velocity.profiles.emergency.max_deceleration_relaxation -8.0 Relaxation limit of the deceleration [m/s^2]
mrm_velocity.profiles.emergency.max_jerk_relaxation -30.0 Relaxation limit of the jerk [m/s^3]
mrm_velocity.step_deceleration_relaxation -1.0 Deceleration relaxation step (shared) [m/s^2]
mrm_velocity.step_jerk_relaxation -5.0 Jerk relaxation step (shared) [m/s^3]
mrm_velocity.brake_delay_time 0.5 Brake dead time before the ramp (shared) [s]

Split parameter files per operation class if different constraint values are needed.

Road border stop (Phase2)

MrmRoadBorderStopPlanner (applied inside the trajectory modifier right after the obstacle stop) sweeps the vehicle footprint along the candidate trajectory from the ego nearest point and inserts a stop point road_border_stop.stop_margin before the first interference with a map road border. Boundaries are the lanelet2 linestrings whose type attribute is listed in road_border_stop.boundary_types_to_detect (default ["road_border"]); their segments are indexed in an R-tree that is rebuilt only when the map instance changes. The contact arc length is refined by bisection between the last non-interfering and the first interfering trajectory point. The stop point is never placed behind the ego. Deceleration feasibility is left to MrmStopVelocityPlanner, which relaxes deceleration / jerk of each profile up to mrm_velocity.profiles.<profile>.max_*_relaxation when the stop point is close.

The footprint sweep starts at the ego pose itself and then continues over the trajectory points ahead of the ego, so a border behind the vehicle is never reported.

Outputs:

Output Topic Type
Planning factor /planning/planning_factors/in_lane_mrm_road_border_stop autoware_internal_planning_msgs/msg/PlanningFactorArray (STOP)
Debug markers ~/road_border_stop/debug/marker (node-relative, not remapped) visualization_msgs/msg/MarkerArray

The debug marker topic is relative to the node name, so with the default launch it resolves to /in_lane_mrm_planner/road_border_stop/debug/marker (not /planning/...). It contains the contact footprint, the contact segment / point and a stop virtual wall. The wall is drawn at the stop pose shifted by the vehicle front (max_longitudinal_offset), i.e. where the vehicle front will be when stopped.

While the trigger is latched the candidates are not re-planned. The planning factor and the

File truncated at 100 lines see the full file

CHANGELOG

Changelog for package autoware_in_lane_mrm_planner

0.53.0 (2026-09-29)

  • Merge remote-tracking branch 'origin/main' into prepare-0.53.0-changelog

  • feat(autoware_in_lane_mrm_planner): keep publishing road border stop reason while latched (#13432)

    * feat(autoware_in_lane_mrm_planner): keep publishing road border stop reason while latched While the in-lane stop trigger is latched the candidates are not re-planned, so the road border stop planning factor and debug markers stopped being published at the trigger and the stop reason disappeared from rviz during the MRM. Re-publish the contact the latched trajectory was planned with (debug markers and the planning factor, whose distance is measured from the current ego pose) until the trigger is released. The stop pose is kept with the contact since the latched trajectory may be resampled afterwards. Co-Authored-By: Claude Opus 5.5 (1M context) <<noreply@anthropic.com>>

    * refactor(autoware_in_lane_mrm_planner): remove unused RoadBorderContact::stop_index The stop point is now referenced by stop_pose only. Co-Authored-By: Claude Opus 5.5 <<noreply@anthropic.com>> ---------Co-authored-by: Claude Opus 5.5 (1M context) <<noreply@anthropic.com>>

  • feat(autoware_in_lane_mrm_planner): add road border stop (#13430)

    * feat(autoware_in_lane_mrm_planner): add road border stop Insert a stop point before the vehicle footprint interferes with a map road border (REQ-003 of the in-lane stop planning design, Phase2). Ported from mkuri/autoware.universe feat/in-lane-mrm-planner-road-border-stop (69bc5ef3a, reviewed as TetsuKawa/autoware_universe#13) onto the InLaneStopTrigger / per-profile planner.

    - Add MrmRoadBorderStopPlanner: sweeps the footprint along the candidate trajectory from the ego nearest point, queries lanelet2 linestring segments of the configured types (default road_border) through an R-tree rebuilt only when the map instance changes, refines the contact arc length by bisection and inserts a stop point stop_margin before the contact, never behind the ego. Segments outside ego z +/- vehicle height are ignored.

    - Apply it in the trajectory modifier right after the obstacle stop, once per cycle on the shared base trajectory; the stop point reaches MrmStopVelocityPlanner as a zero velocity constraint for every profile, so deceleration relaxation (per profile) stays in one place.

    - Publish PlanningFactor (STOP) under in_lane_mrm_road_border_stop and debug markers (contact footprint / segment / point, stop virtual wall).

    • Add road_border_stop parameters (yaml, config, schema) and README section.

    - Add 11 unit tests with a synthetic lanelet map. Co-Authored-By: Claude Opus 5.5 (1M context) <<noreply@anthropic.com>>

    * fix(autoware_in_lane_mrm_planner): start road border contact search at the ego pose The sweep started at the trajectory point returned by findNearestSegmentIndex, i.e. the start of the segment the ego is on, up to one point interval behind base_link. A border just behind the ego rear could therefore be reported as a contact at the ego (stop at ego), and the debug contact footprint was drawn behind the vehicle.

    - Evaluate the ego footprint first, then only trajectory points ahead of the ego; the bisection refines between the ego pose and the first interfering point.

    - Keep the refined contact pose in RoadBorderContact and draw the debug contact footprint there (the contact index shifts when the stop point is inserted).

    - Add tests for a border behind the ego footprint and a contact refined from an ego pose between trajectory points. Co-Authored-By: Claude Opus 5.5 (1M context) <<noreply@anthropic.com>>

    * docs(autoware_in_lane_mrm_planner): document road border stop output topics The debug marker topic [~/road_border_stop/debug/marker]{.title-ref} is node-relative and resolves to [/in_lane_mrm_planner/road_border_stop/debug/marker]{.title-ref} with the default launch, not [/planning/...]{.title-ref} as assumed in verification procedures. List the planning factor and marker topics explicitly and describe the stop wall position and the ego-first footprint sweep. Co-Authored-By: Claude Opus 5.5 (1M context) <<noreply@anthropic.com>>

    • refactor(autoware_in_lane_mrm_planner): remove unused road border stop members

    - Remove the unused debug_footprints_ member and RoadBorderContact::contact_index (the stop point is based on

File truncated at 100 lines see the full file

Launch files

  • launch/in_lane_mrm_planner.launch.xml
      • param_path [default: $(find-pkg-share autoware_in_lane_mrm_planner)/config/in_lane_mrm_planner.param.yaml]
      • eb_param_path [default: $(find-pkg-share autoware_in_lane_mrm_planner)/config/elastic_band_smoother.param.yaml]
      • input_route [default: /main/planning/mission_planning/route]
      • input_vector_map [default: /main/map/vector_map]
      • input_kinematic_state [default: /localization/kinematic_state]
      • input_acceleration [default: /localization/acceleration]
      • input_objects [default: /main/perception/object_recognition/objects]
      • input_trigger_topic [default: /system/in_lane_stop/trigger]
      • output_trajectory [default: /planning/in_lane_mrm_planner/output/trajectory]
      • output_planner_status [default: /planning/in_lane_mrm_planner/debug/planner_status]
      • output_gate_gear [default: /control/control_command_gate/inputs/in_lane_stop/gear]
      • output_gate_hazard [default: /control/control_command_gate/inputs/in_lane_stop/hazard_lights]
      • output_gate_turn [default: /control/control_command_gate/inputs/in_lane_stop/turn_indicators]
      • auxiliary_commands_publish_hz [default: 10.0]

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged autoware_in_lane_mrm_planner at Robotics Stack Exchange

No version for distro jazzy showing github. Known supported distros are highlighted in the buttons above.
Package symbol

autoware_in_lane_mrm_planner package from autoware_universe repo

autoware_boundary_departure_checker autoware_component_interface_specs_universe autoware_cuda_dependency_meta autoware_deprecated_boundary_departure_checker autoware_fake_test_node autoware_glog_component autoware_goal_distance_calculator autoware_grid_map_utils autoware_obstacle_proximity_checker autoware_path_distance_calculator autoware_polar_grid autoware_time_utils autoware_traffic_light_compliance_checker autoware_traffic_light_recognition_marker_publisher autoware_traffic_light_utils autoware_universe_utils tier4_api_utils autoware_autonomous_emergency_braking autoware_collision_detector autoware_control_command_gate autoware_control_performance_analysis autoware_control_validator autoware_external_cmd_selector autoware_joy_controller autoware_lane_departure_checker autoware_mpc_lateral_controller autoware_obstacle_collision_checker autoware_operation_mode_transition_manager autoware_pid_longitudinal_controller autoware_predicted_path_checker autoware_pure_pursuit autoware_shift_decider autoware_smart_mpc_trajectory_follower autoware_spheric_collision_detector autoware_stop_mode_operator autoware_trajectory_follower_base autoware_trajectory_follower_node autoware_vehicle_cmd_gate autoware_tensorrt_vad autoware_control_evaluator autoware_evaluation_adapter autoware_kinematic_evaluator autoware_localization_evaluator autoware_perception_online_evaluator autoware_planning_evaluator autoware_scenario_simulator_v2_adapter autoware_diagnostic_graph_test_examples autoware_geo_pose_projector autoware_ar_tag_based_localizer autoware_landmark_manager autoware_lidar_marker_localizer autoware_localization_error_monitor autoware_pose2twist autoware_pose_covariance_modifier autoware_pose_estimator_arbiter autoware_pose_initialization_requester autoware_pose_instability_detector yabloc_common yabloc_image_processing yabloc_monitor yabloc_particle_filter yabloc_pose_initializer autoware_map_tf_generator autoware_bevfusion autoware_bytetrack autoware_camera_streampetr autoware_cluster_merger autoware_compare_map_segmentation autoware_crosswalk_traffic_light_estimator autoware_detected_object_feature_remover autoware_detected_object_validation autoware_detection_by_tracker autoware_elevation_map_loader autoware_euclidean_cluster autoware_ground_segmentation autoware_ground_segmentation_cuda autoware_image_object_locator autoware_image_projection_based_fusion autoware_lidar_apollo_instance_segmentation autoware_lidar_centerpoint autoware_lidar_frnet autoware_lidar_transfusion autoware_map_based_prediction autoware_multi_object_tracker autoware_object_merger autoware_object_sorter autoware_occupancy_grid_map_outlier_filter autoware_predicted_path_postprocessor autoware_probabilistic_occupancy_grid_map autoware_ptv3 autoware_radar_fusion_to_detected_object autoware_radar_object_tracker autoware_radar_tracks_msgs_converter autoware_raindrop_cluster_filter autoware_shape_estimation autoware_simpl_prediction autoware_simple_object_merger autoware_tensorrt_bevdet autoware_tensorrt_bevformer autoware_tensorrt_classifier autoware_tensorrt_common autoware_tensorrt_plugins autoware_tensorrt_yolox autoware_tracking_object_merger autoware_traffic_light_arbiter autoware_traffic_light_category_merger autoware_traffic_light_classifier autoware_traffic_light_fine_detector autoware_traffic_light_map_based_detector autoware_traffic_light_multi_camera_fusion autoware_traffic_light_occlusion_predictor autoware_traffic_light_pipeline autoware_traffic_light_selector autoware_traffic_light_visualization perception_utils autoware_costmap_generator autoware_diffusion_planner autoware_external_velocity_limit_selector autoware_freespace_planner autoware_freespace_planning_algorithms autoware_hazard_lights_selector autoware_in_lane_mrm_planner autoware_manual_lane_change_handler autoware_minimum_rule_based_planner autoware_mission_planner_universe autoware_path_optimizer autoware_path_smoother autoware_remaining_distance_time_calculator autoware_rtc_interface autoware_scenario_selector autoware_surround_obstacle_checker autoware_trajectory_adapter autoware_trajectory_concatenator autoware_trajectory_gate autoware_trajectory_modifier autoware_trajectory_ranker autoware_trajectory_selector autoware_trajectory_validator autoware_behavior_path_avoidance_by_lane_change_module autoware_behavior_path_bidirectional_traffic_module autoware_behavior_path_direction_change_module autoware_behavior_path_dynamic_obstacle_avoidance_module autoware_behavior_path_external_request_lane_change_module autoware_behavior_path_goal_planner_module autoware_behavior_path_lane_change_module autoware_behavior_path_planner autoware_behavior_path_planner_common autoware_behavior_path_sampling_planner_module autoware_behavior_path_side_shift_module autoware_behavior_path_start_planner_module autoware_behavior_path_static_obstacle_avoidance_module autoware_behavior_velocity_blind_spot_module autoware_behavior_velocity_crosswalk_module autoware_behavior_velocity_detection_area_module autoware_behavior_velocity_intersection_module autoware_behavior_velocity_no_drivable_lane_module autoware_behavior_velocity_no_stopping_area_module autoware_behavior_velocity_occlusion_spot_module autoware_behavior_velocity_roundabout_module autoware_behavior_velocity_rtc_interface autoware_behavior_velocity_speed_bump_module autoware_behavior_velocity_template_module autoware_behavior_velocity_traffic_light_module autoware_behavior_velocity_virtual_traffic_light_module autoware_behavior_velocity_walkway_module autoware_motion_velocity_boundary_departure_prevention_module autoware_motion_velocity_dynamic_obstacle_stop_module autoware_motion_velocity_obstacle_cruise_module autoware_motion_velocity_obstacle_slow_down_module autoware_motion_velocity_obstacle_velocity_limiter_module autoware_motion_velocity_out_of_lane_module autoware_motion_velocity_road_user_stop_module autoware_motion_velocity_run_out_module autoware_planning_validator autoware_planning_validator_intersection_collision_checker autoware_planning_validator_latency_checker autoware_planning_validator_rear_collision_checker autoware_planning_validator_test_utils autoware_planning_validator_trajectory_checker autoware_bezier_sampler autoware_frenet_planner autoware_path_sampler autoware_sampler_common autoware_calibration_status_classifier autoware_cuda_pointcloud_preprocessor autoware_cuda_utils autoware_image_diagnostics autoware_image_transport_decompressor autoware_imu_corrector autoware_pcl_extensions autoware_pointcloud_preprocessor autoware_radar_objects_adapter autoware_radar_scan_to_pointcloud2 autoware_radar_static_pointcloud_filter autoware_radar_threshold_filter autoware_radar_tracks_noise_filter autoware_carla_interface autoware_dummy_diag_publisher autoware_dummy_infrastructure autoware_dummy_traffic_light_publisher autoware_fault_injection autoware_redundancy_command_selector autoware_vehicle_door_simulator tier4_dummy_object_rviz_plugin autoware_command_mode_decider autoware_command_mode_decider_plugins autoware_command_mode_switcher autoware_command_mode_switcher_plugins autoware_command_mode_types autoware_component_monitor autoware_component_state_monitor autoware_adapi_visualizers autoware_default_adapi_universe autoware_diagnostic_graph_aggregator autoware_diagnostic_graph_merger autoware_diagnostic_graph_utils autoware_driving_mode_manager autoware_duplicated_node_checker autoware_generic_service_divider autoware_hazard_status_converter autoware_mrm_comfortable_stop_operator autoware_mrm_emergency_stop_operator autoware_mrm_handler autoware_mrm_in_lane_stop_operator autoware_mrm_reset_manager autoware_mrm_steering_hold_stop_operator autoware_pipeline_latency_monitor autoware_processing_time_checker autoware_redundancy_adapi_switcher autoware_redundancy_switcher_interface autoware_redundancy_switcher_interface_plugins autoware_system_monitor autoware_topic_relay_controller autoware_topic_state_monitor autoware_velodyne_monitor autoware_accel_brake_map_calibrator autoware_external_cmd_converter autoware_raw_vehicle_cmd_converter autoware_steer_offset_estimator autoware_bag_time_manager_rviz_plugin autoware_traffic_light_rviz_plugin tier4_active_generator_rviz_plugin tier4_adapi_rviz_plugin tier4_camera_view_rviz_plugin tier4_control_mode_rviz_plugin tier4_datetime_rviz_plugin tier4_manual_lane_change_rviz_plugin tier4_perception_rviz_plugin tier4_planning_factor_rviz_plugin tier4_state_rviz_plugin tier4_traffic_light_rviz_plugin tier4_vehicle_rviz_plugin

ROS Distro
github

Package Summary

Version 0.53.0
License Apache License 2.0
Build type AMENT_CMAKE
Use RECOMMENDED

Repository Summary

Description
Checkout URI https://github.com/autowarefoundation/autoware_universe.git
VCS Type git
VCS Version main
Last Updated 2026-10-08
Dev Status UNKNOWN
Released UNRELEASED
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Package Description

MRM in-lane stop trajectory planner (Phase1)

Maintainers

  • Takumi Odashima

Authors

No additional authors.

autoware_in_lane_mrm_planner

MRM in-lane stop trajectory planner (Phase1).

Design

See docs/design_phase1.md and docs/implementation_plan_phase1.md.

Build

From pilot-auto.x2.v4.3.2 repository root (after workspace dependencies are installed):

./cmd_helper.sh --build_ccache --packages-select autoware_in_lane_mrm_planner

Do not run package builds in parallel with a full workspace build.

Launch

ros2 launch autoware_in_lane_mrm_planner in_lane_mrm_planner.launch.xml

In-lane stop trigger

The planner subscribes the trigger published by autoware_mrm_in_lane_stop_operator directly (the former mrm_trigger_relay node was removed).

Item Value
Topic (node) ~/input/trigger
Default remap /system/in_lane_stop/trigger (launch arg input_trigger_topic)
Type tier4_system_msgs/msg/InLaneStopTrigger (stamp, trigger, profile)
QoS reliable, transient_local, depth 1 (the operator publishes on change only)

The trigger only selects a deceleration profile; the constraint values are owned by the planner (mrm_velocity.profiles.<name>).

  • Every cycle while unlatched, the path is planned once and a velocity profile is filled for every profile (moderate, emergency). The moderate candidate is published as the hot-standby output.
  • trigger: true latches the candidate of the requested profile (the one planned in the previous cycle). If no candidate of that profile exists yet (e.g. the planner started after the trigger), the latch is retried every cycle.
  • A profile change while triggered (e.g. moderate -> emergency) re-plans from the current state and re-latches the new profile. Only a candidate planned in that cycle is re-latched; if planning fails the current latch is kept and the re-latch is retried.
  • trigger: false unlatches (and releases the latched objects).
  • An unknown profile value (e.g. PROFILE_UNKNOWN) with trigger: true is treated as moderate and reported with a throttled error log.

Parameters: MRM stop velocity

Name Default (L4) Description
mrm_velocity.profiles.moderate.target_deceleration -3.0 Target deceleration of PROFILE_MODERATE [m/s^2]
mrm_velocity.profiles.moderate.target_jerk -5.0 Target jerk of PROFILE_MODERATE [m/s^3]
mrm_velocity.profiles.moderate.max_deceleration_relaxation -4.0 Relaxation limit of the deceleration [m/s^2]
mrm_velocity.profiles.moderate.max_jerk_relaxation -10.0 Relaxation limit of the jerk [m/s^3]
mrm_velocity.profiles.emergency.target_deceleration -6.0 Target deceleration of PROFILE_EMERGENCY [m/s^2]
mrm_velocity.profiles.emergency.target_jerk -20.0 Target jerk of PROFILE_EMERGENCY [m/s^3]
mrm_velocity.profiles.emergency.max_deceleration_relaxation -8.0 Relaxation limit of the deceleration [m/s^2]
mrm_velocity.profiles.emergency.max_jerk_relaxation -30.0 Relaxation limit of the jerk [m/s^3]
mrm_velocity.step_deceleration_relaxation -1.0 Deceleration relaxation step (shared) [m/s^2]
mrm_velocity.step_jerk_relaxation -5.0 Jerk relaxation step (shared) [m/s^3]
mrm_velocity.brake_delay_time 0.5 Brake dead time before the ramp (shared) [s]

Split parameter files per operation class if different constraint values are needed.

Road border stop (Phase2)

MrmRoadBorderStopPlanner (applied inside the trajectory modifier right after the obstacle stop) sweeps the vehicle footprint along the candidate trajectory from the ego nearest point and inserts a stop point road_border_stop.stop_margin before the first interference with a map road border. Boundaries are the lanelet2 linestrings whose type attribute is listed in road_border_stop.boundary_types_to_detect (default ["road_border"]); their segments are indexed in an R-tree that is rebuilt only when the map instance changes. The contact arc length is refined by bisection between the last non-interfering and the first interfering trajectory point. The stop point is never placed behind the ego. Deceleration feasibility is left to MrmStopVelocityPlanner, which relaxes deceleration / jerk of each profile up to mrm_velocity.profiles.<profile>.max_*_relaxation when the stop point is close.

The footprint sweep starts at the ego pose itself and then continues over the trajectory points ahead of the ego, so a border behind the vehicle is never reported.

Outputs:

Output Topic Type
Planning factor /planning/planning_factors/in_lane_mrm_road_border_stop autoware_internal_planning_msgs/msg/PlanningFactorArray (STOP)
Debug markers ~/road_border_stop/debug/marker (node-relative, not remapped) visualization_msgs/msg/MarkerArray

The debug marker topic is relative to the node name, so with the default launch it resolves to /in_lane_mrm_planner/road_border_stop/debug/marker (not /planning/...). It contains the contact footprint, the contact segment / point and a stop virtual wall. The wall is drawn at the stop pose shifted by the vehicle front (max_longitudinal_offset), i.e. where the vehicle front will be when stopped.

While the trigger is latched the candidates are not re-planned. The planning factor and the

File truncated at 100 lines see the full file

CHANGELOG

Changelog for package autoware_in_lane_mrm_planner

0.53.0 (2026-09-29)

  • Merge remote-tracking branch 'origin/main' into prepare-0.53.0-changelog

  • feat(autoware_in_lane_mrm_planner): keep publishing road border stop reason while latched (#13432)

    * feat(autoware_in_lane_mrm_planner): keep publishing road border stop reason while latched While the in-lane stop trigger is latched the candidates are not re-planned, so the road border stop planning factor and debug markers stopped being published at the trigger and the stop reason disappeared from rviz during the MRM. Re-publish the contact the latched trajectory was planned with (debug markers and the planning factor, whose distance is measured from the current ego pose) until the trigger is released. The stop pose is kept with the contact since the latched trajectory may be resampled afterwards. Co-Authored-By: Claude Opus 5.5 (1M context) <<noreply@anthropic.com>>

    * refactor(autoware_in_lane_mrm_planner): remove unused RoadBorderContact::stop_index The stop point is now referenced by stop_pose only. Co-Authored-By: Claude Opus 5.5 <<noreply@anthropic.com>> ---------Co-authored-by: Claude Opus 5.5 (1M context) <<noreply@anthropic.com>>

  • feat(autoware_in_lane_mrm_planner): add road border stop (#13430)

    * feat(autoware_in_lane_mrm_planner): add road border stop Insert a stop point before the vehicle footprint interferes with a map road border (REQ-003 of the in-lane stop planning design, Phase2). Ported from mkuri/autoware.universe feat/in-lane-mrm-planner-road-border-stop (69bc5ef3a, reviewed as TetsuKawa/autoware_universe#13) onto the InLaneStopTrigger / per-profile planner.

    - Add MrmRoadBorderStopPlanner: sweeps the footprint along the candidate trajectory from the ego nearest point, queries lanelet2 linestring segments of the configured types (default road_border) through an R-tree rebuilt only when the map instance changes, refines the contact arc length by bisection and inserts a stop point stop_margin before the contact, never behind the ego. Segments outside ego z +/- vehicle height are ignored.

    - Apply it in the trajectory modifier right after the obstacle stop, once per cycle on the shared base trajectory; the stop point reaches MrmStopVelocityPlanner as a zero velocity constraint for every profile, so deceleration relaxation (per profile) stays in one place.

    - Publish PlanningFactor (STOP) under in_lane_mrm_road_border_stop and debug markers (contact footprint / segment / point, stop virtual wall).

    • Add road_border_stop parameters (yaml, config, schema) and README section.

    - Add 11 unit tests with a synthetic lanelet map. Co-Authored-By: Claude Opus 5.5 (1M context) <<noreply@anthropic.com>>

    * fix(autoware_in_lane_mrm_planner): start road border contact search at the ego pose The sweep started at the trajectory point returned by findNearestSegmentIndex, i.e. the start of the segment the ego is on, up to one point interval behind base_link. A border just behind the ego rear could therefore be reported as a contact at the ego (stop at ego), and the debug contact footprint was drawn behind the vehicle.

    - Evaluate the ego footprint first, then only trajectory points ahead of the ego; the bisection refines between the ego pose and the first interfering point.

    - Keep the refined contact pose in RoadBorderContact and draw the debug contact footprint there (the contact index shifts when the stop point is inserted).

    - Add tests for a border behind the ego footprint and a contact refined from an ego pose between trajectory points. Co-Authored-By: Claude Opus 5.5 (1M context) <<noreply@anthropic.com>>

    * docs(autoware_in_lane_mrm_planner): document road border stop output topics The debug marker topic [~/road_border_stop/debug/marker]{.title-ref} is node-relative and resolves to [/in_lane_mrm_planner/road_border_stop/debug/marker]{.title-ref} with the default launch, not [/planning/...]{.title-ref} as assumed in verification procedures. List the planning factor and marker topics explicitly and describe the stop wall position and the ego-first footprint sweep. Co-Authored-By: Claude Opus 5.5 (1M context) <<noreply@anthropic.com>>

    • refactor(autoware_in_lane_mrm_planner): remove unused road border stop members

    - Remove the unused debug_footprints_ member and RoadBorderContact::contact_index (the stop point is based on

File truncated at 100 lines see the full file

Launch files

  • launch/in_lane_mrm_planner.launch.xml
      • param_path [default: $(find-pkg-share autoware_in_lane_mrm_planner)/config/in_lane_mrm_planner.param.yaml]
      • eb_param_path [default: $(find-pkg-share autoware_in_lane_mrm_planner)/config/elastic_band_smoother.param.yaml]
      • input_route [default: /main/planning/mission_planning/route]
      • input_vector_map [default: /main/map/vector_map]
      • input_kinematic_state [default: /localization/kinematic_state]
      • input_acceleration [default: /localization/acceleration]
      • input_objects [default: /main/perception/object_recognition/objects]
      • input_trigger_topic [default: /system/in_lane_stop/trigger]
      • output_trajectory [default: /planning/in_lane_mrm_planner/output/trajectory]
      • output_planner_status [default: /planning/in_lane_mrm_planner/debug/planner_status]
      • output_gate_gear [default: /control/control_command_gate/inputs/in_lane_stop/gear]
      • output_gate_hazard [default: /control/control_command_gate/inputs/in_lane_stop/hazard_lights]
      • output_gate_turn [default: /control/control_command_gate/inputs/in_lane_stop/turn_indicators]
      • auxiliary_commands_publish_hz [default: 10.0]

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged autoware_in_lane_mrm_planner at Robotics Stack Exchange

No version for distro kilted showing github. Known supported distros are highlighted in the buttons above.
Package symbol

autoware_in_lane_mrm_planner package from autoware_universe repo

autoware_boundary_departure_checker autoware_component_interface_specs_universe autoware_cuda_dependency_meta autoware_deprecated_boundary_departure_checker autoware_fake_test_node autoware_glog_component autoware_goal_distance_calculator autoware_grid_map_utils autoware_obstacle_proximity_checker autoware_path_distance_calculator autoware_polar_grid autoware_time_utils autoware_traffic_light_compliance_checker autoware_traffic_light_recognition_marker_publisher autoware_traffic_light_utils autoware_universe_utils tier4_api_utils autoware_autonomous_emergency_braking autoware_collision_detector autoware_control_command_gate autoware_control_performance_analysis autoware_control_validator autoware_external_cmd_selector autoware_joy_controller autoware_lane_departure_checker autoware_mpc_lateral_controller autoware_obstacle_collision_checker autoware_operation_mode_transition_manager autoware_pid_longitudinal_controller autoware_predicted_path_checker autoware_pure_pursuit autoware_shift_decider autoware_smart_mpc_trajectory_follower autoware_spheric_collision_detector autoware_stop_mode_operator autoware_trajectory_follower_base autoware_trajectory_follower_node autoware_vehicle_cmd_gate autoware_tensorrt_vad autoware_control_evaluator autoware_evaluation_adapter autoware_kinematic_evaluator autoware_localization_evaluator autoware_perception_online_evaluator autoware_planning_evaluator autoware_scenario_simulator_v2_adapter autoware_diagnostic_graph_test_examples autoware_geo_pose_projector autoware_ar_tag_based_localizer autoware_landmark_manager autoware_lidar_marker_localizer autoware_localization_error_monitor autoware_pose2twist autoware_pose_covariance_modifier autoware_pose_estimator_arbiter autoware_pose_initialization_requester autoware_pose_instability_detector yabloc_common yabloc_image_processing yabloc_monitor yabloc_particle_filter yabloc_pose_initializer autoware_map_tf_generator autoware_bevfusion autoware_bytetrack autoware_camera_streampetr autoware_cluster_merger autoware_compare_map_segmentation autoware_crosswalk_traffic_light_estimator autoware_detected_object_feature_remover autoware_detected_object_validation autoware_detection_by_tracker autoware_elevation_map_loader autoware_euclidean_cluster autoware_ground_segmentation autoware_ground_segmentation_cuda autoware_image_object_locator autoware_image_projection_based_fusion autoware_lidar_apollo_instance_segmentation autoware_lidar_centerpoint autoware_lidar_frnet autoware_lidar_transfusion autoware_map_based_prediction autoware_multi_object_tracker autoware_object_merger autoware_object_sorter autoware_occupancy_grid_map_outlier_filter autoware_predicted_path_postprocessor autoware_probabilistic_occupancy_grid_map autoware_ptv3 autoware_radar_fusion_to_detected_object autoware_radar_object_tracker autoware_radar_tracks_msgs_converter autoware_raindrop_cluster_filter autoware_shape_estimation autoware_simpl_prediction autoware_simple_object_merger autoware_tensorrt_bevdet autoware_tensorrt_bevformer autoware_tensorrt_classifier autoware_tensorrt_common autoware_tensorrt_plugins autoware_tensorrt_yolox autoware_tracking_object_merger autoware_traffic_light_arbiter autoware_traffic_light_category_merger autoware_traffic_light_classifier autoware_traffic_light_fine_detector autoware_traffic_light_map_based_detector autoware_traffic_light_multi_camera_fusion autoware_traffic_light_occlusion_predictor autoware_traffic_light_pipeline autoware_traffic_light_selector autoware_traffic_light_visualization perception_utils autoware_costmap_generator autoware_diffusion_planner autoware_external_velocity_limit_selector autoware_freespace_planner autoware_freespace_planning_algorithms autoware_hazard_lights_selector autoware_in_lane_mrm_planner autoware_manual_lane_change_handler autoware_minimum_rule_based_planner autoware_mission_planner_universe autoware_path_optimizer autoware_path_smoother autoware_remaining_distance_time_calculator autoware_rtc_interface autoware_scenario_selector autoware_surround_obstacle_checker autoware_trajectory_adapter autoware_trajectory_concatenator autoware_trajectory_gate autoware_trajectory_modifier autoware_trajectory_ranker autoware_trajectory_selector autoware_trajectory_validator autoware_behavior_path_avoidance_by_lane_change_module autoware_behavior_path_bidirectional_traffic_module autoware_behavior_path_direction_change_module autoware_behavior_path_dynamic_obstacle_avoidance_module autoware_behavior_path_external_request_lane_change_module autoware_behavior_path_goal_planner_module autoware_behavior_path_lane_change_module autoware_behavior_path_planner autoware_behavior_path_planner_common autoware_behavior_path_sampling_planner_module autoware_behavior_path_side_shift_module autoware_behavior_path_start_planner_module autoware_behavior_path_static_obstacle_avoidance_module autoware_behavior_velocity_blind_spot_module autoware_behavior_velocity_crosswalk_module autoware_behavior_velocity_detection_area_module autoware_behavior_velocity_intersection_module autoware_behavior_velocity_no_drivable_lane_module autoware_behavior_velocity_no_stopping_area_module autoware_behavior_velocity_occlusion_spot_module autoware_behavior_velocity_roundabout_module autoware_behavior_velocity_rtc_interface autoware_behavior_velocity_speed_bump_module autoware_behavior_velocity_template_module autoware_behavior_velocity_traffic_light_module autoware_behavior_velocity_virtual_traffic_light_module autoware_behavior_velocity_walkway_module autoware_motion_velocity_boundary_departure_prevention_module autoware_motion_velocity_dynamic_obstacle_stop_module autoware_motion_velocity_obstacle_cruise_module autoware_motion_velocity_obstacle_slow_down_module autoware_motion_velocity_obstacle_velocity_limiter_module autoware_motion_velocity_out_of_lane_module autoware_motion_velocity_road_user_stop_module autoware_motion_velocity_run_out_module autoware_planning_validator autoware_planning_validator_intersection_collision_checker autoware_planning_validator_latency_checker autoware_planning_validator_rear_collision_checker autoware_planning_validator_test_utils autoware_planning_validator_trajectory_checker autoware_bezier_sampler autoware_frenet_planner autoware_path_sampler autoware_sampler_common autoware_calibration_status_classifier autoware_cuda_pointcloud_preprocessor autoware_cuda_utils autoware_image_diagnostics autoware_image_transport_decompressor autoware_imu_corrector autoware_pcl_extensions autoware_pointcloud_preprocessor autoware_radar_objects_adapter autoware_radar_scan_to_pointcloud2 autoware_radar_static_pointcloud_filter autoware_radar_threshold_filter autoware_radar_tracks_noise_filter autoware_carla_interface autoware_dummy_diag_publisher autoware_dummy_infrastructure autoware_dummy_traffic_light_publisher autoware_fault_injection autoware_redundancy_command_selector autoware_vehicle_door_simulator tier4_dummy_object_rviz_plugin autoware_command_mode_decider autoware_command_mode_decider_plugins autoware_command_mode_switcher autoware_command_mode_switcher_plugins autoware_command_mode_types autoware_component_monitor autoware_component_state_monitor autoware_adapi_visualizers autoware_default_adapi_universe autoware_diagnostic_graph_aggregator autoware_diagnostic_graph_merger autoware_diagnostic_graph_utils autoware_driving_mode_manager autoware_duplicated_node_checker autoware_generic_service_divider autoware_hazard_status_converter autoware_mrm_comfortable_stop_operator autoware_mrm_emergency_stop_operator autoware_mrm_handler autoware_mrm_in_lane_stop_operator autoware_mrm_reset_manager autoware_mrm_steering_hold_stop_operator autoware_pipeline_latency_monitor autoware_processing_time_checker autoware_redundancy_adapi_switcher autoware_redundancy_switcher_interface autoware_redundancy_switcher_interface_plugins autoware_system_monitor autoware_topic_relay_controller autoware_topic_state_monitor autoware_velodyne_monitor autoware_accel_brake_map_calibrator autoware_external_cmd_converter autoware_raw_vehicle_cmd_converter autoware_steer_offset_estimator autoware_bag_time_manager_rviz_plugin autoware_traffic_light_rviz_plugin tier4_active_generator_rviz_plugin tier4_adapi_rviz_plugin tier4_camera_view_rviz_plugin tier4_control_mode_rviz_plugin tier4_datetime_rviz_plugin tier4_manual_lane_change_rviz_plugin tier4_perception_rviz_plugin tier4_planning_factor_rviz_plugin tier4_state_rviz_plugin tier4_traffic_light_rviz_plugin tier4_vehicle_rviz_plugin

ROS Distro
github

Package Summary

Version 0.53.0
License Apache License 2.0
Build type AMENT_CMAKE
Use RECOMMENDED

Repository Summary

Description
Checkout URI https://github.com/autowarefoundation/autoware_universe.git
VCS Type git
VCS Version main
Last Updated 2026-10-08
Dev Status UNKNOWN
Released UNRELEASED
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Package Description

MRM in-lane stop trajectory planner (Phase1)

Maintainers

  • Takumi Odashima

Authors

No additional authors.

autoware_in_lane_mrm_planner

MRM in-lane stop trajectory planner (Phase1).

Design

See docs/design_phase1.md and docs/implementation_plan_phase1.md.

Build

From pilot-auto.x2.v4.3.2 repository root (after workspace dependencies are installed):

./cmd_helper.sh --build_ccache --packages-select autoware_in_lane_mrm_planner

Do not run package builds in parallel with a full workspace build.

Launch

ros2 launch autoware_in_lane_mrm_planner in_lane_mrm_planner.launch.xml

In-lane stop trigger

The planner subscribes the trigger published by autoware_mrm_in_lane_stop_operator directly (the former mrm_trigger_relay node was removed).

Item Value
Topic (node) ~/input/trigger
Default remap /system/in_lane_stop/trigger (launch arg input_trigger_topic)
Type tier4_system_msgs/msg/InLaneStopTrigger (stamp, trigger, profile)
QoS reliable, transient_local, depth 1 (the operator publishes on change only)

The trigger only selects a deceleration profile; the constraint values are owned by the planner (mrm_velocity.profiles.<name>).

  • Every cycle while unlatched, the path is planned once and a velocity profile is filled for every profile (moderate, emergency). The moderate candidate is published as the hot-standby output.
  • trigger: true latches the candidate of the requested profile (the one planned in the previous cycle). If no candidate of that profile exists yet (e.g. the planner started after the trigger), the latch is retried every cycle.
  • A profile change while triggered (e.g. moderate -> emergency) re-plans from the current state and re-latches the new profile. Only a candidate planned in that cycle is re-latched; if planning fails the current latch is kept and the re-latch is retried.
  • trigger: false unlatches (and releases the latched objects).
  • An unknown profile value (e.g. PROFILE_UNKNOWN) with trigger: true is treated as moderate and reported with a throttled error log.

Parameters: MRM stop velocity

Name Default (L4) Description
mrm_velocity.profiles.moderate.target_deceleration -3.0 Target deceleration of PROFILE_MODERATE [m/s^2]
mrm_velocity.profiles.moderate.target_jerk -5.0 Target jerk of PROFILE_MODERATE [m/s^3]
mrm_velocity.profiles.moderate.max_deceleration_relaxation -4.0 Relaxation limit of the deceleration [m/s^2]
mrm_velocity.profiles.moderate.max_jerk_relaxation -10.0 Relaxation limit of the jerk [m/s^3]
mrm_velocity.profiles.emergency.target_deceleration -6.0 Target deceleration of PROFILE_EMERGENCY [m/s^2]
mrm_velocity.profiles.emergency.target_jerk -20.0 Target jerk of PROFILE_EMERGENCY [m/s^3]
mrm_velocity.profiles.emergency.max_deceleration_relaxation -8.0 Relaxation limit of the deceleration [m/s^2]
mrm_velocity.profiles.emergency.max_jerk_relaxation -30.0 Relaxation limit of the jerk [m/s^3]
mrm_velocity.step_deceleration_relaxation -1.0 Deceleration relaxation step (shared) [m/s^2]
mrm_velocity.step_jerk_relaxation -5.0 Jerk relaxation step (shared) [m/s^3]
mrm_velocity.brake_delay_time 0.5 Brake dead time before the ramp (shared) [s]

Split parameter files per operation class if different constraint values are needed.

Road border stop (Phase2)

MrmRoadBorderStopPlanner (applied inside the trajectory modifier right after the obstacle stop) sweeps the vehicle footprint along the candidate trajectory from the ego nearest point and inserts a stop point road_border_stop.stop_margin before the first interference with a map road border. Boundaries are the lanelet2 linestrings whose type attribute is listed in road_border_stop.boundary_types_to_detect (default ["road_border"]); their segments are indexed in an R-tree that is rebuilt only when the map instance changes. The contact arc length is refined by bisection between the last non-interfering and the first interfering trajectory point. The stop point is never placed behind the ego. Deceleration feasibility is left to MrmStopVelocityPlanner, which relaxes deceleration / jerk of each profile up to mrm_velocity.profiles.<profile>.max_*_relaxation when the stop point is close.

The footprint sweep starts at the ego pose itself and then continues over the trajectory points ahead of the ego, so a border behind the vehicle is never reported.

Outputs:

Output Topic Type
Planning factor /planning/planning_factors/in_lane_mrm_road_border_stop autoware_internal_planning_msgs/msg/PlanningFactorArray (STOP)
Debug markers ~/road_border_stop/debug/marker (node-relative, not remapped) visualization_msgs/msg/MarkerArray

The debug marker topic is relative to the node name, so with the default launch it resolves to /in_lane_mrm_planner/road_border_stop/debug/marker (not /planning/...). It contains the contact footprint, the contact segment / point and a stop virtual wall. The wall is drawn at the stop pose shifted by the vehicle front (max_longitudinal_offset), i.e. where the vehicle front will be when stopped.

While the trigger is latched the candidates are not re-planned. The planning factor and the

File truncated at 100 lines see the full file

CHANGELOG

Changelog for package autoware_in_lane_mrm_planner

0.53.0 (2026-09-29)

  • Merge remote-tracking branch 'origin/main' into prepare-0.53.0-changelog

  • feat(autoware_in_lane_mrm_planner): keep publishing road border stop reason while latched (#13432)

    * feat(autoware_in_lane_mrm_planner): keep publishing road border stop reason while latched While the in-lane stop trigger is latched the candidates are not re-planned, so the road border stop planning factor and debug markers stopped being published at the trigger and the stop reason disappeared from rviz during the MRM. Re-publish the contact the latched trajectory was planned with (debug markers and the planning factor, whose distance is measured from the current ego pose) until the trigger is released. The stop pose is kept with the contact since the latched trajectory may be resampled afterwards. Co-Authored-By: Claude Opus 5.5 (1M context) <<noreply@anthropic.com>>

    * refactor(autoware_in_lane_mrm_planner): remove unused RoadBorderContact::stop_index The stop point is now referenced by stop_pose only. Co-Authored-By: Claude Opus 5.5 <<noreply@anthropic.com>> ---------Co-authored-by: Claude Opus 5.5 (1M context) <<noreply@anthropic.com>>

  • feat(autoware_in_lane_mrm_planner): add road border stop (#13430)

    * feat(autoware_in_lane_mrm_planner): add road border stop Insert a stop point before the vehicle footprint interferes with a map road border (REQ-003 of the in-lane stop planning design, Phase2). Ported from mkuri/autoware.universe feat/in-lane-mrm-planner-road-border-stop (69bc5ef3a, reviewed as TetsuKawa/autoware_universe#13) onto the InLaneStopTrigger / per-profile planner.

    - Add MrmRoadBorderStopPlanner: sweeps the footprint along the candidate trajectory from the ego nearest point, queries lanelet2 linestring segments of the configured types (default road_border) through an R-tree rebuilt only when the map instance changes, refines the contact arc length by bisection and inserts a stop point stop_margin before the contact, never behind the ego. Segments outside ego z +/- vehicle height are ignored.

    - Apply it in the trajectory modifier right after the obstacle stop, once per cycle on the shared base trajectory; the stop point reaches MrmStopVelocityPlanner as a zero velocity constraint for every profile, so deceleration relaxation (per profile) stays in one place.

    - Publish PlanningFactor (STOP) under in_lane_mrm_road_border_stop and debug markers (contact footprint / segment / point, stop virtual wall).

    • Add road_border_stop parameters (yaml, config, schema) and README section.

    - Add 11 unit tests with a synthetic lanelet map. Co-Authored-By: Claude Opus 5.5 (1M context) <<noreply@anthropic.com>>

    * fix(autoware_in_lane_mrm_planner): start road border contact search at the ego pose The sweep started at the trajectory point returned by findNearestSegmentIndex, i.e. the start of the segment the ego is on, up to one point interval behind base_link. A border just behind the ego rear could therefore be reported as a contact at the ego (stop at ego), and the debug contact footprint was drawn behind the vehicle.

    - Evaluate the ego footprint first, then only trajectory points ahead of the ego; the bisection refines between the ego pose and the first interfering point.

    - Keep the refined contact pose in RoadBorderContact and draw the debug contact footprint there (the contact index shifts when the stop point is inserted).

    - Add tests for a border behind the ego footprint and a contact refined from an ego pose between trajectory points. Co-Authored-By: Claude Opus 5.5 (1M context) <<noreply@anthropic.com>>

    * docs(autoware_in_lane_mrm_planner): document road border stop output topics The debug marker topic [~/road_border_stop/debug/marker]{.title-ref} is node-relative and resolves to [/in_lane_mrm_planner/road_border_stop/debug/marker]{.title-ref} with the default launch, not [/planning/...]{.title-ref} as assumed in verification procedures. List the planning factor and marker topics explicitly and describe the stop wall position and the ego-first footprint sweep. Co-Authored-By: Claude Opus 5.5 (1M context) <<noreply@anthropic.com>>

    • refactor(autoware_in_lane_mrm_planner): remove unused road border stop members

    - Remove the unused debug_footprints_ member and RoadBorderContact::contact_index (the stop point is based on

File truncated at 100 lines see the full file

Launch files

  • launch/in_lane_mrm_planner.launch.xml
      • param_path [default: $(find-pkg-share autoware_in_lane_mrm_planner)/config/in_lane_mrm_planner.param.yaml]
      • eb_param_path [default: $(find-pkg-share autoware_in_lane_mrm_planner)/config/elastic_band_smoother.param.yaml]
      • input_route [default: /main/planning/mission_planning/route]
      • input_vector_map [default: /main/map/vector_map]
      • input_kinematic_state [default: /localization/kinematic_state]
      • input_acceleration [default: /localization/acceleration]
      • input_objects [default: /main/perception/object_recognition/objects]
      • input_trigger_topic [default: /system/in_lane_stop/trigger]
      • output_trajectory [default: /planning/in_lane_mrm_planner/output/trajectory]
      • output_planner_status [default: /planning/in_lane_mrm_planner/debug/planner_status]
      • output_gate_gear [default: /control/control_command_gate/inputs/in_lane_stop/gear]
      • output_gate_hazard [default: /control/control_command_gate/inputs/in_lane_stop/hazard_lights]
      • output_gate_turn [default: /control/control_command_gate/inputs/in_lane_stop/turn_indicators]
      • auxiliary_commands_publish_hz [default: 10.0]

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged autoware_in_lane_mrm_planner at Robotics Stack Exchange

No version for distro lyrical showing github. Known supported distros are highlighted in the buttons above.
Package symbol

autoware_in_lane_mrm_planner package from autoware_universe repo

autoware_boundary_departure_checker autoware_component_interface_specs_universe autoware_cuda_dependency_meta autoware_deprecated_boundary_departure_checker autoware_fake_test_node autoware_glog_component autoware_goal_distance_calculator autoware_grid_map_utils autoware_obstacle_proximity_checker autoware_path_distance_calculator autoware_polar_grid autoware_time_utils autoware_traffic_light_compliance_checker autoware_traffic_light_recognition_marker_publisher autoware_traffic_light_utils autoware_universe_utils tier4_api_utils autoware_autonomous_emergency_braking autoware_collision_detector autoware_control_command_gate autoware_control_performance_analysis autoware_control_validator autoware_external_cmd_selector autoware_joy_controller autoware_lane_departure_checker autoware_mpc_lateral_controller autoware_obstacle_collision_checker autoware_operation_mode_transition_manager autoware_pid_longitudinal_controller autoware_predicted_path_checker autoware_pure_pursuit autoware_shift_decider autoware_smart_mpc_trajectory_follower autoware_spheric_collision_detector autoware_stop_mode_operator autoware_trajectory_follower_base autoware_trajectory_follower_node autoware_vehicle_cmd_gate autoware_tensorrt_vad autoware_control_evaluator autoware_evaluation_adapter autoware_kinematic_evaluator autoware_localization_evaluator autoware_perception_online_evaluator autoware_planning_evaluator autoware_scenario_simulator_v2_adapter autoware_diagnostic_graph_test_examples autoware_geo_pose_projector autoware_ar_tag_based_localizer autoware_landmark_manager autoware_lidar_marker_localizer autoware_localization_error_monitor autoware_pose2twist autoware_pose_covariance_modifier autoware_pose_estimator_arbiter autoware_pose_initialization_requester autoware_pose_instability_detector yabloc_common yabloc_image_processing yabloc_monitor yabloc_particle_filter yabloc_pose_initializer autoware_map_tf_generator autoware_bevfusion autoware_bytetrack autoware_camera_streampetr autoware_cluster_merger autoware_compare_map_segmentation autoware_crosswalk_traffic_light_estimator autoware_detected_object_feature_remover autoware_detected_object_validation autoware_detection_by_tracker autoware_elevation_map_loader autoware_euclidean_cluster autoware_ground_segmentation autoware_ground_segmentation_cuda autoware_image_object_locator autoware_image_projection_based_fusion autoware_lidar_apollo_instance_segmentation autoware_lidar_centerpoint autoware_lidar_frnet autoware_lidar_transfusion autoware_map_based_prediction autoware_multi_object_tracker autoware_object_merger autoware_object_sorter autoware_occupancy_grid_map_outlier_filter autoware_predicted_path_postprocessor autoware_probabilistic_occupancy_grid_map autoware_ptv3 autoware_radar_fusion_to_detected_object autoware_radar_object_tracker autoware_radar_tracks_msgs_converter autoware_raindrop_cluster_filter autoware_shape_estimation autoware_simpl_prediction autoware_simple_object_merger autoware_tensorrt_bevdet autoware_tensorrt_bevformer autoware_tensorrt_classifier autoware_tensorrt_common autoware_tensorrt_plugins autoware_tensorrt_yolox autoware_tracking_object_merger autoware_traffic_light_arbiter autoware_traffic_light_category_merger autoware_traffic_light_classifier autoware_traffic_light_fine_detector autoware_traffic_light_map_based_detector autoware_traffic_light_multi_camera_fusion autoware_traffic_light_occlusion_predictor autoware_traffic_light_pipeline autoware_traffic_light_selector autoware_traffic_light_visualization perception_utils autoware_costmap_generator autoware_diffusion_planner autoware_external_velocity_limit_selector autoware_freespace_planner autoware_freespace_planning_algorithms autoware_hazard_lights_selector autoware_in_lane_mrm_planner autoware_manual_lane_change_handler autoware_minimum_rule_based_planner autoware_mission_planner_universe autoware_path_optimizer autoware_path_smoother autoware_remaining_distance_time_calculator autoware_rtc_interface autoware_scenario_selector autoware_surround_obstacle_checker autoware_trajectory_adapter autoware_trajectory_concatenator autoware_trajectory_gate autoware_trajectory_modifier autoware_trajectory_ranker autoware_trajectory_selector autoware_trajectory_validator autoware_behavior_path_avoidance_by_lane_change_module autoware_behavior_path_bidirectional_traffic_module autoware_behavior_path_direction_change_module autoware_behavior_path_dynamic_obstacle_avoidance_module autoware_behavior_path_external_request_lane_change_module autoware_behavior_path_goal_planner_module autoware_behavior_path_lane_change_module autoware_behavior_path_planner autoware_behavior_path_planner_common autoware_behavior_path_sampling_planner_module autoware_behavior_path_side_shift_module autoware_behavior_path_start_planner_module autoware_behavior_path_static_obstacle_avoidance_module autoware_behavior_velocity_blind_spot_module autoware_behavior_velocity_crosswalk_module autoware_behavior_velocity_detection_area_module autoware_behavior_velocity_intersection_module autoware_behavior_velocity_no_drivable_lane_module autoware_behavior_velocity_no_stopping_area_module autoware_behavior_velocity_occlusion_spot_module autoware_behavior_velocity_roundabout_module autoware_behavior_velocity_rtc_interface autoware_behavior_velocity_speed_bump_module autoware_behavior_velocity_template_module autoware_behavior_velocity_traffic_light_module autoware_behavior_velocity_virtual_traffic_light_module autoware_behavior_velocity_walkway_module autoware_motion_velocity_boundary_departure_prevention_module autoware_motion_velocity_dynamic_obstacle_stop_module autoware_motion_velocity_obstacle_cruise_module autoware_motion_velocity_obstacle_slow_down_module autoware_motion_velocity_obstacle_velocity_limiter_module autoware_motion_velocity_out_of_lane_module autoware_motion_velocity_road_user_stop_module autoware_motion_velocity_run_out_module autoware_planning_validator autoware_planning_validator_intersection_collision_checker autoware_planning_validator_latency_checker autoware_planning_validator_rear_collision_checker autoware_planning_validator_test_utils autoware_planning_validator_trajectory_checker autoware_bezier_sampler autoware_frenet_planner autoware_path_sampler autoware_sampler_common autoware_calibration_status_classifier autoware_cuda_pointcloud_preprocessor autoware_cuda_utils autoware_image_diagnostics autoware_image_transport_decompressor autoware_imu_corrector autoware_pcl_extensions autoware_pointcloud_preprocessor autoware_radar_objects_adapter autoware_radar_scan_to_pointcloud2 autoware_radar_static_pointcloud_filter autoware_radar_threshold_filter autoware_radar_tracks_noise_filter autoware_carla_interface autoware_dummy_diag_publisher autoware_dummy_infrastructure autoware_dummy_traffic_light_publisher autoware_fault_injection autoware_redundancy_command_selector autoware_vehicle_door_simulator tier4_dummy_object_rviz_plugin autoware_command_mode_decider autoware_command_mode_decider_plugins autoware_command_mode_switcher autoware_command_mode_switcher_plugins autoware_command_mode_types autoware_component_monitor autoware_component_state_monitor autoware_adapi_visualizers autoware_default_adapi_universe autoware_diagnostic_graph_aggregator autoware_diagnostic_graph_merger autoware_diagnostic_graph_utils autoware_driving_mode_manager autoware_duplicated_node_checker autoware_generic_service_divider autoware_hazard_status_converter autoware_mrm_comfortable_stop_operator autoware_mrm_emergency_stop_operator autoware_mrm_handler autoware_mrm_in_lane_stop_operator autoware_mrm_reset_manager autoware_mrm_steering_hold_stop_operator autoware_pipeline_latency_monitor autoware_processing_time_checker autoware_redundancy_adapi_switcher autoware_redundancy_switcher_interface autoware_redundancy_switcher_interface_plugins autoware_system_monitor autoware_topic_relay_controller autoware_topic_state_monitor autoware_velodyne_monitor autoware_accel_brake_map_calibrator autoware_external_cmd_converter autoware_raw_vehicle_cmd_converter autoware_steer_offset_estimator autoware_bag_time_manager_rviz_plugin autoware_traffic_light_rviz_plugin tier4_active_generator_rviz_plugin tier4_adapi_rviz_plugin tier4_camera_view_rviz_plugin tier4_control_mode_rviz_plugin tier4_datetime_rviz_plugin tier4_manual_lane_change_rviz_plugin tier4_perception_rviz_plugin tier4_planning_factor_rviz_plugin tier4_state_rviz_plugin tier4_traffic_light_rviz_plugin tier4_vehicle_rviz_plugin

ROS Distro
github

Package Summary

Version 0.53.0
License Apache License 2.0
Build type AMENT_CMAKE
Use RECOMMENDED

Repository Summary

Description
Checkout URI https://github.com/autowarefoundation/autoware_universe.git
VCS Type git
VCS Version main
Last Updated 2026-10-08
Dev Status UNKNOWN
Released UNRELEASED
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Package Description

MRM in-lane stop trajectory planner (Phase1)

Maintainers

  • Takumi Odashima

Authors

No additional authors.

autoware_in_lane_mrm_planner

MRM in-lane stop trajectory planner (Phase1).

Design

See docs/design_phase1.md and docs/implementation_plan_phase1.md.

Build

From pilot-auto.x2.v4.3.2 repository root (after workspace dependencies are installed):

./cmd_helper.sh --build_ccache --packages-select autoware_in_lane_mrm_planner

Do not run package builds in parallel with a full workspace build.

Launch

ros2 launch autoware_in_lane_mrm_planner in_lane_mrm_planner.launch.xml

In-lane stop trigger

The planner subscribes the trigger published by autoware_mrm_in_lane_stop_operator directly (the former mrm_trigger_relay node was removed).

Item Value
Topic (node) ~/input/trigger
Default remap /system/in_lane_stop/trigger (launch arg input_trigger_topic)
Type tier4_system_msgs/msg/InLaneStopTrigger (stamp, trigger, profile)
QoS reliable, transient_local, depth 1 (the operator publishes on change only)

The trigger only selects a deceleration profile; the constraint values are owned by the planner (mrm_velocity.profiles.<name>).

  • Every cycle while unlatched, the path is planned once and a velocity profile is filled for every profile (moderate, emergency). The moderate candidate is published as the hot-standby output.
  • trigger: true latches the candidate of the requested profile (the one planned in the previous cycle). If no candidate of that profile exists yet (e.g. the planner started after the trigger), the latch is retried every cycle.
  • A profile change while triggered (e.g. moderate -> emergency) re-plans from the current state and re-latches the new profile. Only a candidate planned in that cycle is re-latched; if planning fails the current latch is kept and the re-latch is retried.
  • trigger: false unlatches (and releases the latched objects).
  • An unknown profile value (e.g. PROFILE_UNKNOWN) with trigger: true is treated as moderate and reported with a throttled error log.

Parameters: MRM stop velocity

Name Default (L4) Description
mrm_velocity.profiles.moderate.target_deceleration -3.0 Target deceleration of PROFILE_MODERATE [m/s^2]
mrm_velocity.profiles.moderate.target_jerk -5.0 Target jerk of PROFILE_MODERATE [m/s^3]
mrm_velocity.profiles.moderate.max_deceleration_relaxation -4.0 Relaxation limit of the deceleration [m/s^2]
mrm_velocity.profiles.moderate.max_jerk_relaxation -10.0 Relaxation limit of the jerk [m/s^3]
mrm_velocity.profiles.emergency.target_deceleration -6.0 Target deceleration of PROFILE_EMERGENCY [m/s^2]
mrm_velocity.profiles.emergency.target_jerk -20.0 Target jerk of PROFILE_EMERGENCY [m/s^3]
mrm_velocity.profiles.emergency.max_deceleration_relaxation -8.0 Relaxation limit of the deceleration [m/s^2]
mrm_velocity.profiles.emergency.max_jerk_relaxation -30.0 Relaxation limit of the jerk [m/s^3]
mrm_velocity.step_deceleration_relaxation -1.0 Deceleration relaxation step (shared) [m/s^2]
mrm_velocity.step_jerk_relaxation -5.0 Jerk relaxation step (shared) [m/s^3]
mrm_velocity.brake_delay_time 0.5 Brake dead time before the ramp (shared) [s]

Split parameter files per operation class if different constraint values are needed.

Road border stop (Phase2)

MrmRoadBorderStopPlanner (applied inside the trajectory modifier right after the obstacle stop) sweeps the vehicle footprint along the candidate trajectory from the ego nearest point and inserts a stop point road_border_stop.stop_margin before the first interference with a map road border. Boundaries are the lanelet2 linestrings whose type attribute is listed in road_border_stop.boundary_types_to_detect (default ["road_border"]); their segments are indexed in an R-tree that is rebuilt only when the map instance changes. The contact arc length is refined by bisection between the last non-interfering and the first interfering trajectory point. The stop point is never placed behind the ego. Deceleration feasibility is left to MrmStopVelocityPlanner, which relaxes deceleration / jerk of each profile up to mrm_velocity.profiles.<profile>.max_*_relaxation when the stop point is close.

The footprint sweep starts at the ego pose itself and then continues over the trajectory points ahead of the ego, so a border behind the vehicle is never reported.

Outputs:

Output Topic Type
Planning factor /planning/planning_factors/in_lane_mrm_road_border_stop autoware_internal_planning_msgs/msg/PlanningFactorArray (STOP)
Debug markers ~/road_border_stop/debug/marker (node-relative, not remapped) visualization_msgs/msg/MarkerArray

The debug marker topic is relative to the node name, so with the default launch it resolves to /in_lane_mrm_planner/road_border_stop/debug/marker (not /planning/...). It contains the contact footprint, the contact segment / point and a stop virtual wall. The wall is drawn at the stop pose shifted by the vehicle front (max_longitudinal_offset), i.e. where the vehicle front will be when stopped.

While the trigger is latched the candidates are not re-planned. The planning factor and the

File truncated at 100 lines see the full file

CHANGELOG

Changelog for package autoware_in_lane_mrm_planner

0.53.0 (2026-09-29)

  • Merge remote-tracking branch 'origin/main' into prepare-0.53.0-changelog

  • feat(autoware_in_lane_mrm_planner): keep publishing road border stop reason while latched (#13432)

    * feat(autoware_in_lane_mrm_planner): keep publishing road border stop reason while latched While the in-lane stop trigger is latched the candidates are not re-planned, so the road border stop planning factor and debug markers stopped being published at the trigger and the stop reason disappeared from rviz during the MRM. Re-publish the contact the latched trajectory was planned with (debug markers and the planning factor, whose distance is measured from the current ego pose) until the trigger is released. The stop pose is kept with the contact since the latched trajectory may be resampled afterwards. Co-Authored-By: Claude Opus 5.5 (1M context) <<noreply@anthropic.com>>

    * refactor(autoware_in_lane_mrm_planner): remove unused RoadBorderContact::stop_index The stop point is now referenced by stop_pose only. Co-Authored-By: Claude Opus 5.5 <<noreply@anthropic.com>> ---------Co-authored-by: Claude Opus 5.5 (1M context) <<noreply@anthropic.com>>

  • feat(autoware_in_lane_mrm_planner): add road border stop (#13430)

    * feat(autoware_in_lane_mrm_planner): add road border stop Insert a stop point before the vehicle footprint interferes with a map road border (REQ-003 of the in-lane stop planning design, Phase2). Ported from mkuri/autoware.universe feat/in-lane-mrm-planner-road-border-stop (69bc5ef3a, reviewed as TetsuKawa/autoware_universe#13) onto the InLaneStopTrigger / per-profile planner.

    - Add MrmRoadBorderStopPlanner: sweeps the footprint along the candidate trajectory from the ego nearest point, queries lanelet2 linestring segments of the configured types (default road_border) through an R-tree rebuilt only when the map instance changes, refines the contact arc length by bisection and inserts a stop point stop_margin before the contact, never behind the ego. Segments outside ego z +/- vehicle height are ignored.

    - Apply it in the trajectory modifier right after the obstacle stop, once per cycle on the shared base trajectory; the stop point reaches MrmStopVelocityPlanner as a zero velocity constraint for every profile, so deceleration relaxation (per profile) stays in one place.

    - Publish PlanningFactor (STOP) under in_lane_mrm_road_border_stop and debug markers (contact footprint / segment / point, stop virtual wall).

    • Add road_border_stop parameters (yaml, config, schema) and README section.

    - Add 11 unit tests with a synthetic lanelet map. Co-Authored-By: Claude Opus 5.5 (1M context) <<noreply@anthropic.com>>

    * fix(autoware_in_lane_mrm_planner): start road border contact search at the ego pose The sweep started at the trajectory point returned by findNearestSegmentIndex, i.e. the start of the segment the ego is on, up to one point interval behind base_link. A border just behind the ego rear could therefore be reported as a contact at the ego (stop at ego), and the debug contact footprint was drawn behind the vehicle.

    - Evaluate the ego footprint first, then only trajectory points ahead of the ego; the bisection refines between the ego pose and the first interfering point.

    - Keep the refined contact pose in RoadBorderContact and draw the debug contact footprint there (the contact index shifts when the stop point is inserted).

    - Add tests for a border behind the ego footprint and a contact refined from an ego pose between trajectory points. Co-Authored-By: Claude Opus 5.5 (1M context) <<noreply@anthropic.com>>

    * docs(autoware_in_lane_mrm_planner): document road border stop output topics The debug marker topic [~/road_border_stop/debug/marker]{.title-ref} is node-relative and resolves to [/in_lane_mrm_planner/road_border_stop/debug/marker]{.title-ref} with the default launch, not [/planning/...]{.title-ref} as assumed in verification procedures. List the planning factor and marker topics explicitly and describe the stop wall position and the ego-first footprint sweep. Co-Authored-By: Claude Opus 5.5 (1M context) <<noreply@anthropic.com>>

    • refactor(autoware_in_lane_mrm_planner): remove unused road border stop members

    - Remove the unused debug_footprints_ member and RoadBorderContact::contact_index (the stop point is based on

File truncated at 100 lines see the full file

Launch files

  • launch/in_lane_mrm_planner.launch.xml
      • param_path [default: $(find-pkg-share autoware_in_lane_mrm_planner)/config/in_lane_mrm_planner.param.yaml]
      • eb_param_path [default: $(find-pkg-share autoware_in_lane_mrm_planner)/config/elastic_band_smoother.param.yaml]
      • input_route [default: /main/planning/mission_planning/route]
      • input_vector_map [default: /main/map/vector_map]
      • input_kinematic_state [default: /localization/kinematic_state]
      • input_acceleration [default: /localization/acceleration]
      • input_objects [default: /main/perception/object_recognition/objects]
      • input_trigger_topic [default: /system/in_lane_stop/trigger]
      • output_trajectory [default: /planning/in_lane_mrm_planner/output/trajectory]
      • output_planner_status [default: /planning/in_lane_mrm_planner/debug/planner_status]
      • output_gate_gear [default: /control/control_command_gate/inputs/in_lane_stop/gear]
      • output_gate_hazard [default: /control/control_command_gate/inputs/in_lane_stop/hazard_lights]
      • output_gate_turn [default: /control/control_command_gate/inputs/in_lane_stop/turn_indicators]
      • auxiliary_commands_publish_hz [default: 10.0]

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged autoware_in_lane_mrm_planner at Robotics Stack Exchange

No version for distro rolling showing github. Known supported distros are highlighted in the buttons above.
Package symbol

autoware_in_lane_mrm_planner package from autoware_universe repo

autoware_boundary_departure_checker autoware_component_interface_specs_universe autoware_cuda_dependency_meta autoware_deprecated_boundary_departure_checker autoware_fake_test_node autoware_glog_component autoware_goal_distance_calculator autoware_grid_map_utils autoware_obstacle_proximity_checker autoware_path_distance_calculator autoware_polar_grid autoware_time_utils autoware_traffic_light_compliance_checker autoware_traffic_light_recognition_marker_publisher autoware_traffic_light_utils autoware_universe_utils tier4_api_utils autoware_autonomous_emergency_braking autoware_collision_detector autoware_control_command_gate autoware_control_performance_analysis autoware_control_validator autoware_external_cmd_selector autoware_joy_controller autoware_lane_departure_checker autoware_mpc_lateral_controller autoware_obstacle_collision_checker autoware_operation_mode_transition_manager autoware_pid_longitudinal_controller autoware_predicted_path_checker autoware_pure_pursuit autoware_shift_decider autoware_smart_mpc_trajectory_follower autoware_spheric_collision_detector autoware_stop_mode_operator autoware_trajectory_follower_base autoware_trajectory_follower_node autoware_vehicle_cmd_gate autoware_tensorrt_vad autoware_control_evaluator autoware_evaluation_adapter autoware_kinematic_evaluator autoware_localization_evaluator autoware_perception_online_evaluator autoware_planning_evaluator autoware_scenario_simulator_v2_adapter autoware_diagnostic_graph_test_examples autoware_geo_pose_projector autoware_ar_tag_based_localizer autoware_landmark_manager autoware_lidar_marker_localizer autoware_localization_error_monitor autoware_pose2twist autoware_pose_covariance_modifier autoware_pose_estimator_arbiter autoware_pose_initialization_requester autoware_pose_instability_detector yabloc_common yabloc_image_processing yabloc_monitor yabloc_particle_filter yabloc_pose_initializer autoware_map_tf_generator autoware_bevfusion autoware_bytetrack autoware_camera_streampetr autoware_cluster_merger autoware_compare_map_segmentation autoware_crosswalk_traffic_light_estimator autoware_detected_object_feature_remover autoware_detected_object_validation autoware_detection_by_tracker autoware_elevation_map_loader autoware_euclidean_cluster autoware_ground_segmentation autoware_ground_segmentation_cuda autoware_image_object_locator autoware_image_projection_based_fusion autoware_lidar_apollo_instance_segmentation autoware_lidar_centerpoint autoware_lidar_frnet autoware_lidar_transfusion autoware_map_based_prediction autoware_multi_object_tracker autoware_object_merger autoware_object_sorter autoware_occupancy_grid_map_outlier_filter autoware_predicted_path_postprocessor autoware_probabilistic_occupancy_grid_map autoware_ptv3 autoware_radar_fusion_to_detected_object autoware_radar_object_tracker autoware_radar_tracks_msgs_converter autoware_raindrop_cluster_filter autoware_shape_estimation autoware_simpl_prediction autoware_simple_object_merger autoware_tensorrt_bevdet autoware_tensorrt_bevformer autoware_tensorrt_classifier autoware_tensorrt_common autoware_tensorrt_plugins autoware_tensorrt_yolox autoware_tracking_object_merger autoware_traffic_light_arbiter autoware_traffic_light_category_merger autoware_traffic_light_classifier autoware_traffic_light_fine_detector autoware_traffic_light_map_based_detector autoware_traffic_light_multi_camera_fusion autoware_traffic_light_occlusion_predictor autoware_traffic_light_pipeline autoware_traffic_light_selector autoware_traffic_light_visualization perception_utils autoware_costmap_generator autoware_diffusion_planner autoware_external_velocity_limit_selector autoware_freespace_planner autoware_freespace_planning_algorithms autoware_hazard_lights_selector autoware_in_lane_mrm_planner autoware_manual_lane_change_handler autoware_minimum_rule_based_planner autoware_mission_planner_universe autoware_path_optimizer autoware_path_smoother autoware_remaining_distance_time_calculator autoware_rtc_interface autoware_scenario_selector autoware_surround_obstacle_checker autoware_trajectory_adapter autoware_trajectory_concatenator autoware_trajectory_gate autoware_trajectory_modifier autoware_trajectory_ranker autoware_trajectory_selector autoware_trajectory_validator autoware_behavior_path_avoidance_by_lane_change_module autoware_behavior_path_bidirectional_traffic_module autoware_behavior_path_direction_change_module autoware_behavior_path_dynamic_obstacle_avoidance_module autoware_behavior_path_external_request_lane_change_module autoware_behavior_path_goal_planner_module autoware_behavior_path_lane_change_module autoware_behavior_path_planner autoware_behavior_path_planner_common autoware_behavior_path_sampling_planner_module autoware_behavior_path_side_shift_module autoware_behavior_path_start_planner_module autoware_behavior_path_static_obstacle_avoidance_module autoware_behavior_velocity_blind_spot_module autoware_behavior_velocity_crosswalk_module autoware_behavior_velocity_detection_area_module autoware_behavior_velocity_intersection_module autoware_behavior_velocity_no_drivable_lane_module autoware_behavior_velocity_no_stopping_area_module autoware_behavior_velocity_occlusion_spot_module autoware_behavior_velocity_roundabout_module autoware_behavior_velocity_rtc_interface autoware_behavior_velocity_speed_bump_module autoware_behavior_velocity_template_module autoware_behavior_velocity_traffic_light_module autoware_behavior_velocity_virtual_traffic_light_module autoware_behavior_velocity_walkway_module autoware_motion_velocity_boundary_departure_prevention_module autoware_motion_velocity_dynamic_obstacle_stop_module autoware_motion_velocity_obstacle_cruise_module autoware_motion_velocity_obstacle_slow_down_module autoware_motion_velocity_obstacle_velocity_limiter_module autoware_motion_velocity_out_of_lane_module autoware_motion_velocity_road_user_stop_module autoware_motion_velocity_run_out_module autoware_planning_validator autoware_planning_validator_intersection_collision_checker autoware_planning_validator_latency_checker autoware_planning_validator_rear_collision_checker autoware_planning_validator_test_utils autoware_planning_validator_trajectory_checker autoware_bezier_sampler autoware_frenet_planner autoware_path_sampler autoware_sampler_common autoware_calibration_status_classifier autoware_cuda_pointcloud_preprocessor autoware_cuda_utils autoware_image_diagnostics autoware_image_transport_decompressor autoware_imu_corrector autoware_pcl_extensions autoware_pointcloud_preprocessor autoware_radar_objects_adapter autoware_radar_scan_to_pointcloud2 autoware_radar_static_pointcloud_filter autoware_radar_threshold_filter autoware_radar_tracks_noise_filter autoware_carla_interface autoware_dummy_diag_publisher autoware_dummy_infrastructure autoware_dummy_traffic_light_publisher autoware_fault_injection autoware_redundancy_command_selector autoware_vehicle_door_simulator tier4_dummy_object_rviz_plugin autoware_command_mode_decider autoware_command_mode_decider_plugins autoware_command_mode_switcher autoware_command_mode_switcher_plugins autoware_command_mode_types autoware_component_monitor autoware_component_state_monitor autoware_adapi_visualizers autoware_default_adapi_universe autoware_diagnostic_graph_aggregator autoware_diagnostic_graph_merger autoware_diagnostic_graph_utils autoware_driving_mode_manager autoware_duplicated_node_checker autoware_generic_service_divider autoware_hazard_status_converter autoware_mrm_comfortable_stop_operator autoware_mrm_emergency_stop_operator autoware_mrm_handler autoware_mrm_in_lane_stop_operator autoware_mrm_reset_manager autoware_mrm_steering_hold_stop_operator autoware_pipeline_latency_monitor autoware_processing_time_checker autoware_redundancy_adapi_switcher autoware_redundancy_switcher_interface autoware_redundancy_switcher_interface_plugins autoware_system_monitor autoware_topic_relay_controller autoware_topic_state_monitor autoware_velodyne_monitor autoware_accel_brake_map_calibrator autoware_external_cmd_converter autoware_raw_vehicle_cmd_converter autoware_steer_offset_estimator autoware_bag_time_manager_rviz_plugin autoware_traffic_light_rviz_plugin tier4_active_generator_rviz_plugin tier4_adapi_rviz_plugin tier4_camera_view_rviz_plugin tier4_control_mode_rviz_plugin tier4_datetime_rviz_plugin tier4_manual_lane_change_rviz_plugin tier4_perception_rviz_plugin tier4_planning_factor_rviz_plugin tier4_state_rviz_plugin tier4_traffic_light_rviz_plugin tier4_vehicle_rviz_plugin

ROS Distro
github

Package Summary

Version 0.53.0
License Apache License 2.0
Build type AMENT_CMAKE
Use RECOMMENDED

Repository Summary

Description
Checkout URI https://github.com/autowarefoundation/autoware_universe.git
VCS Type git
VCS Version main
Last Updated 2026-10-08
Dev Status UNKNOWN
Released UNRELEASED
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Package Description

MRM in-lane stop trajectory planner (Phase1)

Maintainers

  • Takumi Odashima

Authors

No additional authors.

autoware_in_lane_mrm_planner

MRM in-lane stop trajectory planner (Phase1).

Design

See docs/design_phase1.md and docs/implementation_plan_phase1.md.

Build

From pilot-auto.x2.v4.3.2 repository root (after workspace dependencies are installed):

./cmd_helper.sh --build_ccache --packages-select autoware_in_lane_mrm_planner

Do not run package builds in parallel with a full workspace build.

Launch

ros2 launch autoware_in_lane_mrm_planner in_lane_mrm_planner.launch.xml

In-lane stop trigger

The planner subscribes the trigger published by autoware_mrm_in_lane_stop_operator directly (the former mrm_trigger_relay node was removed).

Item Value
Topic (node) ~/input/trigger
Default remap /system/in_lane_stop/trigger (launch arg input_trigger_topic)
Type tier4_system_msgs/msg/InLaneStopTrigger (stamp, trigger, profile)
QoS reliable, transient_local, depth 1 (the operator publishes on change only)

The trigger only selects a deceleration profile; the constraint values are owned by the planner (mrm_velocity.profiles.<name>).

  • Every cycle while unlatched, the path is planned once and a velocity profile is filled for every profile (moderate, emergency). The moderate candidate is published as the hot-standby output.
  • trigger: true latches the candidate of the requested profile (the one planned in the previous cycle). If no candidate of that profile exists yet (e.g. the planner started after the trigger), the latch is retried every cycle.
  • A profile change while triggered (e.g. moderate -> emergency) re-plans from the current state and re-latches the new profile. Only a candidate planned in that cycle is re-latched; if planning fails the current latch is kept and the re-latch is retried.
  • trigger: false unlatches (and releases the latched objects).
  • An unknown profile value (e.g. PROFILE_UNKNOWN) with trigger: true is treated as moderate and reported with a throttled error log.

Parameters: MRM stop velocity

Name Default (L4) Description
mrm_velocity.profiles.moderate.target_deceleration -3.0 Target deceleration of PROFILE_MODERATE [m/s^2]
mrm_velocity.profiles.moderate.target_jerk -5.0 Target jerk of PROFILE_MODERATE [m/s^3]
mrm_velocity.profiles.moderate.max_deceleration_relaxation -4.0 Relaxation limit of the deceleration [m/s^2]
mrm_velocity.profiles.moderate.max_jerk_relaxation -10.0 Relaxation limit of the jerk [m/s^3]
mrm_velocity.profiles.emergency.target_deceleration -6.0 Target deceleration of PROFILE_EMERGENCY [m/s^2]
mrm_velocity.profiles.emergency.target_jerk -20.0 Target jerk of PROFILE_EMERGENCY [m/s^3]
mrm_velocity.profiles.emergency.max_deceleration_relaxation -8.0 Relaxation limit of the deceleration [m/s^2]
mrm_velocity.profiles.emergency.max_jerk_relaxation -30.0 Relaxation limit of the jerk [m/s^3]
mrm_velocity.step_deceleration_relaxation -1.0 Deceleration relaxation step (shared) [m/s^2]
mrm_velocity.step_jerk_relaxation -5.0 Jerk relaxation step (shared) [m/s^3]
mrm_velocity.brake_delay_time 0.5 Brake dead time before the ramp (shared) [s]

Split parameter files per operation class if different constraint values are needed.

Road border stop (Phase2)

MrmRoadBorderStopPlanner (applied inside the trajectory modifier right after the obstacle stop) sweeps the vehicle footprint along the candidate trajectory from the ego nearest point and inserts a stop point road_border_stop.stop_margin before the first interference with a map road border. Boundaries are the lanelet2 linestrings whose type attribute is listed in road_border_stop.boundary_types_to_detect (default ["road_border"]); their segments are indexed in an R-tree that is rebuilt only when the map instance changes. The contact arc length is refined by bisection between the last non-interfering and the first interfering trajectory point. The stop point is never placed behind the ego. Deceleration feasibility is left to MrmStopVelocityPlanner, which relaxes deceleration / jerk of each profile up to mrm_velocity.profiles.<profile>.max_*_relaxation when the stop point is close.

The footprint sweep starts at the ego pose itself and then continues over the trajectory points ahead of the ego, so a border behind the vehicle is never reported.

Outputs:

Output Topic Type
Planning factor /planning/planning_factors/in_lane_mrm_road_border_stop autoware_internal_planning_msgs/msg/PlanningFactorArray (STOP)
Debug markers ~/road_border_stop/debug/marker (node-relative, not remapped) visualization_msgs/msg/MarkerArray

The debug marker topic is relative to the node name, so with the default launch it resolves to /in_lane_mrm_planner/road_border_stop/debug/marker (not /planning/...). It contains the contact footprint, the contact segment / point and a stop virtual wall. The wall is drawn at the stop pose shifted by the vehicle front (max_longitudinal_offset), i.e. where the vehicle front will be when stopped.

While the trigger is latched the candidates are not re-planned. The planning factor and the

File truncated at 100 lines see the full file

CHANGELOG

Changelog for package autoware_in_lane_mrm_planner

0.53.0 (2026-09-29)

  • Merge remote-tracking branch 'origin/main' into prepare-0.53.0-changelog

  • feat(autoware_in_lane_mrm_planner): keep publishing road border stop reason while latched (#13432)

    * feat(autoware_in_lane_mrm_planner): keep publishing road border stop reason while latched While the in-lane stop trigger is latched the candidates are not re-planned, so the road border stop planning factor and debug markers stopped being published at the trigger and the stop reason disappeared from rviz during the MRM. Re-publish the contact the latched trajectory was planned with (debug markers and the planning factor, whose distance is measured from the current ego pose) until the trigger is released. The stop pose is kept with the contact since the latched trajectory may be resampled afterwards. Co-Authored-By: Claude Opus 5.5 (1M context) <<noreply@anthropic.com>>

    * refactor(autoware_in_lane_mrm_planner): remove unused RoadBorderContact::stop_index The stop point is now referenced by stop_pose only. Co-Authored-By: Claude Opus 5.5 <<noreply@anthropic.com>> ---------Co-authored-by: Claude Opus 5.5 (1M context) <<noreply@anthropic.com>>

  • feat(autoware_in_lane_mrm_planner): add road border stop (#13430)

    * feat(autoware_in_lane_mrm_planner): add road border stop Insert a stop point before the vehicle footprint interferes with a map road border (REQ-003 of the in-lane stop planning design, Phase2). Ported from mkuri/autoware.universe feat/in-lane-mrm-planner-road-border-stop (69bc5ef3a, reviewed as TetsuKawa/autoware_universe#13) onto the InLaneStopTrigger / per-profile planner.

    - Add MrmRoadBorderStopPlanner: sweeps the footprint along the candidate trajectory from the ego nearest point, queries lanelet2 linestring segments of the configured types (default road_border) through an R-tree rebuilt only when the map instance changes, refines the contact arc length by bisection and inserts a stop point stop_margin before the contact, never behind the ego. Segments outside ego z +/- vehicle height are ignored.

    - Apply it in the trajectory modifier right after the obstacle stop, once per cycle on the shared base trajectory; the stop point reaches MrmStopVelocityPlanner as a zero velocity constraint for every profile, so deceleration relaxation (per profile) stays in one place.

    - Publish PlanningFactor (STOP) under in_lane_mrm_road_border_stop and debug markers (contact footprint / segment / point, stop virtual wall).

    • Add road_border_stop parameters (yaml, config, schema) and README section.

    - Add 11 unit tests with a synthetic lanelet map. Co-Authored-By: Claude Opus 5.5 (1M context) <<noreply@anthropic.com>>

    * fix(autoware_in_lane_mrm_planner): start road border contact search at the ego pose The sweep started at the trajectory point returned by findNearestSegmentIndex, i.e. the start of the segment the ego is on, up to one point interval behind base_link. A border just behind the ego rear could therefore be reported as a contact at the ego (stop at ego), and the debug contact footprint was drawn behind the vehicle.

    - Evaluate the ego footprint first, then only trajectory points ahead of the ego; the bisection refines between the ego pose and the first interfering point.

    - Keep the refined contact pose in RoadBorderContact and draw the debug contact footprint there (the contact index shifts when the stop point is inserted).

    - Add tests for a border behind the ego footprint and a contact refined from an ego pose between trajectory points. Co-Authored-By: Claude Opus 5.5 (1M context) <<noreply@anthropic.com>>

    * docs(autoware_in_lane_mrm_planner): document road border stop output topics The debug marker topic [~/road_border_stop/debug/marker]{.title-ref} is node-relative and resolves to [/in_lane_mrm_planner/road_border_stop/debug/marker]{.title-ref} with the default launch, not [/planning/...]{.title-ref} as assumed in verification procedures. List the planning factor and marker topics explicitly and describe the stop wall position and the ego-first footprint sweep. Co-Authored-By: Claude Opus 5.5 (1M context) <<noreply@anthropic.com>>

    • refactor(autoware_in_lane_mrm_planner): remove unused road border stop members

    - Remove the unused debug_footprints_ member and RoadBorderContact::contact_index (the stop point is based on

File truncated at 100 lines see the full file

Launch files

  • launch/in_lane_mrm_planner.launch.xml
      • param_path [default: $(find-pkg-share autoware_in_lane_mrm_planner)/config/in_lane_mrm_planner.param.yaml]
      • eb_param_path [default: $(find-pkg-share autoware_in_lane_mrm_planner)/config/elastic_band_smoother.param.yaml]
      • input_route [default: /main/planning/mission_planning/route]
      • input_vector_map [default: /main/map/vector_map]
      • input_kinematic_state [default: /localization/kinematic_state]
      • input_acceleration [default: /localization/acceleration]
      • input_objects [default: /main/perception/object_recognition/objects]
      • input_trigger_topic [default: /system/in_lane_stop/trigger]
      • output_trajectory [default: /planning/in_lane_mrm_planner/output/trajectory]
      • output_planner_status [default: /planning/in_lane_mrm_planner/debug/planner_status]
      • output_gate_gear [default: /control/control_command_gate/inputs/in_lane_stop/gear]
      • output_gate_hazard [default: /control/control_command_gate/inputs/in_lane_stop/hazard_lights]
      • output_gate_turn [default: /control/control_command_gate/inputs/in_lane_stop/turn_indicators]
      • auxiliary_commands_publish_hz [default: 10.0]

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged autoware_in_lane_mrm_planner at Robotics Stack Exchange

Package symbol

autoware_in_lane_mrm_planner package from autoware_universe repo

autoware_boundary_departure_checker autoware_component_interface_specs_universe autoware_cuda_dependency_meta autoware_deprecated_boundary_departure_checker autoware_fake_test_node autoware_glog_component autoware_goal_distance_calculator autoware_grid_map_utils autoware_obstacle_proximity_checker autoware_path_distance_calculator autoware_polar_grid autoware_time_utils autoware_traffic_light_compliance_checker autoware_traffic_light_recognition_marker_publisher autoware_traffic_light_utils autoware_universe_utils tier4_api_utils autoware_autonomous_emergency_braking autoware_collision_detector autoware_control_command_gate autoware_control_performance_analysis autoware_control_validator autoware_external_cmd_selector autoware_joy_controller autoware_lane_departure_checker autoware_mpc_lateral_controller autoware_obstacle_collision_checker autoware_operation_mode_transition_manager autoware_pid_longitudinal_controller autoware_predicted_path_checker autoware_pure_pursuit autoware_shift_decider autoware_smart_mpc_trajectory_follower autoware_spheric_collision_detector autoware_stop_mode_operator autoware_trajectory_follower_base autoware_trajectory_follower_node autoware_vehicle_cmd_gate autoware_tensorrt_vad autoware_control_evaluator autoware_evaluation_adapter autoware_kinematic_evaluator autoware_localization_evaluator autoware_perception_online_evaluator autoware_planning_evaluator autoware_scenario_simulator_v2_adapter autoware_diagnostic_graph_test_examples autoware_geo_pose_projector autoware_ar_tag_based_localizer autoware_landmark_manager autoware_lidar_marker_localizer autoware_localization_error_monitor autoware_pose2twist autoware_pose_covariance_modifier autoware_pose_estimator_arbiter autoware_pose_initialization_requester autoware_pose_instability_detector yabloc_common yabloc_image_processing yabloc_monitor yabloc_particle_filter yabloc_pose_initializer autoware_map_tf_generator autoware_bevfusion autoware_bytetrack autoware_camera_streampetr autoware_cluster_merger autoware_compare_map_segmentation autoware_crosswalk_traffic_light_estimator autoware_detected_object_feature_remover autoware_detected_object_validation autoware_detection_by_tracker autoware_elevation_map_loader autoware_euclidean_cluster autoware_ground_segmentation autoware_ground_segmentation_cuda autoware_image_object_locator autoware_image_projection_based_fusion autoware_lidar_apollo_instance_segmentation autoware_lidar_centerpoint autoware_lidar_frnet autoware_lidar_transfusion autoware_map_based_prediction autoware_multi_object_tracker autoware_object_merger autoware_object_sorter autoware_occupancy_grid_map_outlier_filter autoware_predicted_path_postprocessor autoware_probabilistic_occupancy_grid_map autoware_ptv3 autoware_radar_fusion_to_detected_object autoware_radar_object_tracker autoware_radar_tracks_msgs_converter autoware_raindrop_cluster_filter autoware_shape_estimation autoware_simpl_prediction autoware_simple_object_merger autoware_tensorrt_bevdet autoware_tensorrt_bevformer autoware_tensorrt_classifier autoware_tensorrt_common autoware_tensorrt_plugins autoware_tensorrt_yolox autoware_tracking_object_merger autoware_traffic_light_arbiter autoware_traffic_light_category_merger autoware_traffic_light_classifier autoware_traffic_light_fine_detector autoware_traffic_light_map_based_detector autoware_traffic_light_multi_camera_fusion autoware_traffic_light_occlusion_predictor autoware_traffic_light_pipeline autoware_traffic_light_selector autoware_traffic_light_visualization perception_utils autoware_costmap_generator autoware_diffusion_planner autoware_external_velocity_limit_selector autoware_freespace_planner autoware_freespace_planning_algorithms autoware_hazard_lights_selector autoware_in_lane_mrm_planner autoware_manual_lane_change_handler autoware_minimum_rule_based_planner autoware_mission_planner_universe autoware_path_optimizer autoware_path_smoother autoware_remaining_distance_time_calculator autoware_rtc_interface autoware_scenario_selector autoware_surround_obstacle_checker autoware_trajectory_adapter autoware_trajectory_concatenator autoware_trajectory_gate autoware_trajectory_modifier autoware_trajectory_ranker autoware_trajectory_selector autoware_trajectory_validator autoware_behavior_path_avoidance_by_lane_change_module autoware_behavior_path_bidirectional_traffic_module autoware_behavior_path_direction_change_module autoware_behavior_path_dynamic_obstacle_avoidance_module autoware_behavior_path_external_request_lane_change_module autoware_behavior_path_goal_planner_module autoware_behavior_path_lane_change_module autoware_behavior_path_planner autoware_behavior_path_planner_common autoware_behavior_path_sampling_planner_module autoware_behavior_path_side_shift_module autoware_behavior_path_start_planner_module autoware_behavior_path_static_obstacle_avoidance_module autoware_behavior_velocity_blind_spot_module autoware_behavior_velocity_crosswalk_module autoware_behavior_velocity_detection_area_module autoware_behavior_velocity_intersection_module autoware_behavior_velocity_no_drivable_lane_module autoware_behavior_velocity_no_stopping_area_module autoware_behavior_velocity_occlusion_spot_module autoware_behavior_velocity_roundabout_module autoware_behavior_velocity_rtc_interface autoware_behavior_velocity_speed_bump_module autoware_behavior_velocity_template_module autoware_behavior_velocity_traffic_light_module autoware_behavior_velocity_virtual_traffic_light_module autoware_behavior_velocity_walkway_module autoware_motion_velocity_boundary_departure_prevention_module autoware_motion_velocity_dynamic_obstacle_stop_module autoware_motion_velocity_obstacle_cruise_module autoware_motion_velocity_obstacle_slow_down_module autoware_motion_velocity_obstacle_velocity_limiter_module autoware_motion_velocity_out_of_lane_module autoware_motion_velocity_road_user_stop_module autoware_motion_velocity_run_out_module autoware_planning_validator autoware_planning_validator_intersection_collision_checker autoware_planning_validator_latency_checker autoware_planning_validator_rear_collision_checker autoware_planning_validator_test_utils autoware_planning_validator_trajectory_checker autoware_bezier_sampler autoware_frenet_planner autoware_path_sampler autoware_sampler_common autoware_calibration_status_classifier autoware_cuda_pointcloud_preprocessor autoware_cuda_utils autoware_image_diagnostics autoware_image_transport_decompressor autoware_imu_corrector autoware_pcl_extensions autoware_pointcloud_preprocessor autoware_radar_objects_adapter autoware_radar_scan_to_pointcloud2 autoware_radar_static_pointcloud_filter autoware_radar_threshold_filter autoware_radar_tracks_noise_filter autoware_carla_interface autoware_dummy_diag_publisher autoware_dummy_infrastructure autoware_dummy_traffic_light_publisher autoware_fault_injection autoware_redundancy_command_selector autoware_vehicle_door_simulator tier4_dummy_object_rviz_plugin autoware_command_mode_decider autoware_command_mode_decider_plugins autoware_command_mode_switcher autoware_command_mode_switcher_plugins autoware_command_mode_types autoware_component_monitor autoware_component_state_monitor autoware_adapi_visualizers autoware_default_adapi_universe autoware_diagnostic_graph_aggregator autoware_diagnostic_graph_merger autoware_diagnostic_graph_utils autoware_driving_mode_manager autoware_duplicated_node_checker autoware_generic_service_divider autoware_hazard_status_converter autoware_mrm_comfortable_stop_operator autoware_mrm_emergency_stop_operator autoware_mrm_handler autoware_mrm_in_lane_stop_operator autoware_mrm_reset_manager autoware_mrm_steering_hold_stop_operator autoware_pipeline_latency_monitor autoware_processing_time_checker autoware_redundancy_adapi_switcher autoware_redundancy_switcher_interface autoware_redundancy_switcher_interface_plugins autoware_system_monitor autoware_topic_relay_controller autoware_topic_state_monitor autoware_velodyne_monitor autoware_accel_brake_map_calibrator autoware_external_cmd_converter autoware_raw_vehicle_cmd_converter autoware_steer_offset_estimator autoware_bag_time_manager_rviz_plugin autoware_traffic_light_rviz_plugin tier4_active_generator_rviz_plugin tier4_adapi_rviz_plugin tier4_camera_view_rviz_plugin tier4_control_mode_rviz_plugin tier4_datetime_rviz_plugin tier4_manual_lane_change_rviz_plugin tier4_perception_rviz_plugin tier4_planning_factor_rviz_plugin tier4_state_rviz_plugin tier4_traffic_light_rviz_plugin tier4_vehicle_rviz_plugin

ROS Distro
github

Package Summary

Version 0.53.0
License Apache License 2.0
Build type AMENT_CMAKE
Use RECOMMENDED

Repository Summary

Description
Checkout URI https://github.com/autowarefoundation/autoware_universe.git
VCS Type git
VCS Version main
Last Updated 2026-10-08
Dev Status UNKNOWN
Released UNRELEASED
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Package Description

MRM in-lane stop trajectory planner (Phase1)

Maintainers

  • Takumi Odashima

Authors

No additional authors.

autoware_in_lane_mrm_planner

MRM in-lane stop trajectory planner (Phase1).

Design

See docs/design_phase1.md and docs/implementation_plan_phase1.md.

Build

From pilot-auto.x2.v4.3.2 repository root (after workspace dependencies are installed):

./cmd_helper.sh --build_ccache --packages-select autoware_in_lane_mrm_planner

Do not run package builds in parallel with a full workspace build.

Launch

ros2 launch autoware_in_lane_mrm_planner in_lane_mrm_planner.launch.xml

In-lane stop trigger

The planner subscribes the trigger published by autoware_mrm_in_lane_stop_operator directly (the former mrm_trigger_relay node was removed).

Item Value
Topic (node) ~/input/trigger
Default remap /system/in_lane_stop/trigger (launch arg input_trigger_topic)
Type tier4_system_msgs/msg/InLaneStopTrigger (stamp, trigger, profile)
QoS reliable, transient_local, depth 1 (the operator publishes on change only)

The trigger only selects a deceleration profile; the constraint values are owned by the planner (mrm_velocity.profiles.<name>).

  • Every cycle while unlatched, the path is planned once and a velocity profile is filled for every profile (moderate, emergency). The moderate candidate is published as the hot-standby output.
  • trigger: true latches the candidate of the requested profile (the one planned in the previous cycle). If no candidate of that profile exists yet (e.g. the planner started after the trigger), the latch is retried every cycle.
  • A profile change while triggered (e.g. moderate -> emergency) re-plans from the current state and re-latches the new profile. Only a candidate planned in that cycle is re-latched; if planning fails the current latch is kept and the re-latch is retried.
  • trigger: false unlatches (and releases the latched objects).
  • An unknown profile value (e.g. PROFILE_UNKNOWN) with trigger: true is treated as moderate and reported with a throttled error log.

Parameters: MRM stop velocity

Name Default (L4) Description
mrm_velocity.profiles.moderate.target_deceleration -3.0 Target deceleration of PROFILE_MODERATE [m/s^2]
mrm_velocity.profiles.moderate.target_jerk -5.0 Target jerk of PROFILE_MODERATE [m/s^3]
mrm_velocity.profiles.moderate.max_deceleration_relaxation -4.0 Relaxation limit of the deceleration [m/s^2]
mrm_velocity.profiles.moderate.max_jerk_relaxation -10.0 Relaxation limit of the jerk [m/s^3]
mrm_velocity.profiles.emergency.target_deceleration -6.0 Target deceleration of PROFILE_EMERGENCY [m/s^2]
mrm_velocity.profiles.emergency.target_jerk -20.0 Target jerk of PROFILE_EMERGENCY [m/s^3]
mrm_velocity.profiles.emergency.max_deceleration_relaxation -8.0 Relaxation limit of the deceleration [m/s^2]
mrm_velocity.profiles.emergency.max_jerk_relaxation -30.0 Relaxation limit of the jerk [m/s^3]
mrm_velocity.step_deceleration_relaxation -1.0 Deceleration relaxation step (shared) [m/s^2]
mrm_velocity.step_jerk_relaxation -5.0 Jerk relaxation step (shared) [m/s^3]
mrm_velocity.brake_delay_time 0.5 Brake dead time before the ramp (shared) [s]

Split parameter files per operation class if different constraint values are needed.

Road border stop (Phase2)

MrmRoadBorderStopPlanner (applied inside the trajectory modifier right after the obstacle stop) sweeps the vehicle footprint along the candidate trajectory from the ego nearest point and inserts a stop point road_border_stop.stop_margin before the first interference with a map road border. Boundaries are the lanelet2 linestrings whose type attribute is listed in road_border_stop.boundary_types_to_detect (default ["road_border"]); their segments are indexed in an R-tree that is rebuilt only when the map instance changes. The contact arc length is refined by bisection between the last non-interfering and the first interfering trajectory point. The stop point is never placed behind the ego. Deceleration feasibility is left to MrmStopVelocityPlanner, which relaxes deceleration / jerk of each profile up to mrm_velocity.profiles.<profile>.max_*_relaxation when the stop point is close.

The footprint sweep starts at the ego pose itself and then continues over the trajectory points ahead of the ego, so a border behind the vehicle is never reported.

Outputs:

Output Topic Type
Planning factor /planning/planning_factors/in_lane_mrm_road_border_stop autoware_internal_planning_msgs/msg/PlanningFactorArray (STOP)
Debug markers ~/road_border_stop/debug/marker (node-relative, not remapped) visualization_msgs/msg/MarkerArray

The debug marker topic is relative to the node name, so with the default launch it resolves to /in_lane_mrm_planner/road_border_stop/debug/marker (not /planning/...). It contains the contact footprint, the contact segment / point and a stop virtual wall. The wall is drawn at the stop pose shifted by the vehicle front (max_longitudinal_offset), i.e. where the vehicle front will be when stopped.

While the trigger is latched the candidates are not re-planned. The planning factor and the

File truncated at 100 lines see the full file

CHANGELOG

Changelog for package autoware_in_lane_mrm_planner

0.53.0 (2026-09-29)

  • Merge remote-tracking branch 'origin/main' into prepare-0.53.0-changelog

  • feat(autoware_in_lane_mrm_planner): keep publishing road border stop reason while latched (#13432)

    * feat(autoware_in_lane_mrm_planner): keep publishing road border stop reason while latched While the in-lane stop trigger is latched the candidates are not re-planned, so the road border stop planning factor and debug markers stopped being published at the trigger and the stop reason disappeared from rviz during the MRM. Re-publish the contact the latched trajectory was planned with (debug markers and the planning factor, whose distance is measured from the current ego pose) until the trigger is released. The stop pose is kept with the contact since the latched trajectory may be resampled afterwards. Co-Authored-By: Claude Opus 5.5 (1M context) <<noreply@anthropic.com>>

    * refactor(autoware_in_lane_mrm_planner): remove unused RoadBorderContact::stop_index The stop point is now referenced by stop_pose only. Co-Authored-By: Claude Opus 5.5 <<noreply@anthropic.com>> ---------Co-authored-by: Claude Opus 5.5 (1M context) <<noreply@anthropic.com>>

  • feat(autoware_in_lane_mrm_planner): add road border stop (#13430)

    * feat(autoware_in_lane_mrm_planner): add road border stop Insert a stop point before the vehicle footprint interferes with a map road border (REQ-003 of the in-lane stop planning design, Phase2). Ported from mkuri/autoware.universe feat/in-lane-mrm-planner-road-border-stop (69bc5ef3a, reviewed as TetsuKawa/autoware_universe#13) onto the InLaneStopTrigger / per-profile planner.

    - Add MrmRoadBorderStopPlanner: sweeps the footprint along the candidate trajectory from the ego nearest point, queries lanelet2 linestring segments of the configured types (default road_border) through an R-tree rebuilt only when the map instance changes, refines the contact arc length by bisection and inserts a stop point stop_margin before the contact, never behind the ego. Segments outside ego z +/- vehicle height are ignored.

    - Apply it in the trajectory modifier right after the obstacle stop, once per cycle on the shared base trajectory; the stop point reaches MrmStopVelocityPlanner as a zero velocity constraint for every profile, so deceleration relaxation (per profile) stays in one place.

    - Publish PlanningFactor (STOP) under in_lane_mrm_road_border_stop and debug markers (contact footprint / segment / point, stop virtual wall).

    • Add road_border_stop parameters (yaml, config, schema) and README section.

    - Add 11 unit tests with a synthetic lanelet map. Co-Authored-By: Claude Opus 5.5 (1M context) <<noreply@anthropic.com>>

    * fix(autoware_in_lane_mrm_planner): start road border contact search at the ego pose The sweep started at the trajectory point returned by findNearestSegmentIndex, i.e. the start of the segment the ego is on, up to one point interval behind base_link. A border just behind the ego rear could therefore be reported as a contact at the ego (stop at ego), and the debug contact footprint was drawn behind the vehicle.

    - Evaluate the ego footprint first, then only trajectory points ahead of the ego; the bisection refines between the ego pose and the first interfering point.

    - Keep the refined contact pose in RoadBorderContact and draw the debug contact footprint there (the contact index shifts when the stop point is inserted).

    - Add tests for a border behind the ego footprint and a contact refined from an ego pose between trajectory points. Co-Authored-By: Claude Opus 5.5 (1M context) <<noreply@anthropic.com>>

    * docs(autoware_in_lane_mrm_planner): document road border stop output topics The debug marker topic [~/road_border_stop/debug/marker]{.title-ref} is node-relative and resolves to [/in_lane_mrm_planner/road_border_stop/debug/marker]{.title-ref} with the default launch, not [/planning/...]{.title-ref} as assumed in verification procedures. List the planning factor and marker topics explicitly and describe the stop wall position and the ego-first footprint sweep. Co-Authored-By: Claude Opus 5.5 (1M context) <<noreply@anthropic.com>>

    • refactor(autoware_in_lane_mrm_planner): remove unused road border stop members

    - Remove the unused debug_footprints_ member and RoadBorderContact::contact_index (the stop point is based on

File truncated at 100 lines see the full file

Launch files

  • launch/in_lane_mrm_planner.launch.xml
      • param_path [default: $(find-pkg-share autoware_in_lane_mrm_planner)/config/in_lane_mrm_planner.param.yaml]
      • eb_param_path [default: $(find-pkg-share autoware_in_lane_mrm_planner)/config/elastic_band_smoother.param.yaml]
      • input_route [default: /main/planning/mission_planning/route]
      • input_vector_map [default: /main/map/vector_map]
      • input_kinematic_state [default: /localization/kinematic_state]
      • input_acceleration [default: /localization/acceleration]
      • input_objects [default: /main/perception/object_recognition/objects]
      • input_trigger_topic [default: /system/in_lane_stop/trigger]
      • output_trajectory [default: /planning/in_lane_mrm_planner/output/trajectory]
      • output_planner_status [default: /planning/in_lane_mrm_planner/debug/planner_status]
      • output_gate_gear [default: /control/control_command_gate/inputs/in_lane_stop/gear]
      • output_gate_hazard [default: /control/control_command_gate/inputs/in_lane_stop/hazard_lights]
      • output_gate_turn [default: /control/control_command_gate/inputs/in_lane_stop/turn_indicators]
      • auxiliary_commands_publish_hz [default: 10.0]

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged autoware_in_lane_mrm_planner at Robotics Stack Exchange

No version for distro galactic showing github. Known supported distros are highlighted in the buttons above.
Package symbol

autoware_in_lane_mrm_planner package from autoware_universe repo

autoware_boundary_departure_checker autoware_component_interface_specs_universe autoware_cuda_dependency_meta autoware_deprecated_boundary_departure_checker autoware_fake_test_node autoware_glog_component autoware_goal_distance_calculator autoware_grid_map_utils autoware_obstacle_proximity_checker autoware_path_distance_calculator autoware_polar_grid autoware_time_utils autoware_traffic_light_compliance_checker autoware_traffic_light_recognition_marker_publisher autoware_traffic_light_utils autoware_universe_utils tier4_api_utils autoware_autonomous_emergency_braking autoware_collision_detector autoware_control_command_gate autoware_control_performance_analysis autoware_control_validator autoware_external_cmd_selector autoware_joy_controller autoware_lane_departure_checker autoware_mpc_lateral_controller autoware_obstacle_collision_checker autoware_operation_mode_transition_manager autoware_pid_longitudinal_controller autoware_predicted_path_checker autoware_pure_pursuit autoware_shift_decider autoware_smart_mpc_trajectory_follower autoware_spheric_collision_detector autoware_stop_mode_operator autoware_trajectory_follower_base autoware_trajectory_follower_node autoware_vehicle_cmd_gate autoware_tensorrt_vad autoware_control_evaluator autoware_evaluation_adapter autoware_kinematic_evaluator autoware_localization_evaluator autoware_perception_online_evaluator autoware_planning_evaluator autoware_scenario_simulator_v2_adapter autoware_diagnostic_graph_test_examples autoware_geo_pose_projector autoware_ar_tag_based_localizer autoware_landmark_manager autoware_lidar_marker_localizer autoware_localization_error_monitor autoware_pose2twist autoware_pose_covariance_modifier autoware_pose_estimator_arbiter autoware_pose_initialization_requester autoware_pose_instability_detector yabloc_common yabloc_image_processing yabloc_monitor yabloc_particle_filter yabloc_pose_initializer autoware_map_tf_generator autoware_bevfusion autoware_bytetrack autoware_camera_streampetr autoware_cluster_merger autoware_compare_map_segmentation autoware_crosswalk_traffic_light_estimator autoware_detected_object_feature_remover autoware_detected_object_validation autoware_detection_by_tracker autoware_elevation_map_loader autoware_euclidean_cluster autoware_ground_segmentation autoware_ground_segmentation_cuda autoware_image_object_locator autoware_image_projection_based_fusion autoware_lidar_apollo_instance_segmentation autoware_lidar_centerpoint autoware_lidar_frnet autoware_lidar_transfusion autoware_map_based_prediction autoware_multi_object_tracker autoware_object_merger autoware_object_sorter autoware_occupancy_grid_map_outlier_filter autoware_predicted_path_postprocessor autoware_probabilistic_occupancy_grid_map autoware_ptv3 autoware_radar_fusion_to_detected_object autoware_radar_object_tracker autoware_radar_tracks_msgs_converter autoware_raindrop_cluster_filter autoware_shape_estimation autoware_simpl_prediction autoware_simple_object_merger autoware_tensorrt_bevdet autoware_tensorrt_bevformer autoware_tensorrt_classifier autoware_tensorrt_common autoware_tensorrt_plugins autoware_tensorrt_yolox autoware_tracking_object_merger autoware_traffic_light_arbiter autoware_traffic_light_category_merger autoware_traffic_light_classifier autoware_traffic_light_fine_detector autoware_traffic_light_map_based_detector autoware_traffic_light_multi_camera_fusion autoware_traffic_light_occlusion_predictor autoware_traffic_light_pipeline autoware_traffic_light_selector autoware_traffic_light_visualization perception_utils autoware_costmap_generator autoware_diffusion_planner autoware_external_velocity_limit_selector autoware_freespace_planner autoware_freespace_planning_algorithms autoware_hazard_lights_selector autoware_in_lane_mrm_planner autoware_manual_lane_change_handler autoware_minimum_rule_based_planner autoware_mission_planner_universe autoware_path_optimizer autoware_path_smoother autoware_remaining_distance_time_calculator autoware_rtc_interface autoware_scenario_selector autoware_surround_obstacle_checker autoware_trajectory_adapter autoware_trajectory_concatenator autoware_trajectory_gate autoware_trajectory_modifier autoware_trajectory_ranker autoware_trajectory_selector autoware_trajectory_validator autoware_behavior_path_avoidance_by_lane_change_module autoware_behavior_path_bidirectional_traffic_module autoware_behavior_path_direction_change_module autoware_behavior_path_dynamic_obstacle_avoidance_module autoware_behavior_path_external_request_lane_change_module autoware_behavior_path_goal_planner_module autoware_behavior_path_lane_change_module autoware_behavior_path_planner autoware_behavior_path_planner_common autoware_behavior_path_sampling_planner_module autoware_behavior_path_side_shift_module autoware_behavior_path_start_planner_module autoware_behavior_path_static_obstacle_avoidance_module autoware_behavior_velocity_blind_spot_module autoware_behavior_velocity_crosswalk_module autoware_behavior_velocity_detection_area_module autoware_behavior_velocity_intersection_module autoware_behavior_velocity_no_drivable_lane_module autoware_behavior_velocity_no_stopping_area_module autoware_behavior_velocity_occlusion_spot_module autoware_behavior_velocity_roundabout_module autoware_behavior_velocity_rtc_interface autoware_behavior_velocity_speed_bump_module autoware_behavior_velocity_template_module autoware_behavior_velocity_traffic_light_module autoware_behavior_velocity_virtual_traffic_light_module autoware_behavior_velocity_walkway_module autoware_motion_velocity_boundary_departure_prevention_module autoware_motion_velocity_dynamic_obstacle_stop_module autoware_motion_velocity_obstacle_cruise_module autoware_motion_velocity_obstacle_slow_down_module autoware_motion_velocity_obstacle_velocity_limiter_module autoware_motion_velocity_out_of_lane_module autoware_motion_velocity_road_user_stop_module autoware_motion_velocity_run_out_module autoware_planning_validator autoware_planning_validator_intersection_collision_checker autoware_planning_validator_latency_checker autoware_planning_validator_rear_collision_checker autoware_planning_validator_test_utils autoware_planning_validator_trajectory_checker autoware_bezier_sampler autoware_frenet_planner autoware_path_sampler autoware_sampler_common autoware_calibration_status_classifier autoware_cuda_pointcloud_preprocessor autoware_cuda_utils autoware_image_diagnostics autoware_image_transport_decompressor autoware_imu_corrector autoware_pcl_extensions autoware_pointcloud_preprocessor autoware_radar_objects_adapter autoware_radar_scan_to_pointcloud2 autoware_radar_static_pointcloud_filter autoware_radar_threshold_filter autoware_radar_tracks_noise_filter autoware_carla_interface autoware_dummy_diag_publisher autoware_dummy_infrastructure autoware_dummy_traffic_light_publisher autoware_fault_injection autoware_redundancy_command_selector autoware_vehicle_door_simulator tier4_dummy_object_rviz_plugin autoware_command_mode_decider autoware_command_mode_decider_plugins autoware_command_mode_switcher autoware_command_mode_switcher_plugins autoware_command_mode_types autoware_component_monitor autoware_component_state_monitor autoware_adapi_visualizers autoware_default_adapi_universe autoware_diagnostic_graph_aggregator autoware_diagnostic_graph_merger autoware_diagnostic_graph_utils autoware_driving_mode_manager autoware_duplicated_node_checker autoware_generic_service_divider autoware_hazard_status_converter autoware_mrm_comfortable_stop_operator autoware_mrm_emergency_stop_operator autoware_mrm_handler autoware_mrm_in_lane_stop_operator autoware_mrm_reset_manager autoware_mrm_steering_hold_stop_operator autoware_pipeline_latency_monitor autoware_processing_time_checker autoware_redundancy_adapi_switcher autoware_redundancy_switcher_interface autoware_redundancy_switcher_interface_plugins autoware_system_monitor autoware_topic_relay_controller autoware_topic_state_monitor autoware_velodyne_monitor autoware_accel_brake_map_calibrator autoware_external_cmd_converter autoware_raw_vehicle_cmd_converter autoware_steer_offset_estimator autoware_bag_time_manager_rviz_plugin autoware_traffic_light_rviz_plugin tier4_active_generator_rviz_plugin tier4_adapi_rviz_plugin tier4_camera_view_rviz_plugin tier4_control_mode_rviz_plugin tier4_datetime_rviz_plugin tier4_manual_lane_change_rviz_plugin tier4_perception_rviz_plugin tier4_planning_factor_rviz_plugin tier4_state_rviz_plugin tier4_traffic_light_rviz_plugin tier4_vehicle_rviz_plugin

ROS Distro
github

Package Summary

Version 0.53.0
License Apache License 2.0
Build type AMENT_CMAKE
Use RECOMMENDED

Repository Summary

Description
Checkout URI https://github.com/autowarefoundation/autoware_universe.git
VCS Type git
VCS Version main
Last Updated 2026-10-08
Dev Status UNKNOWN
Released UNRELEASED
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Package Description

MRM in-lane stop trajectory planner (Phase1)

Maintainers

  • Takumi Odashima

Authors

No additional authors.

autoware_in_lane_mrm_planner

MRM in-lane stop trajectory planner (Phase1).

Design

See docs/design_phase1.md and docs/implementation_plan_phase1.md.

Build

From pilot-auto.x2.v4.3.2 repository root (after workspace dependencies are installed):

./cmd_helper.sh --build_ccache --packages-select autoware_in_lane_mrm_planner

Do not run package builds in parallel with a full workspace build.

Launch

ros2 launch autoware_in_lane_mrm_planner in_lane_mrm_planner.launch.xml

In-lane stop trigger

The planner subscribes the trigger published by autoware_mrm_in_lane_stop_operator directly (the former mrm_trigger_relay node was removed).

Item Value
Topic (node) ~/input/trigger
Default remap /system/in_lane_stop/trigger (launch arg input_trigger_topic)
Type tier4_system_msgs/msg/InLaneStopTrigger (stamp, trigger, profile)
QoS reliable, transient_local, depth 1 (the operator publishes on change only)

The trigger only selects a deceleration profile; the constraint values are owned by the planner (mrm_velocity.profiles.<name>).

  • Every cycle while unlatched, the path is planned once and a velocity profile is filled for every profile (moderate, emergency). The moderate candidate is published as the hot-standby output.
  • trigger: true latches the candidate of the requested profile (the one planned in the previous cycle). If no candidate of that profile exists yet (e.g. the planner started after the trigger), the latch is retried every cycle.
  • A profile change while triggered (e.g. moderate -> emergency) re-plans from the current state and re-latches the new profile. Only a candidate planned in that cycle is re-latched; if planning fails the current latch is kept and the re-latch is retried.
  • trigger: false unlatches (and releases the latched objects).
  • An unknown profile value (e.g. PROFILE_UNKNOWN) with trigger: true is treated as moderate and reported with a throttled error log.

Parameters: MRM stop velocity

Name Default (L4) Description
mrm_velocity.profiles.moderate.target_deceleration -3.0 Target deceleration of PROFILE_MODERATE [m/s^2]
mrm_velocity.profiles.moderate.target_jerk -5.0 Target jerk of PROFILE_MODERATE [m/s^3]
mrm_velocity.profiles.moderate.max_deceleration_relaxation -4.0 Relaxation limit of the deceleration [m/s^2]
mrm_velocity.profiles.moderate.max_jerk_relaxation -10.0 Relaxation limit of the jerk [m/s^3]
mrm_velocity.profiles.emergency.target_deceleration -6.0 Target deceleration of PROFILE_EMERGENCY [m/s^2]
mrm_velocity.profiles.emergency.target_jerk -20.0 Target jerk of PROFILE_EMERGENCY [m/s^3]
mrm_velocity.profiles.emergency.max_deceleration_relaxation -8.0 Relaxation limit of the deceleration [m/s^2]
mrm_velocity.profiles.emergency.max_jerk_relaxation -30.0 Relaxation limit of the jerk [m/s^3]
mrm_velocity.step_deceleration_relaxation -1.0 Deceleration relaxation step (shared) [m/s^2]
mrm_velocity.step_jerk_relaxation -5.0 Jerk relaxation step (shared) [m/s^3]
mrm_velocity.brake_delay_time 0.5 Brake dead time before the ramp (shared) [s]

Split parameter files per operation class if different constraint values are needed.

Road border stop (Phase2)

MrmRoadBorderStopPlanner (applied inside the trajectory modifier right after the obstacle stop) sweeps the vehicle footprint along the candidate trajectory from the ego nearest point and inserts a stop point road_border_stop.stop_margin before the first interference with a map road border. Boundaries are the lanelet2 linestrings whose type attribute is listed in road_border_stop.boundary_types_to_detect (default ["road_border"]); their segments are indexed in an R-tree that is rebuilt only when the map instance changes. The contact arc length is refined by bisection between the last non-interfering and the first interfering trajectory point. The stop point is never placed behind the ego. Deceleration feasibility is left to MrmStopVelocityPlanner, which relaxes deceleration / jerk of each profile up to mrm_velocity.profiles.<profile>.max_*_relaxation when the stop point is close.

The footprint sweep starts at the ego pose itself and then continues over the trajectory points ahead of the ego, so a border behind the vehicle is never reported.

Outputs:

Output Topic Type
Planning factor /planning/planning_factors/in_lane_mrm_road_border_stop autoware_internal_planning_msgs/msg/PlanningFactorArray (STOP)
Debug markers ~/road_border_stop/debug/marker (node-relative, not remapped) visualization_msgs/msg/MarkerArray

The debug marker topic is relative to the node name, so with the default launch it resolves to /in_lane_mrm_planner/road_border_stop/debug/marker (not /planning/...). It contains the contact footprint, the contact segment / point and a stop virtual wall. The wall is drawn at the stop pose shifted by the vehicle front (max_longitudinal_offset), i.e. where the vehicle front will be when stopped.

While the trigger is latched the candidates are not re-planned. The planning factor and the

File truncated at 100 lines see the full file

CHANGELOG

Changelog for package autoware_in_lane_mrm_planner

0.53.0 (2026-09-29)

  • Merge remote-tracking branch 'origin/main' into prepare-0.53.0-changelog

  • feat(autoware_in_lane_mrm_planner): keep publishing road border stop reason while latched (#13432)

    * feat(autoware_in_lane_mrm_planner): keep publishing road border stop reason while latched While the in-lane stop trigger is latched the candidates are not re-planned, so the road border stop planning factor and debug markers stopped being published at the trigger and the stop reason disappeared from rviz during the MRM. Re-publish the contact the latched trajectory was planned with (debug markers and the planning factor, whose distance is measured from the current ego pose) until the trigger is released. The stop pose is kept with the contact since the latched trajectory may be resampled afterwards. Co-Authored-By: Claude Opus 5.5 (1M context) <<noreply@anthropic.com>>

    * refactor(autoware_in_lane_mrm_planner): remove unused RoadBorderContact::stop_index The stop point is now referenced by stop_pose only. Co-Authored-By: Claude Opus 5.5 <<noreply@anthropic.com>> ---------Co-authored-by: Claude Opus 5.5 (1M context) <<noreply@anthropic.com>>

  • feat(autoware_in_lane_mrm_planner): add road border stop (#13430)

    * feat(autoware_in_lane_mrm_planner): add road border stop Insert a stop point before the vehicle footprint interferes with a map road border (REQ-003 of the in-lane stop planning design, Phase2). Ported from mkuri/autoware.universe feat/in-lane-mrm-planner-road-border-stop (69bc5ef3a, reviewed as TetsuKawa/autoware_universe#13) onto the InLaneStopTrigger / per-profile planner.

    - Add MrmRoadBorderStopPlanner: sweeps the footprint along the candidate trajectory from the ego nearest point, queries lanelet2 linestring segments of the configured types (default road_border) through an R-tree rebuilt only when the map instance changes, refines the contact arc length by bisection and inserts a stop point stop_margin before the contact, never behind the ego. Segments outside ego z +/- vehicle height are ignored.

    - Apply it in the trajectory modifier right after the obstacle stop, once per cycle on the shared base trajectory; the stop point reaches MrmStopVelocityPlanner as a zero velocity constraint for every profile, so deceleration relaxation (per profile) stays in one place.

    - Publish PlanningFactor (STOP) under in_lane_mrm_road_border_stop and debug markers (contact footprint / segment / point, stop virtual wall).

    • Add road_border_stop parameters (yaml, config, schema) and README section.

    - Add 11 unit tests with a synthetic lanelet map. Co-Authored-By: Claude Opus 5.5 (1M context) <<noreply@anthropic.com>>

    * fix(autoware_in_lane_mrm_planner): start road border contact search at the ego pose The sweep started at the trajectory point returned by findNearestSegmentIndex, i.e. the start of the segment the ego is on, up to one point interval behind base_link. A border just behind the ego rear could therefore be reported as a contact at the ego (stop at ego), and the debug contact footprint was drawn behind the vehicle.

    - Evaluate the ego footprint first, then only trajectory points ahead of the ego; the bisection refines between the ego pose and the first interfering point.

    - Keep the refined contact pose in RoadBorderContact and draw the debug contact footprint there (the contact index shifts when the stop point is inserted).

    - Add tests for a border behind the ego footprint and a contact refined from an ego pose between trajectory points. Co-Authored-By: Claude Opus 5.5 (1M context) <<noreply@anthropic.com>>

    * docs(autoware_in_lane_mrm_planner): document road border stop output topics The debug marker topic [~/road_border_stop/debug/marker]{.title-ref} is node-relative and resolves to [/in_lane_mrm_planner/road_border_stop/debug/marker]{.title-ref} with the default launch, not [/planning/...]{.title-ref} as assumed in verification procedures. List the planning factor and marker topics explicitly and describe the stop wall position and the ego-first footprint sweep. Co-Authored-By: Claude Opus 5.5 (1M context) <<noreply@anthropic.com>>

    • refactor(autoware_in_lane_mrm_planner): remove unused road border stop members

    - Remove the unused debug_footprints_ member and RoadBorderContact::contact_index (the stop point is based on

File truncated at 100 lines see the full file

Launch files

  • launch/in_lane_mrm_planner.launch.xml
      • param_path [default: $(find-pkg-share autoware_in_lane_mrm_planner)/config/in_lane_mrm_planner.param.yaml]
      • eb_param_path [default: $(find-pkg-share autoware_in_lane_mrm_planner)/config/elastic_band_smoother.param.yaml]
      • input_route [default: /main/planning/mission_planning/route]
      • input_vector_map [default: /main/map/vector_map]
      • input_kinematic_state [default: /localization/kinematic_state]
      • input_acceleration [default: /localization/acceleration]
      • input_objects [default: /main/perception/object_recognition/objects]
      • input_trigger_topic [default: /system/in_lane_stop/trigger]
      • output_trajectory [default: /planning/in_lane_mrm_planner/output/trajectory]
      • output_planner_status [default: /planning/in_lane_mrm_planner/debug/planner_status]
      • output_gate_gear [default: /control/control_command_gate/inputs/in_lane_stop/gear]
      • output_gate_hazard [default: /control/control_command_gate/inputs/in_lane_stop/hazard_lights]
      • output_gate_turn [default: /control/control_command_gate/inputs/in_lane_stop/turn_indicators]
      • auxiliary_commands_publish_hz [default: 10.0]

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged autoware_in_lane_mrm_planner at Robotics Stack Exchange

No version for distro iron showing github. Known supported distros are highlighted in the buttons above.
Package symbol

autoware_in_lane_mrm_planner package from autoware_universe repo

autoware_boundary_departure_checker autoware_component_interface_specs_universe autoware_cuda_dependency_meta autoware_deprecated_boundary_departure_checker autoware_fake_test_node autoware_glog_component autoware_goal_distance_calculator autoware_grid_map_utils autoware_obstacle_proximity_checker autoware_path_distance_calculator autoware_polar_grid autoware_time_utils autoware_traffic_light_compliance_checker autoware_traffic_light_recognition_marker_publisher autoware_traffic_light_utils autoware_universe_utils tier4_api_utils autoware_autonomous_emergency_braking autoware_collision_detector autoware_control_command_gate autoware_control_performance_analysis autoware_control_validator autoware_external_cmd_selector autoware_joy_controller autoware_lane_departure_checker autoware_mpc_lateral_controller autoware_obstacle_collision_checker autoware_operation_mode_transition_manager autoware_pid_longitudinal_controller autoware_predicted_path_checker autoware_pure_pursuit autoware_shift_decider autoware_smart_mpc_trajectory_follower autoware_spheric_collision_detector autoware_stop_mode_operator autoware_trajectory_follower_base autoware_trajectory_follower_node autoware_vehicle_cmd_gate autoware_tensorrt_vad autoware_control_evaluator autoware_evaluation_adapter autoware_kinematic_evaluator autoware_localization_evaluator autoware_perception_online_evaluator autoware_planning_evaluator autoware_scenario_simulator_v2_adapter autoware_diagnostic_graph_test_examples autoware_geo_pose_projector autoware_ar_tag_based_localizer autoware_landmark_manager autoware_lidar_marker_localizer autoware_localization_error_monitor autoware_pose2twist autoware_pose_covariance_modifier autoware_pose_estimator_arbiter autoware_pose_initialization_requester autoware_pose_instability_detector yabloc_common yabloc_image_processing yabloc_monitor yabloc_particle_filter yabloc_pose_initializer autoware_map_tf_generator autoware_bevfusion autoware_bytetrack autoware_camera_streampetr autoware_cluster_merger autoware_compare_map_segmentation autoware_crosswalk_traffic_light_estimator autoware_detected_object_feature_remover autoware_detected_object_validation autoware_detection_by_tracker autoware_elevation_map_loader autoware_euclidean_cluster autoware_ground_segmentation autoware_ground_segmentation_cuda autoware_image_object_locator autoware_image_projection_based_fusion autoware_lidar_apollo_instance_segmentation autoware_lidar_centerpoint autoware_lidar_frnet autoware_lidar_transfusion autoware_map_based_prediction autoware_multi_object_tracker autoware_object_merger autoware_object_sorter autoware_occupancy_grid_map_outlier_filter autoware_predicted_path_postprocessor autoware_probabilistic_occupancy_grid_map autoware_ptv3 autoware_radar_fusion_to_detected_object autoware_radar_object_tracker autoware_radar_tracks_msgs_converter autoware_raindrop_cluster_filter autoware_shape_estimation autoware_simpl_prediction autoware_simple_object_merger autoware_tensorrt_bevdet autoware_tensorrt_bevformer autoware_tensorrt_classifier autoware_tensorrt_common autoware_tensorrt_plugins autoware_tensorrt_yolox autoware_tracking_object_merger autoware_traffic_light_arbiter autoware_traffic_light_category_merger autoware_traffic_light_classifier autoware_traffic_light_fine_detector autoware_traffic_light_map_based_detector autoware_traffic_light_multi_camera_fusion autoware_traffic_light_occlusion_predictor autoware_traffic_light_pipeline autoware_traffic_light_selector autoware_traffic_light_visualization perception_utils autoware_costmap_generator autoware_diffusion_planner autoware_external_velocity_limit_selector autoware_freespace_planner autoware_freespace_planning_algorithms autoware_hazard_lights_selector autoware_in_lane_mrm_planner autoware_manual_lane_change_handler autoware_minimum_rule_based_planner autoware_mission_planner_universe autoware_path_optimizer autoware_path_smoother autoware_remaining_distance_time_calculator autoware_rtc_interface autoware_scenario_selector autoware_surround_obstacle_checker autoware_trajectory_adapter autoware_trajectory_concatenator autoware_trajectory_gate autoware_trajectory_modifier autoware_trajectory_ranker autoware_trajectory_selector autoware_trajectory_validator autoware_behavior_path_avoidance_by_lane_change_module autoware_behavior_path_bidirectional_traffic_module autoware_behavior_path_direction_change_module autoware_behavior_path_dynamic_obstacle_avoidance_module autoware_behavior_path_external_request_lane_change_module autoware_behavior_path_goal_planner_module autoware_behavior_path_lane_change_module autoware_behavior_path_planner autoware_behavior_path_planner_common autoware_behavior_path_sampling_planner_module autoware_behavior_path_side_shift_module autoware_behavior_path_start_planner_module autoware_behavior_path_static_obstacle_avoidance_module autoware_behavior_velocity_blind_spot_module autoware_behavior_velocity_crosswalk_module autoware_behavior_velocity_detection_area_module autoware_behavior_velocity_intersection_module autoware_behavior_velocity_no_drivable_lane_module autoware_behavior_velocity_no_stopping_area_module autoware_behavior_velocity_occlusion_spot_module autoware_behavior_velocity_roundabout_module autoware_behavior_velocity_rtc_interface autoware_behavior_velocity_speed_bump_module autoware_behavior_velocity_template_module autoware_behavior_velocity_traffic_light_module autoware_behavior_velocity_virtual_traffic_light_module autoware_behavior_velocity_walkway_module autoware_motion_velocity_boundary_departure_prevention_module autoware_motion_velocity_dynamic_obstacle_stop_module autoware_motion_velocity_obstacle_cruise_module autoware_motion_velocity_obstacle_slow_down_module autoware_motion_velocity_obstacle_velocity_limiter_module autoware_motion_velocity_out_of_lane_module autoware_motion_velocity_road_user_stop_module autoware_motion_velocity_run_out_module autoware_planning_validator autoware_planning_validator_intersection_collision_checker autoware_planning_validator_latency_checker autoware_planning_validator_rear_collision_checker autoware_planning_validator_test_utils autoware_planning_validator_trajectory_checker autoware_bezier_sampler autoware_frenet_planner autoware_path_sampler autoware_sampler_common autoware_calibration_status_classifier autoware_cuda_pointcloud_preprocessor autoware_cuda_utils autoware_image_diagnostics autoware_image_transport_decompressor autoware_imu_corrector autoware_pcl_extensions autoware_pointcloud_preprocessor autoware_radar_objects_adapter autoware_radar_scan_to_pointcloud2 autoware_radar_static_pointcloud_filter autoware_radar_threshold_filter autoware_radar_tracks_noise_filter autoware_carla_interface autoware_dummy_diag_publisher autoware_dummy_infrastructure autoware_dummy_traffic_light_publisher autoware_fault_injection autoware_redundancy_command_selector autoware_vehicle_door_simulator tier4_dummy_object_rviz_plugin autoware_command_mode_decider autoware_command_mode_decider_plugins autoware_command_mode_switcher autoware_command_mode_switcher_plugins autoware_command_mode_types autoware_component_monitor autoware_component_state_monitor autoware_adapi_visualizers autoware_default_adapi_universe autoware_diagnostic_graph_aggregator autoware_diagnostic_graph_merger autoware_diagnostic_graph_utils autoware_driving_mode_manager autoware_duplicated_node_checker autoware_generic_service_divider autoware_hazard_status_converter autoware_mrm_comfortable_stop_operator autoware_mrm_emergency_stop_operator autoware_mrm_handler autoware_mrm_in_lane_stop_operator autoware_mrm_reset_manager autoware_mrm_steering_hold_stop_operator autoware_pipeline_latency_monitor autoware_processing_time_checker autoware_redundancy_adapi_switcher autoware_redundancy_switcher_interface autoware_redundancy_switcher_interface_plugins autoware_system_monitor autoware_topic_relay_controller autoware_topic_state_monitor autoware_velodyne_monitor autoware_accel_brake_map_calibrator autoware_external_cmd_converter autoware_raw_vehicle_cmd_converter autoware_steer_offset_estimator autoware_bag_time_manager_rviz_plugin autoware_traffic_light_rviz_plugin tier4_active_generator_rviz_plugin tier4_adapi_rviz_plugin tier4_camera_view_rviz_plugin tier4_control_mode_rviz_plugin tier4_datetime_rviz_plugin tier4_manual_lane_change_rviz_plugin tier4_perception_rviz_plugin tier4_planning_factor_rviz_plugin tier4_state_rviz_plugin tier4_traffic_light_rviz_plugin tier4_vehicle_rviz_plugin

ROS Distro
github

Package Summary

Version 0.53.0
License Apache License 2.0
Build type AMENT_CMAKE
Use RECOMMENDED

Repository Summary

Description
Checkout URI https://github.com/autowarefoundation/autoware_universe.git
VCS Type git
VCS Version main
Last Updated 2026-10-08
Dev Status UNKNOWN
Released UNRELEASED
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Package Description

MRM in-lane stop trajectory planner (Phase1)

Maintainers

  • Takumi Odashima

Authors

No additional authors.

autoware_in_lane_mrm_planner

MRM in-lane stop trajectory planner (Phase1).

Design

See docs/design_phase1.md and docs/implementation_plan_phase1.md.

Build

From pilot-auto.x2.v4.3.2 repository root (after workspace dependencies are installed):

./cmd_helper.sh --build_ccache --packages-select autoware_in_lane_mrm_planner

Do not run package builds in parallel with a full workspace build.

Launch

ros2 launch autoware_in_lane_mrm_planner in_lane_mrm_planner.launch.xml

In-lane stop trigger

The planner subscribes the trigger published by autoware_mrm_in_lane_stop_operator directly (the former mrm_trigger_relay node was removed).

Item Value
Topic (node) ~/input/trigger
Default remap /system/in_lane_stop/trigger (launch arg input_trigger_topic)
Type tier4_system_msgs/msg/InLaneStopTrigger (stamp, trigger, profile)
QoS reliable, transient_local, depth 1 (the operator publishes on change only)

The trigger only selects a deceleration profile; the constraint values are owned by the planner (mrm_velocity.profiles.<name>).

  • Every cycle while unlatched, the path is planned once and a velocity profile is filled for every profile (moderate, emergency). The moderate candidate is published as the hot-standby output.
  • trigger: true latches the candidate of the requested profile (the one planned in the previous cycle). If no candidate of that profile exists yet (e.g. the planner started after the trigger), the latch is retried every cycle.
  • A profile change while triggered (e.g. moderate -> emergency) re-plans from the current state and re-latches the new profile. Only a candidate planned in that cycle is re-latched; if planning fails the current latch is kept and the re-latch is retried.
  • trigger: false unlatches (and releases the latched objects).
  • An unknown profile value (e.g. PROFILE_UNKNOWN) with trigger: true is treated as moderate and reported with a throttled error log.

Parameters: MRM stop velocity

Name Default (L4) Description
mrm_velocity.profiles.moderate.target_deceleration -3.0 Target deceleration of PROFILE_MODERATE [m/s^2]
mrm_velocity.profiles.moderate.target_jerk -5.0 Target jerk of PROFILE_MODERATE [m/s^3]
mrm_velocity.profiles.moderate.max_deceleration_relaxation -4.0 Relaxation limit of the deceleration [m/s^2]
mrm_velocity.profiles.moderate.max_jerk_relaxation -10.0 Relaxation limit of the jerk [m/s^3]
mrm_velocity.profiles.emergency.target_deceleration -6.0 Target deceleration of PROFILE_EMERGENCY [m/s^2]
mrm_velocity.profiles.emergency.target_jerk -20.0 Target jerk of PROFILE_EMERGENCY [m/s^3]
mrm_velocity.profiles.emergency.max_deceleration_relaxation -8.0 Relaxation limit of the deceleration [m/s^2]
mrm_velocity.profiles.emergency.max_jerk_relaxation -30.0 Relaxation limit of the jerk [m/s^3]
mrm_velocity.step_deceleration_relaxation -1.0 Deceleration relaxation step (shared) [m/s^2]
mrm_velocity.step_jerk_relaxation -5.0 Jerk relaxation step (shared) [m/s^3]
mrm_velocity.brake_delay_time 0.5 Brake dead time before the ramp (shared) [s]

Split parameter files per operation class if different constraint values are needed.

Road border stop (Phase2)

MrmRoadBorderStopPlanner (applied inside the trajectory modifier right after the obstacle stop) sweeps the vehicle footprint along the candidate trajectory from the ego nearest point and inserts a stop point road_border_stop.stop_margin before the first interference with a map road border. Boundaries are the lanelet2 linestrings whose type attribute is listed in road_border_stop.boundary_types_to_detect (default ["road_border"]); their segments are indexed in an R-tree that is rebuilt only when the map instance changes. The contact arc length is refined by bisection between the last non-interfering and the first interfering trajectory point. The stop point is never placed behind the ego. Deceleration feasibility is left to MrmStopVelocityPlanner, which relaxes deceleration / jerk of each profile up to mrm_velocity.profiles.<profile>.max_*_relaxation when the stop point is close.

The footprint sweep starts at the ego pose itself and then continues over the trajectory points ahead of the ego, so a border behind the vehicle is never reported.

Outputs:

Output Topic Type
Planning factor /planning/planning_factors/in_lane_mrm_road_border_stop autoware_internal_planning_msgs/msg/PlanningFactorArray (STOP)
Debug markers ~/road_border_stop/debug/marker (node-relative, not remapped) visualization_msgs/msg/MarkerArray

The debug marker topic is relative to the node name, so with the default launch it resolves to /in_lane_mrm_planner/road_border_stop/debug/marker (not /planning/...). It contains the contact footprint, the contact segment / point and a stop virtual wall. The wall is drawn at the stop pose shifted by the vehicle front (max_longitudinal_offset), i.e. where the vehicle front will be when stopped.

While the trigger is latched the candidates are not re-planned. The planning factor and the

File truncated at 100 lines see the full file

CHANGELOG

Changelog for package autoware_in_lane_mrm_planner

0.53.0 (2026-09-29)

  • Merge remote-tracking branch 'origin/main' into prepare-0.53.0-changelog

  • feat(autoware_in_lane_mrm_planner): keep publishing road border stop reason while latched (#13432)

    * feat(autoware_in_lane_mrm_planner): keep publishing road border stop reason while latched While the in-lane stop trigger is latched the candidates are not re-planned, so the road border stop planning factor and debug markers stopped being published at the trigger and the stop reason disappeared from rviz during the MRM. Re-publish the contact the latched trajectory was planned with (debug markers and the planning factor, whose distance is measured from the current ego pose) until the trigger is released. The stop pose is kept with the contact since the latched trajectory may be resampled afterwards. Co-Authored-By: Claude Opus 5.5 (1M context) <<noreply@anthropic.com>>

    * refactor(autoware_in_lane_mrm_planner): remove unused RoadBorderContact::stop_index The stop point is now referenced by stop_pose only. Co-Authored-By: Claude Opus 5.5 <<noreply@anthropic.com>> ---------Co-authored-by: Claude Opus 5.5 (1M context) <<noreply@anthropic.com>>

  • feat(autoware_in_lane_mrm_planner): add road border stop (#13430)

    * feat(autoware_in_lane_mrm_planner): add road border stop Insert a stop point before the vehicle footprint interferes with a map road border (REQ-003 of the in-lane stop planning design, Phase2). Ported from mkuri/autoware.universe feat/in-lane-mrm-planner-road-border-stop (69bc5ef3a, reviewed as TetsuKawa/autoware_universe#13) onto the InLaneStopTrigger / per-profile planner.

    - Add MrmRoadBorderStopPlanner: sweeps the footprint along the candidate trajectory from the ego nearest point, queries lanelet2 linestring segments of the configured types (default road_border) through an R-tree rebuilt only when the map instance changes, refines the contact arc length by bisection and inserts a stop point stop_margin before the contact, never behind the ego. Segments outside ego z +/- vehicle height are ignored.

    - Apply it in the trajectory modifier right after the obstacle stop, once per cycle on the shared base trajectory; the stop point reaches MrmStopVelocityPlanner as a zero velocity constraint for every profile, so deceleration relaxation (per profile) stays in one place.

    - Publish PlanningFactor (STOP) under in_lane_mrm_road_border_stop and debug markers (contact footprint / segment / point, stop virtual wall).

    • Add road_border_stop parameters (yaml, config, schema) and README section.

    - Add 11 unit tests with a synthetic lanelet map. Co-Authored-By: Claude Opus 5.5 (1M context) <<noreply@anthropic.com>>

    * fix(autoware_in_lane_mrm_planner): start road border contact search at the ego pose The sweep started at the trajectory point returned by findNearestSegmentIndex, i.e. the start of the segment the ego is on, up to one point interval behind base_link. A border just behind the ego rear could therefore be reported as a contact at the ego (stop at ego), and the debug contact footprint was drawn behind the vehicle.

    - Evaluate the ego footprint first, then only trajectory points ahead of the ego; the bisection refines between the ego pose and the first interfering point.

    - Keep the refined contact pose in RoadBorderContact and draw the debug contact footprint there (the contact index shifts when the stop point is inserted).

    - Add tests for a border behind the ego footprint and a contact refined from an ego pose between trajectory points. Co-Authored-By: Claude Opus 5.5 (1M context) <<noreply@anthropic.com>>

    * docs(autoware_in_lane_mrm_planner): document road border stop output topics The debug marker topic [~/road_border_stop/debug/marker]{.title-ref} is node-relative and resolves to [/in_lane_mrm_planner/road_border_stop/debug/marker]{.title-ref} with the default launch, not [/planning/...]{.title-ref} as assumed in verification procedures. List the planning factor and marker topics explicitly and describe the stop wall position and the ego-first footprint sweep. Co-Authored-By: Claude Opus 5.5 (1M context) <<noreply@anthropic.com>>

    • refactor(autoware_in_lane_mrm_planner): remove unused road border stop members

    - Remove the unused debug_footprints_ member and RoadBorderContact::contact_index (the stop point is based on

File truncated at 100 lines see the full file

Launch files

  • launch/in_lane_mrm_planner.launch.xml
      • param_path [default: $(find-pkg-share autoware_in_lane_mrm_planner)/config/in_lane_mrm_planner.param.yaml]
      • eb_param_path [default: $(find-pkg-share autoware_in_lane_mrm_planner)/config/elastic_band_smoother.param.yaml]
      • input_route [default: /main/planning/mission_planning/route]
      • input_vector_map [default: /main/map/vector_map]
      • input_kinematic_state [default: /localization/kinematic_state]
      • input_acceleration [default: /localization/acceleration]
      • input_objects [default: /main/perception/object_recognition/objects]
      • input_trigger_topic [default: /system/in_lane_stop/trigger]
      • output_trajectory [default: /planning/in_lane_mrm_planner/output/trajectory]
      • output_planner_status [default: /planning/in_lane_mrm_planner/debug/planner_status]
      • output_gate_gear [default: /control/control_command_gate/inputs/in_lane_stop/gear]
      • output_gate_hazard [default: /control/control_command_gate/inputs/in_lane_stop/hazard_lights]
      • output_gate_turn [default: /control/control_command_gate/inputs/in_lane_stop/turn_indicators]
      • auxiliary_commands_publish_hz [default: 10.0]

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged autoware_in_lane_mrm_planner at Robotics Stack Exchange

No version for distro melodic showing github. Known supported distros are highlighted in the buttons above.
Package symbol

autoware_in_lane_mrm_planner package from autoware_universe repo

autoware_boundary_departure_checker autoware_component_interface_specs_universe autoware_cuda_dependency_meta autoware_deprecated_boundary_departure_checker autoware_fake_test_node autoware_glog_component autoware_goal_distance_calculator autoware_grid_map_utils autoware_obstacle_proximity_checker autoware_path_distance_calculator autoware_polar_grid autoware_time_utils autoware_traffic_light_compliance_checker autoware_traffic_light_recognition_marker_publisher autoware_traffic_light_utils autoware_universe_utils tier4_api_utils autoware_autonomous_emergency_braking autoware_collision_detector autoware_control_command_gate autoware_control_performance_analysis autoware_control_validator autoware_external_cmd_selector autoware_joy_controller autoware_lane_departure_checker autoware_mpc_lateral_controller autoware_obstacle_collision_checker autoware_operation_mode_transition_manager autoware_pid_longitudinal_controller autoware_predicted_path_checker autoware_pure_pursuit autoware_shift_decider autoware_smart_mpc_trajectory_follower autoware_spheric_collision_detector autoware_stop_mode_operator autoware_trajectory_follower_base autoware_trajectory_follower_node autoware_vehicle_cmd_gate autoware_tensorrt_vad autoware_control_evaluator autoware_evaluation_adapter autoware_kinematic_evaluator autoware_localization_evaluator autoware_perception_online_evaluator autoware_planning_evaluator autoware_scenario_simulator_v2_adapter autoware_diagnostic_graph_test_examples autoware_geo_pose_projector autoware_ar_tag_based_localizer autoware_landmark_manager autoware_lidar_marker_localizer autoware_localization_error_monitor autoware_pose2twist autoware_pose_covariance_modifier autoware_pose_estimator_arbiter autoware_pose_initialization_requester autoware_pose_instability_detector yabloc_common yabloc_image_processing yabloc_monitor yabloc_particle_filter yabloc_pose_initializer autoware_map_tf_generator autoware_bevfusion autoware_bytetrack autoware_camera_streampetr autoware_cluster_merger autoware_compare_map_segmentation autoware_crosswalk_traffic_light_estimator autoware_detected_object_feature_remover autoware_detected_object_validation autoware_detection_by_tracker autoware_elevation_map_loader autoware_euclidean_cluster autoware_ground_segmentation autoware_ground_segmentation_cuda autoware_image_object_locator autoware_image_projection_based_fusion autoware_lidar_apollo_instance_segmentation autoware_lidar_centerpoint autoware_lidar_frnet autoware_lidar_transfusion autoware_map_based_prediction autoware_multi_object_tracker autoware_object_merger autoware_object_sorter autoware_occupancy_grid_map_outlier_filter autoware_predicted_path_postprocessor autoware_probabilistic_occupancy_grid_map autoware_ptv3 autoware_radar_fusion_to_detected_object autoware_radar_object_tracker autoware_radar_tracks_msgs_converter autoware_raindrop_cluster_filter autoware_shape_estimation autoware_simpl_prediction autoware_simple_object_merger autoware_tensorrt_bevdet autoware_tensorrt_bevformer autoware_tensorrt_classifier autoware_tensorrt_common autoware_tensorrt_plugins autoware_tensorrt_yolox autoware_tracking_object_merger autoware_traffic_light_arbiter autoware_traffic_light_category_merger autoware_traffic_light_classifier autoware_traffic_light_fine_detector autoware_traffic_light_map_based_detector autoware_traffic_light_multi_camera_fusion autoware_traffic_light_occlusion_predictor autoware_traffic_light_pipeline autoware_traffic_light_selector autoware_traffic_light_visualization perception_utils autoware_costmap_generator autoware_diffusion_planner autoware_external_velocity_limit_selector autoware_freespace_planner autoware_freespace_planning_algorithms autoware_hazard_lights_selector autoware_in_lane_mrm_planner autoware_manual_lane_change_handler autoware_minimum_rule_based_planner autoware_mission_planner_universe autoware_path_optimizer autoware_path_smoother autoware_remaining_distance_time_calculator autoware_rtc_interface autoware_scenario_selector autoware_surround_obstacle_checker autoware_trajectory_adapter autoware_trajectory_concatenator autoware_trajectory_gate autoware_trajectory_modifier autoware_trajectory_ranker autoware_trajectory_selector autoware_trajectory_validator autoware_behavior_path_avoidance_by_lane_change_module autoware_behavior_path_bidirectional_traffic_module autoware_behavior_path_direction_change_module autoware_behavior_path_dynamic_obstacle_avoidance_module autoware_behavior_path_external_request_lane_change_module autoware_behavior_path_goal_planner_module autoware_behavior_path_lane_change_module autoware_behavior_path_planner autoware_behavior_path_planner_common autoware_behavior_path_sampling_planner_module autoware_behavior_path_side_shift_module autoware_behavior_path_start_planner_module autoware_behavior_path_static_obstacle_avoidance_module autoware_behavior_velocity_blind_spot_module autoware_behavior_velocity_crosswalk_module autoware_behavior_velocity_detection_area_module autoware_behavior_velocity_intersection_module autoware_behavior_velocity_no_drivable_lane_module autoware_behavior_velocity_no_stopping_area_module autoware_behavior_velocity_occlusion_spot_module autoware_behavior_velocity_roundabout_module autoware_behavior_velocity_rtc_interface autoware_behavior_velocity_speed_bump_module autoware_behavior_velocity_template_module autoware_behavior_velocity_traffic_light_module autoware_behavior_velocity_virtual_traffic_light_module autoware_behavior_velocity_walkway_module autoware_motion_velocity_boundary_departure_prevention_module autoware_motion_velocity_dynamic_obstacle_stop_module autoware_motion_velocity_obstacle_cruise_module autoware_motion_velocity_obstacle_slow_down_module autoware_motion_velocity_obstacle_velocity_limiter_module autoware_motion_velocity_out_of_lane_module autoware_motion_velocity_road_user_stop_module autoware_motion_velocity_run_out_module autoware_planning_validator autoware_planning_validator_intersection_collision_checker autoware_planning_validator_latency_checker autoware_planning_validator_rear_collision_checker autoware_planning_validator_test_utils autoware_planning_validator_trajectory_checker autoware_bezier_sampler autoware_frenet_planner autoware_path_sampler autoware_sampler_common autoware_calibration_status_classifier autoware_cuda_pointcloud_preprocessor autoware_cuda_utils autoware_image_diagnostics autoware_image_transport_decompressor autoware_imu_corrector autoware_pcl_extensions autoware_pointcloud_preprocessor autoware_radar_objects_adapter autoware_radar_scan_to_pointcloud2 autoware_radar_static_pointcloud_filter autoware_radar_threshold_filter autoware_radar_tracks_noise_filter autoware_carla_interface autoware_dummy_diag_publisher autoware_dummy_infrastructure autoware_dummy_traffic_light_publisher autoware_fault_injection autoware_redundancy_command_selector autoware_vehicle_door_simulator tier4_dummy_object_rviz_plugin autoware_command_mode_decider autoware_command_mode_decider_plugins autoware_command_mode_switcher autoware_command_mode_switcher_plugins autoware_command_mode_types autoware_component_monitor autoware_component_state_monitor autoware_adapi_visualizers autoware_default_adapi_universe autoware_diagnostic_graph_aggregator autoware_diagnostic_graph_merger autoware_diagnostic_graph_utils autoware_driving_mode_manager autoware_duplicated_node_checker autoware_generic_service_divider autoware_hazard_status_converter autoware_mrm_comfortable_stop_operator autoware_mrm_emergency_stop_operator autoware_mrm_handler autoware_mrm_in_lane_stop_operator autoware_mrm_reset_manager autoware_mrm_steering_hold_stop_operator autoware_pipeline_latency_monitor autoware_processing_time_checker autoware_redundancy_adapi_switcher autoware_redundancy_switcher_interface autoware_redundancy_switcher_interface_plugins autoware_system_monitor autoware_topic_relay_controller autoware_topic_state_monitor autoware_velodyne_monitor autoware_accel_brake_map_calibrator autoware_external_cmd_converter autoware_raw_vehicle_cmd_converter autoware_steer_offset_estimator autoware_bag_time_manager_rviz_plugin autoware_traffic_light_rviz_plugin tier4_active_generator_rviz_plugin tier4_adapi_rviz_plugin tier4_camera_view_rviz_plugin tier4_control_mode_rviz_plugin tier4_datetime_rviz_plugin tier4_manual_lane_change_rviz_plugin tier4_perception_rviz_plugin tier4_planning_factor_rviz_plugin tier4_state_rviz_plugin tier4_traffic_light_rviz_plugin tier4_vehicle_rviz_plugin

ROS Distro
github

Package Summary

Version 0.53.0
License Apache License 2.0
Build type AMENT_CMAKE
Use RECOMMENDED

Repository Summary

Description
Checkout URI https://github.com/autowarefoundation/autoware_universe.git
VCS Type git
VCS Version main
Last Updated 2026-10-08
Dev Status UNKNOWN
Released UNRELEASED
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Package Description

MRM in-lane stop trajectory planner (Phase1)

Maintainers

  • Takumi Odashima

Authors

No additional authors.

autoware_in_lane_mrm_planner

MRM in-lane stop trajectory planner (Phase1).

Design

See docs/design_phase1.md and docs/implementation_plan_phase1.md.

Build

From pilot-auto.x2.v4.3.2 repository root (after workspace dependencies are installed):

./cmd_helper.sh --build_ccache --packages-select autoware_in_lane_mrm_planner

Do not run package builds in parallel with a full workspace build.

Launch

ros2 launch autoware_in_lane_mrm_planner in_lane_mrm_planner.launch.xml

In-lane stop trigger

The planner subscribes the trigger published by autoware_mrm_in_lane_stop_operator directly (the former mrm_trigger_relay node was removed).

Item Value
Topic (node) ~/input/trigger
Default remap /system/in_lane_stop/trigger (launch arg input_trigger_topic)
Type tier4_system_msgs/msg/InLaneStopTrigger (stamp, trigger, profile)
QoS reliable, transient_local, depth 1 (the operator publishes on change only)

The trigger only selects a deceleration profile; the constraint values are owned by the planner (mrm_velocity.profiles.<name>).

  • Every cycle while unlatched, the path is planned once and a velocity profile is filled for every profile (moderate, emergency). The moderate candidate is published as the hot-standby output.
  • trigger: true latches the candidate of the requested profile (the one planned in the previous cycle). If no candidate of that profile exists yet (e.g. the planner started after the trigger), the latch is retried every cycle.
  • A profile change while triggered (e.g. moderate -> emergency) re-plans from the current state and re-latches the new profile. Only a candidate planned in that cycle is re-latched; if planning fails the current latch is kept and the re-latch is retried.
  • trigger: false unlatches (and releases the latched objects).
  • An unknown profile value (e.g. PROFILE_UNKNOWN) with trigger: true is treated as moderate and reported with a throttled error log.

Parameters: MRM stop velocity

Name Default (L4) Description
mrm_velocity.profiles.moderate.target_deceleration -3.0 Target deceleration of PROFILE_MODERATE [m/s^2]
mrm_velocity.profiles.moderate.target_jerk -5.0 Target jerk of PROFILE_MODERATE [m/s^3]
mrm_velocity.profiles.moderate.max_deceleration_relaxation -4.0 Relaxation limit of the deceleration [m/s^2]
mrm_velocity.profiles.moderate.max_jerk_relaxation -10.0 Relaxation limit of the jerk [m/s^3]
mrm_velocity.profiles.emergency.target_deceleration -6.0 Target deceleration of PROFILE_EMERGENCY [m/s^2]
mrm_velocity.profiles.emergency.target_jerk -20.0 Target jerk of PROFILE_EMERGENCY [m/s^3]
mrm_velocity.profiles.emergency.max_deceleration_relaxation -8.0 Relaxation limit of the deceleration [m/s^2]
mrm_velocity.profiles.emergency.max_jerk_relaxation -30.0 Relaxation limit of the jerk [m/s^3]
mrm_velocity.step_deceleration_relaxation -1.0 Deceleration relaxation step (shared) [m/s^2]
mrm_velocity.step_jerk_relaxation -5.0 Jerk relaxation step (shared) [m/s^3]
mrm_velocity.brake_delay_time 0.5 Brake dead time before the ramp (shared) [s]

Split parameter files per operation class if different constraint values are needed.

Road border stop (Phase2)

MrmRoadBorderStopPlanner (applied inside the trajectory modifier right after the obstacle stop) sweeps the vehicle footprint along the candidate trajectory from the ego nearest point and inserts a stop point road_border_stop.stop_margin before the first interference with a map road border. Boundaries are the lanelet2 linestrings whose type attribute is listed in road_border_stop.boundary_types_to_detect (default ["road_border"]); their segments are indexed in an R-tree that is rebuilt only when the map instance changes. The contact arc length is refined by bisection between the last non-interfering and the first interfering trajectory point. The stop point is never placed behind the ego. Deceleration feasibility is left to MrmStopVelocityPlanner, which relaxes deceleration / jerk of each profile up to mrm_velocity.profiles.<profile>.max_*_relaxation when the stop point is close.

The footprint sweep starts at the ego pose itself and then continues over the trajectory points ahead of the ego, so a border behind the vehicle is never reported.

Outputs:

Output Topic Type
Planning factor /planning/planning_factors/in_lane_mrm_road_border_stop autoware_internal_planning_msgs/msg/PlanningFactorArray (STOP)
Debug markers ~/road_border_stop/debug/marker (node-relative, not remapped) visualization_msgs/msg/MarkerArray

The debug marker topic is relative to the node name, so with the default launch it resolves to /in_lane_mrm_planner/road_border_stop/debug/marker (not /planning/...). It contains the contact footprint, the contact segment / point and a stop virtual wall. The wall is drawn at the stop pose shifted by the vehicle front (max_longitudinal_offset), i.e. where the vehicle front will be when stopped.

While the trigger is latched the candidates are not re-planned. The planning factor and the

File truncated at 100 lines see the full file

CHANGELOG

Changelog for package autoware_in_lane_mrm_planner

0.53.0 (2026-09-29)

  • Merge remote-tracking branch 'origin/main' into prepare-0.53.0-changelog

  • feat(autoware_in_lane_mrm_planner): keep publishing road border stop reason while latched (#13432)

    * feat(autoware_in_lane_mrm_planner): keep publishing road border stop reason while latched While the in-lane stop trigger is latched the candidates are not re-planned, so the road border stop planning factor and debug markers stopped being published at the trigger and the stop reason disappeared from rviz during the MRM. Re-publish the contact the latched trajectory was planned with (debug markers and the planning factor, whose distance is measured from the current ego pose) until the trigger is released. The stop pose is kept with the contact since the latched trajectory may be resampled afterwards. Co-Authored-By: Claude Opus 5.5 (1M context) <<noreply@anthropic.com>>

    * refactor(autoware_in_lane_mrm_planner): remove unused RoadBorderContact::stop_index The stop point is now referenced by stop_pose only. Co-Authored-By: Claude Opus 5.5 <<noreply@anthropic.com>> ---------Co-authored-by: Claude Opus 5.5 (1M context) <<noreply@anthropic.com>>

  • feat(autoware_in_lane_mrm_planner): add road border stop (#13430)

    * feat(autoware_in_lane_mrm_planner): add road border stop Insert a stop point before the vehicle footprint interferes with a map road border (REQ-003 of the in-lane stop planning design, Phase2). Ported from mkuri/autoware.universe feat/in-lane-mrm-planner-road-border-stop (69bc5ef3a, reviewed as TetsuKawa/autoware_universe#13) onto the InLaneStopTrigger / per-profile planner.

    - Add MrmRoadBorderStopPlanner: sweeps the footprint along the candidate trajectory from the ego nearest point, queries lanelet2 linestring segments of the configured types (default road_border) through an R-tree rebuilt only when the map instance changes, refines the contact arc length by bisection and inserts a stop point stop_margin before the contact, never behind the ego. Segments outside ego z +/- vehicle height are ignored.

    - Apply it in the trajectory modifier right after the obstacle stop, once per cycle on the shared base trajectory; the stop point reaches MrmStopVelocityPlanner as a zero velocity constraint for every profile, so deceleration relaxation (per profile) stays in one place.

    - Publish PlanningFactor (STOP) under in_lane_mrm_road_border_stop and debug markers (contact footprint / segment / point, stop virtual wall).

    • Add road_border_stop parameters (yaml, config, schema) and README section.

    - Add 11 unit tests with a synthetic lanelet map. Co-Authored-By: Claude Opus 5.5 (1M context) <<noreply@anthropic.com>>

    * fix(autoware_in_lane_mrm_planner): start road border contact search at the ego pose The sweep started at the trajectory point returned by findNearestSegmentIndex, i.e. the start of the segment the ego is on, up to one point interval behind base_link. A border just behind the ego rear could therefore be reported as a contact at the ego (stop at ego), and the debug contact footprint was drawn behind the vehicle.

    - Evaluate the ego footprint first, then only trajectory points ahead of the ego; the bisection refines between the ego pose and the first interfering point.

    - Keep the refined contact pose in RoadBorderContact and draw the debug contact footprint there (the contact index shifts when the stop point is inserted).

    - Add tests for a border behind the ego footprint and a contact refined from an ego pose between trajectory points. Co-Authored-By: Claude Opus 5.5 (1M context) <<noreply@anthropic.com>>

    * docs(autoware_in_lane_mrm_planner): document road border stop output topics The debug marker topic [~/road_border_stop/debug/marker]{.title-ref} is node-relative and resolves to [/in_lane_mrm_planner/road_border_stop/debug/marker]{.title-ref} with the default launch, not [/planning/...]{.title-ref} as assumed in verification procedures. List the planning factor and marker topics explicitly and describe the stop wall position and the ego-first footprint sweep. Co-Authored-By: Claude Opus 5.5 (1M context) <<noreply@anthropic.com>>

    • refactor(autoware_in_lane_mrm_planner): remove unused road border stop members

    - Remove the unused debug_footprints_ member and RoadBorderContact::contact_index (the stop point is based on

File truncated at 100 lines see the full file

Launch files

  • launch/in_lane_mrm_planner.launch.xml
      • param_path [default: $(find-pkg-share autoware_in_lane_mrm_planner)/config/in_lane_mrm_planner.param.yaml]
      • eb_param_path [default: $(find-pkg-share autoware_in_lane_mrm_planner)/config/elastic_band_smoother.param.yaml]
      • input_route [default: /main/planning/mission_planning/route]
      • input_vector_map [default: /main/map/vector_map]
      • input_kinematic_state [default: /localization/kinematic_state]
      • input_acceleration [default: /localization/acceleration]
      • input_objects [default: /main/perception/object_recognition/objects]
      • input_trigger_topic [default: /system/in_lane_stop/trigger]
      • output_trajectory [default: /planning/in_lane_mrm_planner/output/trajectory]
      • output_planner_status [default: /planning/in_lane_mrm_planner/debug/planner_status]
      • output_gate_gear [default: /control/control_command_gate/inputs/in_lane_stop/gear]
      • output_gate_hazard [default: /control/control_command_gate/inputs/in_lane_stop/hazard_lights]
      • output_gate_turn [default: /control/control_command_gate/inputs/in_lane_stop/turn_indicators]
      • auxiliary_commands_publish_hz [default: 10.0]

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged autoware_in_lane_mrm_planner at Robotics Stack Exchange

No version for distro noetic showing github. Known supported distros are highlighted in the buttons above.
Package symbol

autoware_in_lane_mrm_planner package from autoware_universe repo

autoware_boundary_departure_checker autoware_component_interface_specs_universe autoware_cuda_dependency_meta autoware_deprecated_boundary_departure_checker autoware_fake_test_node autoware_glog_component autoware_goal_distance_calculator autoware_grid_map_utils autoware_obstacle_proximity_checker autoware_path_distance_calculator autoware_polar_grid autoware_time_utils autoware_traffic_light_compliance_checker autoware_traffic_light_recognition_marker_publisher autoware_traffic_light_utils autoware_universe_utils tier4_api_utils autoware_autonomous_emergency_braking autoware_collision_detector autoware_control_command_gate autoware_control_performance_analysis autoware_control_validator autoware_external_cmd_selector autoware_joy_controller autoware_lane_departure_checker autoware_mpc_lateral_controller autoware_obstacle_collision_checker autoware_operation_mode_transition_manager autoware_pid_longitudinal_controller autoware_predicted_path_checker autoware_pure_pursuit autoware_shift_decider autoware_smart_mpc_trajectory_follower autoware_spheric_collision_detector autoware_stop_mode_operator autoware_trajectory_follower_base autoware_trajectory_follower_node autoware_vehicle_cmd_gate autoware_tensorrt_vad autoware_control_evaluator autoware_evaluation_adapter autoware_kinematic_evaluator autoware_localization_evaluator autoware_perception_online_evaluator autoware_planning_evaluator autoware_scenario_simulator_v2_adapter autoware_diagnostic_graph_test_examples autoware_geo_pose_projector autoware_ar_tag_based_localizer autoware_landmark_manager autoware_lidar_marker_localizer autoware_localization_error_monitor autoware_pose2twist autoware_pose_covariance_modifier autoware_pose_estimator_arbiter autoware_pose_initialization_requester autoware_pose_instability_detector yabloc_common yabloc_image_processing yabloc_monitor yabloc_particle_filter yabloc_pose_initializer autoware_map_tf_generator autoware_bevfusion autoware_bytetrack autoware_camera_streampetr autoware_cluster_merger autoware_compare_map_segmentation autoware_crosswalk_traffic_light_estimator autoware_detected_object_feature_remover autoware_detected_object_validation autoware_detection_by_tracker autoware_elevation_map_loader autoware_euclidean_cluster autoware_ground_segmentation autoware_ground_segmentation_cuda autoware_image_object_locator autoware_image_projection_based_fusion autoware_lidar_apollo_instance_segmentation autoware_lidar_centerpoint autoware_lidar_frnet autoware_lidar_transfusion autoware_map_based_prediction autoware_multi_object_tracker autoware_object_merger autoware_object_sorter autoware_occupancy_grid_map_outlier_filter autoware_predicted_path_postprocessor autoware_probabilistic_occupancy_grid_map autoware_ptv3 autoware_radar_fusion_to_detected_object autoware_radar_object_tracker autoware_radar_tracks_msgs_converter autoware_raindrop_cluster_filter autoware_shape_estimation autoware_simpl_prediction autoware_simple_object_merger autoware_tensorrt_bevdet autoware_tensorrt_bevformer autoware_tensorrt_classifier autoware_tensorrt_common autoware_tensorrt_plugins autoware_tensorrt_yolox autoware_tracking_object_merger autoware_traffic_light_arbiter autoware_traffic_light_category_merger autoware_traffic_light_classifier autoware_traffic_light_fine_detector autoware_traffic_light_map_based_detector autoware_traffic_light_multi_camera_fusion autoware_traffic_light_occlusion_predictor autoware_traffic_light_pipeline autoware_traffic_light_selector autoware_traffic_light_visualization perception_utils autoware_costmap_generator autoware_diffusion_planner autoware_external_velocity_limit_selector autoware_freespace_planner autoware_freespace_planning_algorithms autoware_hazard_lights_selector autoware_in_lane_mrm_planner autoware_manual_lane_change_handler autoware_minimum_rule_based_planner autoware_mission_planner_universe autoware_path_optimizer autoware_path_smoother autoware_remaining_distance_time_calculator autoware_rtc_interface autoware_scenario_selector autoware_surround_obstacle_checker autoware_trajectory_adapter autoware_trajectory_concatenator autoware_trajectory_gate autoware_trajectory_modifier autoware_trajectory_ranker autoware_trajectory_selector autoware_trajectory_validator autoware_behavior_path_avoidance_by_lane_change_module autoware_behavior_path_bidirectional_traffic_module autoware_behavior_path_direction_change_module autoware_behavior_path_dynamic_obstacle_avoidance_module autoware_behavior_path_external_request_lane_change_module autoware_behavior_path_goal_planner_module autoware_behavior_path_lane_change_module autoware_behavior_path_planner autoware_behavior_path_planner_common autoware_behavior_path_sampling_planner_module autoware_behavior_path_side_shift_module autoware_behavior_path_start_planner_module autoware_behavior_path_static_obstacle_avoidance_module autoware_behavior_velocity_blind_spot_module autoware_behavior_velocity_crosswalk_module autoware_behavior_velocity_detection_area_module autoware_behavior_velocity_intersection_module autoware_behavior_velocity_no_drivable_lane_module autoware_behavior_velocity_no_stopping_area_module autoware_behavior_velocity_occlusion_spot_module autoware_behavior_velocity_roundabout_module autoware_behavior_velocity_rtc_interface autoware_behavior_velocity_speed_bump_module autoware_behavior_velocity_template_module autoware_behavior_velocity_traffic_light_module autoware_behavior_velocity_virtual_traffic_light_module autoware_behavior_velocity_walkway_module autoware_motion_velocity_boundary_departure_prevention_module autoware_motion_velocity_dynamic_obstacle_stop_module autoware_motion_velocity_obstacle_cruise_module autoware_motion_velocity_obstacle_slow_down_module autoware_motion_velocity_obstacle_velocity_limiter_module autoware_motion_velocity_out_of_lane_module autoware_motion_velocity_road_user_stop_module autoware_motion_velocity_run_out_module autoware_planning_validator autoware_planning_validator_intersection_collision_checker autoware_planning_validator_latency_checker autoware_planning_validator_rear_collision_checker autoware_planning_validator_test_utils autoware_planning_validator_trajectory_checker autoware_bezier_sampler autoware_frenet_planner autoware_path_sampler autoware_sampler_common autoware_calibration_status_classifier autoware_cuda_pointcloud_preprocessor autoware_cuda_utils autoware_image_diagnostics autoware_image_transport_decompressor autoware_imu_corrector autoware_pcl_extensions autoware_pointcloud_preprocessor autoware_radar_objects_adapter autoware_radar_scan_to_pointcloud2 autoware_radar_static_pointcloud_filter autoware_radar_threshold_filter autoware_radar_tracks_noise_filter autoware_carla_interface autoware_dummy_diag_publisher autoware_dummy_infrastructure autoware_dummy_traffic_light_publisher autoware_fault_injection autoware_redundancy_command_selector autoware_vehicle_door_simulator tier4_dummy_object_rviz_plugin autoware_command_mode_decider autoware_command_mode_decider_plugins autoware_command_mode_switcher autoware_command_mode_switcher_plugins autoware_command_mode_types autoware_component_monitor autoware_component_state_monitor autoware_adapi_visualizers autoware_default_adapi_universe autoware_diagnostic_graph_aggregator autoware_diagnostic_graph_merger autoware_diagnostic_graph_utils autoware_driving_mode_manager autoware_duplicated_node_checker autoware_generic_service_divider autoware_hazard_status_converter autoware_mrm_comfortable_stop_operator autoware_mrm_emergency_stop_operator autoware_mrm_handler autoware_mrm_in_lane_stop_operator autoware_mrm_reset_manager autoware_mrm_steering_hold_stop_operator autoware_pipeline_latency_monitor autoware_processing_time_checker autoware_redundancy_adapi_switcher autoware_redundancy_switcher_interface autoware_redundancy_switcher_interface_plugins autoware_system_monitor autoware_topic_relay_controller autoware_topic_state_monitor autoware_velodyne_monitor autoware_accel_brake_map_calibrator autoware_external_cmd_converter autoware_raw_vehicle_cmd_converter autoware_steer_offset_estimator autoware_bag_time_manager_rviz_plugin autoware_traffic_light_rviz_plugin tier4_active_generator_rviz_plugin tier4_adapi_rviz_plugin tier4_camera_view_rviz_plugin tier4_control_mode_rviz_plugin tier4_datetime_rviz_plugin tier4_manual_lane_change_rviz_plugin tier4_perception_rviz_plugin tier4_planning_factor_rviz_plugin tier4_state_rviz_plugin tier4_traffic_light_rviz_plugin tier4_vehicle_rviz_plugin

ROS Distro
github

Package Summary

Version 0.53.0
License Apache License 2.0
Build type AMENT_CMAKE
Use RECOMMENDED

Repository Summary

Description
Checkout URI https://github.com/autowarefoundation/autoware_universe.git
VCS Type git
VCS Version main
Last Updated 2026-10-08
Dev Status UNKNOWN
Released UNRELEASED
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Package Description

MRM in-lane stop trajectory planner (Phase1)

Maintainers

  • Takumi Odashima

Authors

No additional authors.

autoware_in_lane_mrm_planner

MRM in-lane stop trajectory planner (Phase1).

Design

See docs/design_phase1.md and docs/implementation_plan_phase1.md.

Build

From pilot-auto.x2.v4.3.2 repository root (after workspace dependencies are installed):

./cmd_helper.sh --build_ccache --packages-select autoware_in_lane_mrm_planner

Do not run package builds in parallel with a full workspace build.

Launch

ros2 launch autoware_in_lane_mrm_planner in_lane_mrm_planner.launch.xml

In-lane stop trigger

The planner subscribes the trigger published by autoware_mrm_in_lane_stop_operator directly (the former mrm_trigger_relay node was removed).

Item Value
Topic (node) ~/input/trigger
Default remap /system/in_lane_stop/trigger (launch arg input_trigger_topic)
Type tier4_system_msgs/msg/InLaneStopTrigger (stamp, trigger, profile)
QoS reliable, transient_local, depth 1 (the operator publishes on change only)

The trigger only selects a deceleration profile; the constraint values are owned by the planner (mrm_velocity.profiles.<name>).

  • Every cycle while unlatched, the path is planned once and a velocity profile is filled for every profile (moderate, emergency). The moderate candidate is published as the hot-standby output.
  • trigger: true latches the candidate of the requested profile (the one planned in the previous cycle). If no candidate of that profile exists yet (e.g. the planner started after the trigger), the latch is retried every cycle.
  • A profile change while triggered (e.g. moderate -> emergency) re-plans from the current state and re-latches the new profile. Only a candidate planned in that cycle is re-latched; if planning fails the current latch is kept and the re-latch is retried.
  • trigger: false unlatches (and releases the latched objects).
  • An unknown profile value (e.g. PROFILE_UNKNOWN) with trigger: true is treated as moderate and reported with a throttled error log.

Parameters: MRM stop velocity

Name Default (L4) Description
mrm_velocity.profiles.moderate.target_deceleration -3.0 Target deceleration of PROFILE_MODERATE [m/s^2]
mrm_velocity.profiles.moderate.target_jerk -5.0 Target jerk of PROFILE_MODERATE [m/s^3]
mrm_velocity.profiles.moderate.max_deceleration_relaxation -4.0 Relaxation limit of the deceleration [m/s^2]
mrm_velocity.profiles.moderate.max_jerk_relaxation -10.0 Relaxation limit of the jerk [m/s^3]
mrm_velocity.profiles.emergency.target_deceleration -6.0 Target deceleration of PROFILE_EMERGENCY [m/s^2]
mrm_velocity.profiles.emergency.target_jerk -20.0 Target jerk of PROFILE_EMERGENCY [m/s^3]
mrm_velocity.profiles.emergency.max_deceleration_relaxation -8.0 Relaxation limit of the deceleration [m/s^2]
mrm_velocity.profiles.emergency.max_jerk_relaxation -30.0 Relaxation limit of the jerk [m/s^3]
mrm_velocity.step_deceleration_relaxation -1.0 Deceleration relaxation step (shared) [m/s^2]
mrm_velocity.step_jerk_relaxation -5.0 Jerk relaxation step (shared) [m/s^3]
mrm_velocity.brake_delay_time 0.5 Brake dead time before the ramp (shared) [s]

Split parameter files per operation class if different constraint values are needed.

Road border stop (Phase2)

MrmRoadBorderStopPlanner (applied inside the trajectory modifier right after the obstacle stop) sweeps the vehicle footprint along the candidate trajectory from the ego nearest point and inserts a stop point road_border_stop.stop_margin before the first interference with a map road border. Boundaries are the lanelet2 linestrings whose type attribute is listed in road_border_stop.boundary_types_to_detect (default ["road_border"]); their segments are indexed in an R-tree that is rebuilt only when the map instance changes. The contact arc length is refined by bisection between the last non-interfering and the first interfering trajectory point. The stop point is never placed behind the ego. Deceleration feasibility is left to MrmStopVelocityPlanner, which relaxes deceleration / jerk of each profile up to mrm_velocity.profiles.<profile>.max_*_relaxation when the stop point is close.

The footprint sweep starts at the ego pose itself and then continues over the trajectory points ahead of the ego, so a border behind the vehicle is never reported.

Outputs:

Output Topic Type
Planning factor /planning/planning_factors/in_lane_mrm_road_border_stop autoware_internal_planning_msgs/msg/PlanningFactorArray (STOP)
Debug markers ~/road_border_stop/debug/marker (node-relative, not remapped) visualization_msgs/msg/MarkerArray

The debug marker topic is relative to the node name, so with the default launch it resolves to /in_lane_mrm_planner/road_border_stop/debug/marker (not /planning/...). It contains the contact footprint, the contact segment / point and a stop virtual wall. The wall is drawn at the stop pose shifted by the vehicle front (max_longitudinal_offset), i.e. where the vehicle front will be when stopped.

While the trigger is latched the candidates are not re-planned. The planning factor and the

File truncated at 100 lines see the full file

CHANGELOG

Changelog for package autoware_in_lane_mrm_planner

0.53.0 (2026-09-29)

  • Merge remote-tracking branch 'origin/main' into prepare-0.53.0-changelog

  • feat(autoware_in_lane_mrm_planner): keep publishing road border stop reason while latched (#13432)

    * feat(autoware_in_lane_mrm_planner): keep publishing road border stop reason while latched While the in-lane stop trigger is latched the candidates are not re-planned, so the road border stop planning factor and debug markers stopped being published at the trigger and the stop reason disappeared from rviz during the MRM. Re-publish the contact the latched trajectory was planned with (debug markers and the planning factor, whose distance is measured from the current ego pose) until the trigger is released. The stop pose is kept with the contact since the latched trajectory may be resampled afterwards. Co-Authored-By: Claude Opus 5.5 (1M context) <<noreply@anthropic.com>>

    * refactor(autoware_in_lane_mrm_planner): remove unused RoadBorderContact::stop_index The stop point is now referenced by stop_pose only. Co-Authored-By: Claude Opus 5.5 <<noreply@anthropic.com>> ---------Co-authored-by: Claude Opus 5.5 (1M context) <<noreply@anthropic.com>>

  • feat(autoware_in_lane_mrm_planner): add road border stop (#13430)

    * feat(autoware_in_lane_mrm_planner): add road border stop Insert a stop point before the vehicle footprint interferes with a map road border (REQ-003 of the in-lane stop planning design, Phase2). Ported from mkuri/autoware.universe feat/in-lane-mrm-planner-road-border-stop (69bc5ef3a, reviewed as TetsuKawa/autoware_universe#13) onto the InLaneStopTrigger / per-profile planner.

    - Add MrmRoadBorderStopPlanner: sweeps the footprint along the candidate trajectory from the ego nearest point, queries lanelet2 linestring segments of the configured types (default road_border) through an R-tree rebuilt only when the map instance changes, refines the contact arc length by bisection and inserts a stop point stop_margin before the contact, never behind the ego. Segments outside ego z +/- vehicle height are ignored.

    - Apply it in the trajectory modifier right after the obstacle stop, once per cycle on the shared base trajectory; the stop point reaches MrmStopVelocityPlanner as a zero velocity constraint for every profile, so deceleration relaxation (per profile) stays in one place.

    - Publish PlanningFactor (STOP) under in_lane_mrm_road_border_stop and debug markers (contact footprint / segment / point, stop virtual wall).

    • Add road_border_stop parameters (yaml, config, schema) and README section.

    - Add 11 unit tests with a synthetic lanelet map. Co-Authored-By: Claude Opus 5.5 (1M context) <<noreply@anthropic.com>>

    * fix(autoware_in_lane_mrm_planner): start road border contact search at the ego pose The sweep started at the trajectory point returned by findNearestSegmentIndex, i.e. the start of the segment the ego is on, up to one point interval behind base_link. A border just behind the ego rear could therefore be reported as a contact at the ego (stop at ego), and the debug contact footprint was drawn behind the vehicle.

    - Evaluate the ego footprint first, then only trajectory points ahead of the ego; the bisection refines between the ego pose and the first interfering point.

    - Keep the refined contact pose in RoadBorderContact and draw the debug contact footprint there (the contact index shifts when the stop point is inserted).

    - Add tests for a border behind the ego footprint and a contact refined from an ego pose between trajectory points. Co-Authored-By: Claude Opus 5.5 (1M context) <<noreply@anthropic.com>>

    * docs(autoware_in_lane_mrm_planner): document road border stop output topics The debug marker topic [~/road_border_stop/debug/marker]{.title-ref} is node-relative and resolves to [/in_lane_mrm_planner/road_border_stop/debug/marker]{.title-ref} with the default launch, not [/planning/...]{.title-ref} as assumed in verification procedures. List the planning factor and marker topics explicitly and describe the stop wall position and the ego-first footprint sweep. Co-Authored-By: Claude Opus 5.5 (1M context) <<noreply@anthropic.com>>

    • refactor(autoware_in_lane_mrm_planner): remove unused road border stop members

    - Remove the unused debug_footprints_ member and RoadBorderContact::contact_index (the stop point is based on

File truncated at 100 lines see the full file

Launch files

  • launch/in_lane_mrm_planner.launch.xml
      • param_path [default: $(find-pkg-share autoware_in_lane_mrm_planner)/config/in_lane_mrm_planner.param.yaml]
      • eb_param_path [default: $(find-pkg-share autoware_in_lane_mrm_planner)/config/elastic_band_smoother.param.yaml]
      • input_route [default: /main/planning/mission_planning/route]
      • input_vector_map [default: /main/map/vector_map]
      • input_kinematic_state [default: /localization/kinematic_state]
      • input_acceleration [default: /localization/acceleration]
      • input_objects [default: /main/perception/object_recognition/objects]
      • input_trigger_topic [default: /system/in_lane_stop/trigger]
      • output_trajectory [default: /planning/in_lane_mrm_planner/output/trajectory]
      • output_planner_status [default: /planning/in_lane_mrm_planner/debug/planner_status]
      • output_gate_gear [default: /control/control_command_gate/inputs/in_lane_stop/gear]
      • output_gate_hazard [default: /control/control_command_gate/inputs/in_lane_stop/hazard_lights]
      • output_gate_turn [default: /control/control_command_gate/inputs/in_lane_stop/turn_indicators]
      • auxiliary_commands_publish_hz [default: 10.0]

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged autoware_in_lane_mrm_planner at Robotics Stack Exchange