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

fix(smart_mpc_trajectory_folower): fix running by adding control_state and changing msg/package_name #7666

Merged
merged 1 commit into from
Jun 25, 2024

Conversation

kosuke55
Copy link
Contributor

@kosuke55 kosuke55 commented Jun 24, 2024

Description

smart_mpc can not work by some recent other package modification.
In this PR, fix it by

  • adding control_state diag
  • change msg type
  • change package names

control state is checked in
https://github.com/tier4/autoware.universe/blob/ebc73da8d5c503e76a9bc86cc29cc0ad52c5b9c0/system/system_diagnostic_monitor/config/control.yaml#L55-L58
this feature was introduced in #6715

use same state which is used in pid https://github.com/tier4/autoware.universe/blob/ebc73da8d5c503e76a9bc86cc29cc0ad52c5b9c0/control/autoware_pid_longitudinal_controller/include/autoware/pid_longitudinal_controller/pid_longitudinal_controller.hpp#L126
(but it is better to share the structure in actual)

Tests performed

psim

control state changes like
stopped -> drive -> stopping -> stopped -> ....

smart_mpc_latest-2024-06-24_21.02.30.mp4

Effects on system behavior

Not applicable.

Interface changes

the executed module name is changed
pympc_trajectory_follower -> controller_node_exe

Pre-review checklist for the PR author

The PR author must check the checkboxes below when creating the PR.

In-review checklist for the PR reviewers

The PR reviewers must check the checkboxes below before approval.

Post-review checklist for the PR author

The PR author must check the checkboxes below before merging.

  • There are no open discussions or they are tracked via tickets.

After all checkboxes are checked, anyone who has write access can merge the PR.

…e and changing msg/package_name

Signed-off-by: kosuke55 <[email protected]>
@github-actions github-actions bot added component:control Vehicle control algorithms and mechanisms. (auto-assigned) component:launch Launch files, scripts and initialization tools. (auto-assigned) labels Jun 24, 2024
@kosuke55 kosuke55 added the run:build-and-test-differential Mark to enable build-and-test-differential workflow. (used-by-ci) label Jun 24, 2024
@kosuke55
Copy link
Contributor Author

@masayukiaino
could you please review this PR?

@masayukiaino
Copy link
Contributor

@kosuke55
I have checked the changes and verified that they work.

@kosuke55
Copy link
Contributor Author

kosuke55 commented Jun 25, 2024

@TakaHoribe
could you please approve as a code owner?

@kosuke55 kosuke55 merged commit f306973 into autowarefoundation:main Jun 25, 2024
49 of 50 checks passed
@kosuke55 kosuke55 deleted the fix/smart_mpc branch June 25, 2024 01:47
simon-eisenmann-driveblocks pushed a commit to simon-eisenmann-driveblocks/autoware.universe that referenced this pull request Jun 26, 2024
…e and changing msg/package_name (autowarefoundation#7666)

Signed-off-by: kosuke55 <[email protected]>
Signed-off-by: Simon Eisenmann <[email protected]>
mitukou1109 pushed a commit to mitukou1109/autoware.universe that referenced this pull request Jul 2, 2024
tby-udel pushed a commit to tby-udel/autoware.universe that referenced this pull request Jul 14, 2024
KhalilSelyan pushed a commit that referenced this pull request Jul 22, 2024
…e and changing msg/package_name (#7666)

Signed-off-by: kosuke55 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component:control Vehicle control algorithms and mechanisms. (auto-assigned) component:launch Launch files, scripts and initialization tools. (auto-assigned) run:build-and-test-differential Mark to enable build-and-test-differential workflow. (used-by-ci)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants