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(rtc_manager_panel): add rtc all approval #2009

Conversation

taikitanaka3
Copy link
Contributor

@taikitanaka3 taikitanaka3 commented Oct 4, 2022

Signed-off-by: taikitanaka3 [email protected]

Description

  • add rtc exe mode and wait mode button
2022-10-04-13-43-41.mp4

Related links

resolve #2009

'Tier4 INTERNAL LINK'

Tests performed

not yet

Notes for reviewers

this can easily tested by psim

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.

  • The PR follows the pull request guidelines.
  • The PR has been properly tested.
  • The PR has been reviewed by the code owners.

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.
  • The PR is ready for merge.

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

@codecov
Copy link

codecov bot commented Oct 4, 2022

Codecov Report

Base: 10.34% // Head: 10.33% // Decreases project coverage by -0.00% ⚠️

Coverage data is based on head (dbfaecd) compared to base (7648dec).
Patch coverage: 0.00% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2009      +/-   ##
==========================================
- Coverage   10.34%   10.33%   -0.01%     
==========================================
  Files        1162     1162              
  Lines       82744    82821      +77     
  Branches    19280    19280              
==========================================
  Hits         8559     8559              
- Misses      64925    65002      +77     
  Partials     9260     9260              
Flag Coverage Δ *Carryforward flag
differential 0.00% <0.00%> (?)
total 10.32% <0.00%> (ø) Carriedforward from 08c4852

*This pull request uses carry forward flags. Click here to find out more.

Impacted Files Coverage Δ
.../rtc_manager_rviz_plugin/src/rtc_manager_panel.cpp 0.00% <0.00%> (ø)
.../rtc_manager_rviz_plugin/src/rtc_manager_panel.hpp 0.00% <ø> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

taikitanaka3 and others added 2 commits October 4, 2022 12:12
Signed-off-by: taikitanaka3 <[email protected]>
Signed-off-by: tanaka3 <[email protected]>
@taikitanaka3 taikitanaka3 marked this pull request as ready for review October 4, 2022 04:46
@taikitanaka3
Copy link
Contributor Author

taikitanaka3 commented Oct 4, 2022

@rej55
Can you review this PR?

Copy link
Contributor

@rej55 rej55 left a comment

Choose a reason for hiding this comment

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

Thank you!
I add some suggestions.
Could you check them?

common/rtc_manager_rviz_plugin/src/rtc_manager_panel.cpp Outdated Show resolved Hide resolved
common/rtc_manager_rviz_plugin/src/rtc_manager_panel.cpp Outdated Show resolved Hide resolved
taikitanaka3 and others added 6 commits October 4, 2022 14:33
Co-authored-by: Fumiya Watanabe <[email protected]>
Co-authored-by: Fumiya Watanabe <[email protected]>
Signed-off-by: tanaka3 <[email protected]>
Signed-off-by: tanaka3 <[email protected]>
Signed-off-by: tanaka3 <[email protected]>
@taikitanaka3 taikitanaka3 added component:planning Route planning, decision-making, and navigation. (auto-assigned) component:tools Utility and debugging software. (auto-assigned) type:documentation Creating or refining documentation. (auto-assigned) labels Oct 4, 2022
@taikitanaka3
Copy link
Contributor Author

The document is going to look like this.
image

@taikitanaka3
Copy link
Contributor Author

@rej55
I updated documents with Execute and Wait button. It will be more appropriate expression

@rej55
Copy link
Contributor

rej55 commented Oct 4, 2022

I tried this tool.
It is okay for modules included in behavior_velocity_planner.

I think execute button for following modules should be separated from other modules.
Furthermore, it would be better to have separate buttons for individual ids.

  • Lane change
  • Avoidance
  • Pull over
  • Pull out

@taikitanaka3
Copy link
Contributor Author

taikitanaka3 commented Oct 4, 2022

@rej55
How about this layout?

All Cooperate Command Execute Wait
Lateral Cooperate Command Execute Wait
Longitudinal Cooperate Command Execute Wait

it would be better to have separate buttons for individual ids

yes I implemented it but it sometimes doesn't work as expected, maybe because of latency of button signal and fast update of rtc status. if it works fine I will add.

@rej55
Copy link
Contributor

rej55 commented Oct 4, 2022

Longitudinal command is okay but lateral modules should not be placed all execute command.
This is because most lateral modules cannot be canceled once executed.

@rej55
Copy link
Contributor

rej55 commented Oct 4, 2022

I tried this tool. It is okay for modules included in behavior_velocity_planner.

I think execute button for following modules should be separated from other modules. Furthermore, it would be better to have separate buttons for individual ids.

  • Lane change
  • Avoidance
  • Pull over
  • Pull out

This suggestion will be handled in other PR.

Copy link
Contributor

@rej55 rej55 left a comment

Choose a reason for hiding this comment

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

LGTM

@taikitanaka3 taikitanaka3 merged commit 80082de into autowarefoundation:main Oct 4, 2022
@taikitanaka3 taikitanaka3 deleted the feature/add_rtc_manager_approval_all branch October 4, 2022 10:42
boyali pushed a commit to boyali/autoware.universe that referenced this pull request Oct 19, 2022
* feat(rtc_manager_panel): add rtc all approval

Signed-off-by: taikitanaka3 <[email protected]>

* chore: cosmetic change

Signed-off-by: taikitanaka3 <[email protected]>

* fix: static cast

Signed-off-by: tanaka3 <[email protected]>

* chore: update text

Co-authored-by: Fumiya Watanabe <[email protected]>

* chore: update text

Co-authored-by: Fumiya Watanabe <[email protected]>

* doc: update documents

Signed-off-by: tanaka3 <[email protected]>

* doc: update

Signed-off-by: tanaka3 <[email protected]>

* doc: small update

Signed-off-by: tanaka3 <[email protected]>

Signed-off-by: taikitanaka3 <[email protected]>
Signed-off-by: tanaka3 <[email protected]>
Co-authored-by: Fumiya Watanabe <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component:planning Route planning, decision-making, and navigation. (auto-assigned) component:tools Utility and debugging software. (auto-assigned) type:documentation Creating or refining documentation. (auto-assigned)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants