Package Summary
| Tags | No category tags. |
| Version | 1.0.0 |
| License | Apache-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 | 2025-11-14 |
| Dev Status | UNKNOWN |
| Released | UNRELEASED |
| Tags | planner ros calibration self-driving-car autonomous-driving autonomous-vehicles ros2 3d-map autoware |
| Contributing |
Help Wanted (-)
Good First Issues (-) Pull Requests to Review (-) |
Package Description
Additional Links
Maintainers
- Arjun Jagdish Ram
Authors
Manual Lane Change Handler
Purpose
Manual Lane Change Handler helps shift the preferred-primitives of a route to the left or right. A manual lane-change handler rviz plugin is also available for use for the user.
Example for using the Manual Lane Change Handler
Service call to shift the preferred-lanes to the left
ros2 service call /planning/mission_planning/manual_lane_change_handler/set_preferred_lane tier4_external_api_msgs/srv/SetPreferredLane lane_change_direction:\ 0\
Services
| Name | Type | Description |
|---|---|---|
/planning/manual_lane_change_handler/manual_lane_change_handler/set_preferred_lane |
tier4_external_api_msgs/srv/SetPreferredLane | preferred-lane request |
Subscriptions
| Name | Type | Description |
|---|---|---|
input/odometry |
nav_msgs/msg/Odometry | vehicle odometry |
/planning/mission_planning/route |
autoware_planning_msgs/msg/LaneletRoute | current lanelet route |
Publications
| Name | Type | Description |
|---|---|---|
~/debug/processing_time_ms |
autoware_internal_debug_msgs/msg/Float64Stamped | processing time for lane change for debug |
~/debug/route_marker |
visualization_msgs/msg/MarkerArray | route marker for debug |
~/debug/goal_footprint |
visualization_msgs/msg/MarkerArray | goal footprint for debug |
Service client
| Service Name | Description |
|---|---|
| ~/set_preferred_lane | The service to set the preferred lane |
Registered Servers
| Service Name | Description |
|---|---|
| /planning/mission_planning/mission_planner/set_preferred_primitive | The service to set the preferred primitive |
Setting Preferred Lane
This service allows for shifting the current preferred lane to the left or right, or reverting to the default preferred lane received from the route planner. As the vehicle moves, the shifting is done relative to the current preferred lane.
Based on certain criteria, shifting may be rejected, as in the following cases:
- Left or Right shift is not available due to no lane being present to shift to
- The next segment is a turn or the very last lane - this is to ensure that we can navigate the enter path and end up at the goal
@startuml
title process_lane_change_request
start
:Compute override_direction from request;
if (override_direction == AUTO) then (yes)
if (currently in lane-change override) then (yes)
:revert to original route;
stop
else (no)
:do nothing;
stop
endif
else (no)
if (has a route been set?) then (yes)
:find initial segment;
while (not penultimate segment) is (yes)
if (shift unavailable\nor next segment is turn?) then (yes)
--> while (not penultimate segment) ' continue
else (no)
if (left-shift requested and possible) then (yes)
:shift left;
elseif (right-shift requested and possible) then (yes)
:shift right;
endif
--> while (not penultimate segment) ' jump back instead of implicit join
endif
endwhile (no)
stop
else (no)
:do nothing;
stop
endif
endif
@enduml
Package Dependencies
System Dependencies
Dependant Packages
| Name | Deps |
|---|---|
| tier4_planning_launch |
Launch files
- launch/manual_lane_change_handler.launch.xml
-
- map_topic_name [default: /map/vector_map]
- manual_lane_change_handler_param_path [default: $(find-pkg-share autoware_manual_lane_change_handler)/config/manual_lane_change_handler.param.yaml]
Messages
Services
Plugins
Recent questions tagged autoware_manual_lane_change_handler at Robotics Stack Exchange
Package Summary
| Tags | No category tags. |
| Version | 1.0.0 |
| License | Apache-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 | 2025-11-14 |
| Dev Status | UNKNOWN |
| Released | UNRELEASED |
| Tags | planner ros calibration self-driving-car autonomous-driving autonomous-vehicles ros2 3d-map autoware |
| Contributing |
Help Wanted (-)
Good First Issues (-) Pull Requests to Review (-) |
Package Description
Additional Links
Maintainers
- Arjun Jagdish Ram
Authors
Manual Lane Change Handler
Purpose
Manual Lane Change Handler helps shift the preferred-primitives of a route to the left or right. A manual lane-change handler rviz plugin is also available for use for the user.
Example for using the Manual Lane Change Handler
Service call to shift the preferred-lanes to the left
ros2 service call /planning/mission_planning/manual_lane_change_handler/set_preferred_lane tier4_external_api_msgs/srv/SetPreferredLane lane_change_direction:\ 0\
Services
| Name | Type | Description |
|---|---|---|
/planning/manual_lane_change_handler/manual_lane_change_handler/set_preferred_lane |
tier4_external_api_msgs/srv/SetPreferredLane | preferred-lane request |
Subscriptions
| Name | Type | Description |
|---|---|---|
input/odometry |
nav_msgs/msg/Odometry | vehicle odometry |
/planning/mission_planning/route |
autoware_planning_msgs/msg/LaneletRoute | current lanelet route |
Publications
| Name | Type | Description |
|---|---|---|
~/debug/processing_time_ms |
autoware_internal_debug_msgs/msg/Float64Stamped | processing time for lane change for debug |
~/debug/route_marker |
visualization_msgs/msg/MarkerArray | route marker for debug |
~/debug/goal_footprint |
visualization_msgs/msg/MarkerArray | goal footprint for debug |
Service client
| Service Name | Description |
|---|---|
| ~/set_preferred_lane | The service to set the preferred lane |
Registered Servers
| Service Name | Description |
|---|---|
| /planning/mission_planning/mission_planner/set_preferred_primitive | The service to set the preferred primitive |
Setting Preferred Lane
This service allows for shifting the current preferred lane to the left or right, or reverting to the default preferred lane received from the route planner. As the vehicle moves, the shifting is done relative to the current preferred lane.
Based on certain criteria, shifting may be rejected, as in the following cases:
- Left or Right shift is not available due to no lane being present to shift to
- The next segment is a turn or the very last lane - this is to ensure that we can navigate the enter path and end up at the goal
@startuml
title process_lane_change_request
start
:Compute override_direction from request;
if (override_direction == AUTO) then (yes)
if (currently in lane-change override) then (yes)
:revert to original route;
stop
else (no)
:do nothing;
stop
endif
else (no)
if (has a route been set?) then (yes)
:find initial segment;
while (not penultimate segment) is (yes)
if (shift unavailable\nor next segment is turn?) then (yes)
--> while (not penultimate segment) ' continue
else (no)
if (left-shift requested and possible) then (yes)
:shift left;
elseif (right-shift requested and possible) then (yes)
:shift right;
endif
--> while (not penultimate segment) ' jump back instead of implicit join
endif
endwhile (no)
stop
else (no)
:do nothing;
stop
endif
endif
@enduml
Package Dependencies
System Dependencies
Dependant Packages
| Name | Deps |
|---|---|
| tier4_planning_launch |
Launch files
- launch/manual_lane_change_handler.launch.xml
-
- map_topic_name [default: /map/vector_map]
- manual_lane_change_handler_param_path [default: $(find-pkg-share autoware_manual_lane_change_handler)/config/manual_lane_change_handler.param.yaml]
Messages
Services
Plugins
Recent questions tagged autoware_manual_lane_change_handler at Robotics Stack Exchange
Package Summary
| Tags | No category tags. |
| Version | 1.0.0 |
| License | Apache-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 | 2025-11-14 |
| Dev Status | UNKNOWN |
| Released | UNRELEASED |
| Tags | planner ros calibration self-driving-car autonomous-driving autonomous-vehicles ros2 3d-map autoware |
| Contributing |
Help Wanted (-)
Good First Issues (-) Pull Requests to Review (-) |
Package Description
Additional Links
Maintainers
- Arjun Jagdish Ram
Authors
Manual Lane Change Handler
Purpose
Manual Lane Change Handler helps shift the preferred-primitives of a route to the left or right. A manual lane-change handler rviz plugin is also available for use for the user.
Example for using the Manual Lane Change Handler
Service call to shift the preferred-lanes to the left
ros2 service call /planning/mission_planning/manual_lane_change_handler/set_preferred_lane tier4_external_api_msgs/srv/SetPreferredLane lane_change_direction:\ 0\
Services
| Name | Type | Description |
|---|---|---|
/planning/manual_lane_change_handler/manual_lane_change_handler/set_preferred_lane |
tier4_external_api_msgs/srv/SetPreferredLane | preferred-lane request |
Subscriptions
| Name | Type | Description |
|---|---|---|
input/odometry |
nav_msgs/msg/Odometry | vehicle odometry |
/planning/mission_planning/route |
autoware_planning_msgs/msg/LaneletRoute | current lanelet route |
Publications
| Name | Type | Description |
|---|---|---|
~/debug/processing_time_ms |
autoware_internal_debug_msgs/msg/Float64Stamped | processing time for lane change for debug |
~/debug/route_marker |
visualization_msgs/msg/MarkerArray | route marker for debug |
~/debug/goal_footprint |
visualization_msgs/msg/MarkerArray | goal footprint for debug |
Service client
| Service Name | Description |
|---|---|
| ~/set_preferred_lane | The service to set the preferred lane |
Registered Servers
| Service Name | Description |
|---|---|
| /planning/mission_planning/mission_planner/set_preferred_primitive | The service to set the preferred primitive |
Setting Preferred Lane
This service allows for shifting the current preferred lane to the left or right, or reverting to the default preferred lane received from the route planner. As the vehicle moves, the shifting is done relative to the current preferred lane.
Based on certain criteria, shifting may be rejected, as in the following cases:
- Left or Right shift is not available due to no lane being present to shift to
- The next segment is a turn or the very last lane - this is to ensure that we can navigate the enter path and end up at the goal
@startuml
title process_lane_change_request
start
:Compute override_direction from request;
if (override_direction == AUTO) then (yes)
if (currently in lane-change override) then (yes)
:revert to original route;
stop
else (no)
:do nothing;
stop
endif
else (no)
if (has a route been set?) then (yes)
:find initial segment;
while (not penultimate segment) is (yes)
if (shift unavailable\nor next segment is turn?) then (yes)
--> while (not penultimate segment) ' continue
else (no)
if (left-shift requested and possible) then (yes)
:shift left;
elseif (right-shift requested and possible) then (yes)
:shift right;
endif
--> while (not penultimate segment) ' jump back instead of implicit join
endif
endwhile (no)
stop
else (no)
:do nothing;
stop
endif
endif
@enduml
Package Dependencies
System Dependencies
Dependant Packages
| Name | Deps |
|---|---|
| tier4_planning_launch |
Launch files
- launch/manual_lane_change_handler.launch.xml
-
- map_topic_name [default: /map/vector_map]
- manual_lane_change_handler_param_path [default: $(find-pkg-share autoware_manual_lane_change_handler)/config/manual_lane_change_handler.param.yaml]
Messages
Services
Plugins
Recent questions tagged autoware_manual_lane_change_handler at Robotics Stack Exchange
Package Summary
| Tags | No category tags. |
| Version | 1.0.0 |
| License | Apache-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 | 2025-11-14 |
| Dev Status | UNKNOWN |
| Released | UNRELEASED |
| Tags | planner ros calibration self-driving-car autonomous-driving autonomous-vehicles ros2 3d-map autoware |
| Contributing |
Help Wanted (-)
Good First Issues (-) Pull Requests to Review (-) |
Package Description
Additional Links
Maintainers
- Arjun Jagdish Ram
Authors
Manual Lane Change Handler
Purpose
Manual Lane Change Handler helps shift the preferred-primitives of a route to the left or right. A manual lane-change handler rviz plugin is also available for use for the user.
Example for using the Manual Lane Change Handler
Service call to shift the preferred-lanes to the left
ros2 service call /planning/mission_planning/manual_lane_change_handler/set_preferred_lane tier4_external_api_msgs/srv/SetPreferredLane lane_change_direction:\ 0\
Services
| Name | Type | Description |
|---|---|---|
/planning/manual_lane_change_handler/manual_lane_change_handler/set_preferred_lane |
tier4_external_api_msgs/srv/SetPreferredLane | preferred-lane request |
Subscriptions
| Name | Type | Description |
|---|---|---|
input/odometry |
nav_msgs/msg/Odometry | vehicle odometry |
/planning/mission_planning/route |
autoware_planning_msgs/msg/LaneletRoute | current lanelet route |
Publications
| Name | Type | Description |
|---|---|---|
~/debug/processing_time_ms |
autoware_internal_debug_msgs/msg/Float64Stamped | processing time for lane change for debug |
~/debug/route_marker |
visualization_msgs/msg/MarkerArray | route marker for debug |
~/debug/goal_footprint |
visualization_msgs/msg/MarkerArray | goal footprint for debug |
Service client
| Service Name | Description |
|---|---|
| ~/set_preferred_lane | The service to set the preferred lane |
Registered Servers
| Service Name | Description |
|---|---|
| /planning/mission_planning/mission_planner/set_preferred_primitive | The service to set the preferred primitive |
Setting Preferred Lane
This service allows for shifting the current preferred lane to the left or right, or reverting to the default preferred lane received from the route planner. As the vehicle moves, the shifting is done relative to the current preferred lane.
Based on certain criteria, shifting may be rejected, as in the following cases:
- Left or Right shift is not available due to no lane being present to shift to
- The next segment is a turn or the very last lane - this is to ensure that we can navigate the enter path and end up at the goal
@startuml
title process_lane_change_request
start
:Compute override_direction from request;
if (override_direction == AUTO) then (yes)
if (currently in lane-change override) then (yes)
:revert to original route;
stop
else (no)
:do nothing;
stop
endif
else (no)
if (has a route been set?) then (yes)
:find initial segment;
while (not penultimate segment) is (yes)
if (shift unavailable\nor next segment is turn?) then (yes)
--> while (not penultimate segment) ' continue
else (no)
if (left-shift requested and possible) then (yes)
:shift left;
elseif (right-shift requested and possible) then (yes)
:shift right;
endif
--> while (not penultimate segment) ' jump back instead of implicit join
endif
endwhile (no)
stop
else (no)
:do nothing;
stop
endif
endif
@enduml
Package Dependencies
System Dependencies
Dependant Packages
| Name | Deps |
|---|---|
| tier4_planning_launch |
Launch files
- launch/manual_lane_change_handler.launch.xml
-
- map_topic_name [default: /map/vector_map]
- manual_lane_change_handler_param_path [default: $(find-pkg-share autoware_manual_lane_change_handler)/config/manual_lane_change_handler.param.yaml]
Messages
Services
Plugins
Recent questions tagged autoware_manual_lane_change_handler at Robotics Stack Exchange
Package Summary
| Tags | No category tags. |
| Version | 1.0.0 |
| License | Apache-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 | 2025-11-14 |
| Dev Status | UNKNOWN |
| Released | UNRELEASED |
| Tags | planner ros calibration self-driving-car autonomous-driving autonomous-vehicles ros2 3d-map autoware |
| Contributing |
Help Wanted (-)
Good First Issues (-) Pull Requests to Review (-) |
Package Description
Additional Links
Maintainers
- Arjun Jagdish Ram
Authors
Manual Lane Change Handler
Purpose
Manual Lane Change Handler helps shift the preferred-primitives of a route to the left or right. A manual lane-change handler rviz plugin is also available for use for the user.
Example for using the Manual Lane Change Handler
Service call to shift the preferred-lanes to the left
ros2 service call /planning/mission_planning/manual_lane_change_handler/set_preferred_lane tier4_external_api_msgs/srv/SetPreferredLane lane_change_direction:\ 0\
Services
| Name | Type | Description |
|---|---|---|
/planning/manual_lane_change_handler/manual_lane_change_handler/set_preferred_lane |
tier4_external_api_msgs/srv/SetPreferredLane | preferred-lane request |
Subscriptions
| Name | Type | Description |
|---|---|---|
input/odometry |
nav_msgs/msg/Odometry | vehicle odometry |
/planning/mission_planning/route |
autoware_planning_msgs/msg/LaneletRoute | current lanelet route |
Publications
| Name | Type | Description |
|---|---|---|
~/debug/processing_time_ms |
autoware_internal_debug_msgs/msg/Float64Stamped | processing time for lane change for debug |
~/debug/route_marker |
visualization_msgs/msg/MarkerArray | route marker for debug |
~/debug/goal_footprint |
visualization_msgs/msg/MarkerArray | goal footprint for debug |
Service client
| Service Name | Description |
|---|---|
| ~/set_preferred_lane | The service to set the preferred lane |
Registered Servers
| Service Name | Description |
|---|---|
| /planning/mission_planning/mission_planner/set_preferred_primitive | The service to set the preferred primitive |
Setting Preferred Lane
This service allows for shifting the current preferred lane to the left or right, or reverting to the default preferred lane received from the route planner. As the vehicle moves, the shifting is done relative to the current preferred lane.
Based on certain criteria, shifting may be rejected, as in the following cases:
- Left or Right shift is not available due to no lane being present to shift to
- The next segment is a turn or the very last lane - this is to ensure that we can navigate the enter path and end up at the goal
@startuml
title process_lane_change_request
start
:Compute override_direction from request;
if (override_direction == AUTO) then (yes)
if (currently in lane-change override) then (yes)
:revert to original route;
stop
else (no)
:do nothing;
stop
endif
else (no)
if (has a route been set?) then (yes)
:find initial segment;
while (not penultimate segment) is (yes)
if (shift unavailable\nor next segment is turn?) then (yes)
--> while (not penultimate segment) ' continue
else (no)
if (left-shift requested and possible) then (yes)
:shift left;
elseif (right-shift requested and possible) then (yes)
:shift right;
endif
--> while (not penultimate segment) ' jump back instead of implicit join
endif
endwhile (no)
stop
else (no)
:do nothing;
stop
endif
endif
@enduml
Package Dependencies
System Dependencies
Dependant Packages
| Name | Deps |
|---|---|
| tier4_planning_launch |
Launch files
- launch/manual_lane_change_handler.launch.xml
-
- map_topic_name [default: /map/vector_map]
- manual_lane_change_handler_param_path [default: $(find-pkg-share autoware_manual_lane_change_handler)/config/manual_lane_change_handler.param.yaml]
Messages
Services
Plugins
Recent questions tagged autoware_manual_lane_change_handler at Robotics Stack Exchange
Package Summary
| Tags | No category tags. |
| Version | 1.0.0 |
| License | Apache-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 | 2025-11-14 |
| Dev Status | UNKNOWN |
| Released | UNRELEASED |
| Tags | planner ros calibration self-driving-car autonomous-driving autonomous-vehicles ros2 3d-map autoware |
| Contributing |
Help Wanted (-)
Good First Issues (-) Pull Requests to Review (-) |
Package Description
Additional Links
Maintainers
- Arjun Jagdish Ram
Authors
Manual Lane Change Handler
Purpose
Manual Lane Change Handler helps shift the preferred-primitives of a route to the left or right. A manual lane-change handler rviz plugin is also available for use for the user.
Example for using the Manual Lane Change Handler
Service call to shift the preferred-lanes to the left
ros2 service call /planning/mission_planning/manual_lane_change_handler/set_preferred_lane tier4_external_api_msgs/srv/SetPreferredLane lane_change_direction:\ 0\
Services
| Name | Type | Description |
|---|---|---|
/planning/manual_lane_change_handler/manual_lane_change_handler/set_preferred_lane |
tier4_external_api_msgs/srv/SetPreferredLane | preferred-lane request |
Subscriptions
| Name | Type | Description |
|---|---|---|
input/odometry |
nav_msgs/msg/Odometry | vehicle odometry |
/planning/mission_planning/route |
autoware_planning_msgs/msg/LaneletRoute | current lanelet route |
Publications
| Name | Type | Description |
|---|---|---|
~/debug/processing_time_ms |
autoware_internal_debug_msgs/msg/Float64Stamped | processing time for lane change for debug |
~/debug/route_marker |
visualization_msgs/msg/MarkerArray | route marker for debug |
~/debug/goal_footprint |
visualization_msgs/msg/MarkerArray | goal footprint for debug |
Service client
| Service Name | Description |
|---|---|
| ~/set_preferred_lane | The service to set the preferred lane |
Registered Servers
| Service Name | Description |
|---|---|
| /planning/mission_planning/mission_planner/set_preferred_primitive | The service to set the preferred primitive |
Setting Preferred Lane
This service allows for shifting the current preferred lane to the left or right, or reverting to the default preferred lane received from the route planner. As the vehicle moves, the shifting is done relative to the current preferred lane.
Based on certain criteria, shifting may be rejected, as in the following cases:
- Left or Right shift is not available due to no lane being present to shift to
- The next segment is a turn or the very last lane - this is to ensure that we can navigate the enter path and end up at the goal
@startuml
title process_lane_change_request
start
:Compute override_direction from request;
if (override_direction == AUTO) then (yes)
if (currently in lane-change override) then (yes)
:revert to original route;
stop
else (no)
:do nothing;
stop
endif
else (no)
if (has a route been set?) then (yes)
:find initial segment;
while (not penultimate segment) is (yes)
if (shift unavailable\nor next segment is turn?) then (yes)
--> while (not penultimate segment) ' continue
else (no)
if (left-shift requested and possible) then (yes)
:shift left;
elseif (right-shift requested and possible) then (yes)
:shift right;
endif
--> while (not penultimate segment) ' jump back instead of implicit join
endif
endwhile (no)
stop
else (no)
:do nothing;
stop
endif
endif
@enduml
Package Dependencies
System Dependencies
Dependant Packages
| Name | Deps |
|---|---|
| tier4_planning_launch |
Launch files
- launch/manual_lane_change_handler.launch.xml
-
- map_topic_name [default: /map/vector_map]
- manual_lane_change_handler_param_path [default: $(find-pkg-share autoware_manual_lane_change_handler)/config/manual_lane_change_handler.param.yaml]
Messages
Services
Plugins
Recent questions tagged autoware_manual_lane_change_handler at Robotics Stack Exchange
Package Summary
| Tags | No category tags. |
| Version | 1.0.0 |
| License | Apache-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 | 2025-11-14 |
| Dev Status | UNKNOWN |
| Released | UNRELEASED |
| Tags | planner ros calibration self-driving-car autonomous-driving autonomous-vehicles ros2 3d-map autoware |
| Contributing |
Help Wanted (-)
Good First Issues (-) Pull Requests to Review (-) |
Package Description
Additional Links
Maintainers
- Arjun Jagdish Ram
Authors
Manual Lane Change Handler
Purpose
Manual Lane Change Handler helps shift the preferred-primitives of a route to the left or right. A manual lane-change handler rviz plugin is also available for use for the user.
Example for using the Manual Lane Change Handler
Service call to shift the preferred-lanes to the left
ros2 service call /planning/mission_planning/manual_lane_change_handler/set_preferred_lane tier4_external_api_msgs/srv/SetPreferredLane lane_change_direction:\ 0\
Services
| Name | Type | Description |
|---|---|---|
/planning/manual_lane_change_handler/manual_lane_change_handler/set_preferred_lane |
tier4_external_api_msgs/srv/SetPreferredLane | preferred-lane request |
Subscriptions
| Name | Type | Description |
|---|---|---|
input/odometry |
nav_msgs/msg/Odometry | vehicle odometry |
/planning/mission_planning/route |
autoware_planning_msgs/msg/LaneletRoute | current lanelet route |
Publications
| Name | Type | Description |
|---|---|---|
~/debug/processing_time_ms |
autoware_internal_debug_msgs/msg/Float64Stamped | processing time for lane change for debug |
~/debug/route_marker |
visualization_msgs/msg/MarkerArray | route marker for debug |
~/debug/goal_footprint |
visualization_msgs/msg/MarkerArray | goal footprint for debug |
Service client
| Service Name | Description |
|---|---|
| ~/set_preferred_lane | The service to set the preferred lane |
Registered Servers
| Service Name | Description |
|---|---|
| /planning/mission_planning/mission_planner/set_preferred_primitive | The service to set the preferred primitive |
Setting Preferred Lane
This service allows for shifting the current preferred lane to the left or right, or reverting to the default preferred lane received from the route planner. As the vehicle moves, the shifting is done relative to the current preferred lane.
Based on certain criteria, shifting may be rejected, as in the following cases:
- Left or Right shift is not available due to no lane being present to shift to
- The next segment is a turn or the very last lane - this is to ensure that we can navigate the enter path and end up at the goal
@startuml
title process_lane_change_request
start
:Compute override_direction from request;
if (override_direction == AUTO) then (yes)
if (currently in lane-change override) then (yes)
:revert to original route;
stop
else (no)
:do nothing;
stop
endif
else (no)
if (has a route been set?) then (yes)
:find initial segment;
while (not penultimate segment) is (yes)
if (shift unavailable\nor next segment is turn?) then (yes)
--> while (not penultimate segment) ' continue
else (no)
if (left-shift requested and possible) then (yes)
:shift left;
elseif (right-shift requested and possible) then (yes)
:shift right;
endif
--> while (not penultimate segment) ' jump back instead of implicit join
endif
endwhile (no)
stop
else (no)
:do nothing;
stop
endif
endif
@enduml
Package Dependencies
System Dependencies
Dependant Packages
| Name | Deps |
|---|---|
| tier4_planning_launch |
Launch files
- launch/manual_lane_change_handler.launch.xml
-
- map_topic_name [default: /map/vector_map]
- manual_lane_change_handler_param_path [default: $(find-pkg-share autoware_manual_lane_change_handler)/config/manual_lane_change_handler.param.yaml]
Messages
Services
Plugins
Recent questions tagged autoware_manual_lane_change_handler at Robotics Stack Exchange
Package Summary
| Tags | No category tags. |
| Version | 1.0.0 |
| License | Apache-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 | 2025-11-14 |
| Dev Status | UNKNOWN |
| Released | UNRELEASED |
| Tags | planner ros calibration self-driving-car autonomous-driving autonomous-vehicles ros2 3d-map autoware |
| Contributing |
Help Wanted (-)
Good First Issues (-) Pull Requests to Review (-) |
Package Description
Additional Links
Maintainers
- Arjun Jagdish Ram
Authors
Manual Lane Change Handler
Purpose
Manual Lane Change Handler helps shift the preferred-primitives of a route to the left or right. A manual lane-change handler rviz plugin is also available for use for the user.
Example for using the Manual Lane Change Handler
Service call to shift the preferred-lanes to the left
ros2 service call /planning/mission_planning/manual_lane_change_handler/set_preferred_lane tier4_external_api_msgs/srv/SetPreferredLane lane_change_direction:\ 0\
Services
| Name | Type | Description |
|---|---|---|
/planning/manual_lane_change_handler/manual_lane_change_handler/set_preferred_lane |
tier4_external_api_msgs/srv/SetPreferredLane | preferred-lane request |
Subscriptions
| Name | Type | Description |
|---|---|---|
input/odometry |
nav_msgs/msg/Odometry | vehicle odometry |
/planning/mission_planning/route |
autoware_planning_msgs/msg/LaneletRoute | current lanelet route |
Publications
| Name | Type | Description |
|---|---|---|
~/debug/processing_time_ms |
autoware_internal_debug_msgs/msg/Float64Stamped | processing time for lane change for debug |
~/debug/route_marker |
visualization_msgs/msg/MarkerArray | route marker for debug |
~/debug/goal_footprint |
visualization_msgs/msg/MarkerArray | goal footprint for debug |
Service client
| Service Name | Description |
|---|---|
| ~/set_preferred_lane | The service to set the preferred lane |
Registered Servers
| Service Name | Description |
|---|---|
| /planning/mission_planning/mission_planner/set_preferred_primitive | The service to set the preferred primitive |
Setting Preferred Lane
This service allows for shifting the current preferred lane to the left or right, or reverting to the default preferred lane received from the route planner. As the vehicle moves, the shifting is done relative to the current preferred lane.
Based on certain criteria, shifting may be rejected, as in the following cases:
- Left or Right shift is not available due to no lane being present to shift to
- The next segment is a turn or the very last lane - this is to ensure that we can navigate the enter path and end up at the goal
@startuml
title process_lane_change_request
start
:Compute override_direction from request;
if (override_direction == AUTO) then (yes)
if (currently in lane-change override) then (yes)
:revert to original route;
stop
else (no)
:do nothing;
stop
endif
else (no)
if (has a route been set?) then (yes)
:find initial segment;
while (not penultimate segment) is (yes)
if (shift unavailable\nor next segment is turn?) then (yes)
--> while (not penultimate segment) ' continue
else (no)
if (left-shift requested and possible) then (yes)
:shift left;
elseif (right-shift requested and possible) then (yes)
:shift right;
endif
--> while (not penultimate segment) ' jump back instead of implicit join
endif
endwhile (no)
stop
else (no)
:do nothing;
stop
endif
endif
@enduml
Package Dependencies
System Dependencies
Dependant Packages
| Name | Deps |
|---|---|
| tier4_planning_launch |
Launch files
- launch/manual_lane_change_handler.launch.xml
-
- map_topic_name [default: /map/vector_map]
- manual_lane_change_handler_param_path [default: $(find-pkg-share autoware_manual_lane_change_handler)/config/manual_lane_change_handler.param.yaml]
Messages
Services
Plugins
Recent questions tagged autoware_manual_lane_change_handler at Robotics Stack Exchange
Package Summary
| Tags | No category tags. |
| Version | 1.0.0 |
| License | Apache-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 | 2025-11-14 |
| Dev Status | UNKNOWN |
| Released | UNRELEASED |
| Tags | planner ros calibration self-driving-car autonomous-driving autonomous-vehicles ros2 3d-map autoware |
| Contributing |
Help Wanted (-)
Good First Issues (-) Pull Requests to Review (-) |
Package Description
Additional Links
Maintainers
- Arjun Jagdish Ram
Authors
Manual Lane Change Handler
Purpose
Manual Lane Change Handler helps shift the preferred-primitives of a route to the left or right. A manual lane-change handler rviz plugin is also available for use for the user.
Example for using the Manual Lane Change Handler
Service call to shift the preferred-lanes to the left
ros2 service call /planning/mission_planning/manual_lane_change_handler/set_preferred_lane tier4_external_api_msgs/srv/SetPreferredLane lane_change_direction:\ 0\
Services
| Name | Type | Description |
|---|---|---|
/planning/manual_lane_change_handler/manual_lane_change_handler/set_preferred_lane |
tier4_external_api_msgs/srv/SetPreferredLane | preferred-lane request |
Subscriptions
| Name | Type | Description |
|---|---|---|
input/odometry |
nav_msgs/msg/Odometry | vehicle odometry |
/planning/mission_planning/route |
autoware_planning_msgs/msg/LaneletRoute | current lanelet route |
Publications
| Name | Type | Description |
|---|---|---|
~/debug/processing_time_ms |
autoware_internal_debug_msgs/msg/Float64Stamped | processing time for lane change for debug |
~/debug/route_marker |
visualization_msgs/msg/MarkerArray | route marker for debug |
~/debug/goal_footprint |
visualization_msgs/msg/MarkerArray | goal footprint for debug |
Service client
| Service Name | Description |
|---|---|
| ~/set_preferred_lane | The service to set the preferred lane |
Registered Servers
| Service Name | Description |
|---|---|
| /planning/mission_planning/mission_planner/set_preferred_primitive | The service to set the preferred primitive |
Setting Preferred Lane
This service allows for shifting the current preferred lane to the left or right, or reverting to the default preferred lane received from the route planner. As the vehicle moves, the shifting is done relative to the current preferred lane.
Based on certain criteria, shifting may be rejected, as in the following cases:
- Left or Right shift is not available due to no lane being present to shift to
- The next segment is a turn or the very last lane - this is to ensure that we can navigate the enter path and end up at the goal
@startuml
title process_lane_change_request
start
:Compute override_direction from request;
if (override_direction == AUTO) then (yes)
if (currently in lane-change override) then (yes)
:revert to original route;
stop
else (no)
:do nothing;
stop
endif
else (no)
if (has a route been set?) then (yes)
:find initial segment;
while (not penultimate segment) is (yes)
if (shift unavailable\nor next segment is turn?) then (yes)
--> while (not penultimate segment) ' continue
else (no)
if (left-shift requested and possible) then (yes)
:shift left;
elseif (right-shift requested and possible) then (yes)
:shift right;
endif
--> while (not penultimate segment) ' jump back instead of implicit join
endif
endwhile (no)
stop
else (no)
:do nothing;
stop
endif
endif
@enduml
Package Dependencies
System Dependencies
Dependant Packages
| Name | Deps |
|---|---|
| tier4_planning_launch |
Launch files
- launch/manual_lane_change_handler.launch.xml
-
- map_topic_name [default: /map/vector_map]
- manual_lane_change_handler_param_path [default: $(find-pkg-share autoware_manual_lane_change_handler)/config/manual_lane_change_handler.param.yaml]