Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(lane_change): use planning factor #1727

Conversation

satoshi-ota
Copy link

Description

Add PlanningFactorInterface to output planning factor.

Related links

Parent Issue:

How was this PR tested?

movie-2024-12-23_09.42.26.mp4

Notes for reviewers

None.

Interface changes

Version Topic Type Topic Name Message Type Description
New Pub /planing/planning_factors/lane_change_right tier4_planning_msgs/PlanningFactorArray Topic description
New Pub /planing/planning_factors/lane_change_left tier4_planning_msgs/PlanningFactorArray Topic description

Effects on system behavior

None.

Copy link

Thank you for contributing to the Autoware project!

🚧 If your pull request is in progress, switch it to draft mode.

Please ensure:

@@ -452,5 +471,17 @@ void LaneChangeInterface::updateSteeringFactorPtr(
{selected_path.info.shift_line.start, selected_path.info.shift_line.end},
{output.start_distance_to_path_change, output.finish_distance_to_path_change},
steering_factor_direction, SteeringFactor::APPROACHING, "");

const uint16_t planning_factor_direction = std::invoke([&output]() {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
const uint16_t planning_factor_direction = std::invoke([&output]() {
const auto planning_factor_direction = std::invoke([&output]() {

Just for code consistency purpose.

Copy link

@zulfaqar-azmi-t4 zulfaqar-azmi-t4 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@satoshi-ota satoshi-ota merged commit bb03595 into feat/development-branch-planning-factor Dec 23, 2024
22 checks passed
@satoshi-ota satoshi-ota deleted the feat/bpp-planning-factor-lane-change branch December 23, 2024 02:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants