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(autoware_overlay_rviz_plugin): fix subs and cleanup #6978

Merged
merged 2 commits into from May 11, 2024
Merged

Conversation

xmfcx
Copy link
Contributor

@xmfcx xmfcx commented May 10, 2024

Description

Speed limit display didn't show the speed limit on startup or as the vehicle was driving.

Cause: /planning/scenario_planning/current_max_velocity subscriber wasn't transient_local as it should have been.

Now it's fixed.

Reduced boilerplate by reusing subscription initializations.

autoware_overlay_msgs were added with this package but they weren't used. So I removed every trace of them.

Cleaned up the CMakeLists file by removing redundant find_package() calls. And overall formatting.

Tests performed

Before

Speed limit is 0. It is only updated when I set it from the sidebar.

2024-05-11.02-31-44.mp4

After

Speed limit is 15, as it should be.

2024-05-11.02-28-11.mp4

Effects on system behavior

Not applicable.

Interface changes

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.

xmfcx added 2 commits May 11, 2024 02:11
Signed-off-by: M. Fatih Cırıt <mfc@leodrive.ai>
Signed-off-by: M. Fatih Cırıt <mfc@leodrive.ai>
@xmfcx xmfcx self-assigned this May 10, 2024
@github-actions github-actions bot added type:documentation Creating or refining documentation. (auto-assigned) component:common Common packages from the autoware-common repository. (auto-assigned) labels May 10, 2024
@xmfcx xmfcx added the tag:run-build-and-test-differential Mark to enable build-and-test-differential workflow. (used-by-ci) label May 10, 2024
Copy link
Contributor

@KhalilSelyan KhalilSelyan left a comment

Choose a reason for hiding this comment

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

Looks good to me !

@xmfcx xmfcx merged commit fd6306d into main May 11, 2024
36 of 38 checks passed
@xmfcx xmfcx deleted the fix/overlay-plugin branch May 11, 2024 19:09
vividf pushed a commit to vividf/autoware.universe that referenced this pull request May 16, 2024
…dation#6978)

Signed-off-by: M. Fatih Cırıt <mfc@leodrive.ai>
Signed-off-by: vividf <yihsiang.fang@tier4.jp>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component:common Common packages from the autoware-common repository. (auto-assigned) tag:run-build-and-test-differential Mark to enable build-and-test-differential workflow. (used-by-ci) type:documentation Creating or refining documentation. (auto-assigned)
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

None yet

2 participants