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

refactor(vehicle_cmd_gate)!: delete rate limit skipping function for vehicle departure #7720

Conversation

yuki-takagi-66
Copy link
Contributor

@yuki-takagi-66 yuki-takagi-66 commented Jun 27, 2024

Description

This PR delete rate limit skipping function which is activated when the vehicle departure.
More appropriate feature, including stopping, can be achieved by the parameter settings.

Related links

autowarefoundation/autoware_launch#1077

How was this PR tested?

I have tested this change by two type of real vehicles.

Notes for reviewers

None.

Effects on system behavior

None.

@github-actions github-actions bot added the component:control Vehicle control algorithms and mechanisms. (auto-assigned) label Jun 27, 2024
Copy link

github-actions bot commented Jun 27, 2024

Thank you for contributing to the Autoware project!

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

Please ensure:

@yuki-takagi-66 yuki-takagi-66 force-pushed the vehicle_cmd_gate/delete-special-function-for-depature branch 2 times, most recently from 6606369 to ea52b3a Compare July 4, 2024 09:21
@yuki-takagi-66 yuki-takagi-66 changed the title refactor(vehicle_cmd_gate)!: delete rate limit skipping function when the vehicle departure refactor(vehicle_cmd_gate)!: delete rate limit skipping function which for vehicle departure Jul 18, 2024
@yuki-takagi-66 yuki-takagi-66 force-pushed the vehicle_cmd_gate/delete-special-function-for-depature branch from ea52b3a to 81c5197 Compare July 18, 2024 02:37
@yuki-takagi-66 yuki-takagi-66 changed the title refactor(vehicle_cmd_gate)!: delete rate limit skipping function which for vehicle departure refactor(vehicle_cmd_gate)!: delete rate limit skipping function for vehicle departure Jul 18, 2024
@yuki-takagi-66 yuki-takagi-66 marked this pull request as ready for review July 18, 2024 03:04
@yuki-takagi-66 yuki-takagi-66 added the tag:run-build-and-test-differential Mark to enable build-and-test-differential workflow. (used-by-ci) label Jul 18, 2024
Copy link

codecov bot commented Jul 18, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 29.14%. Comparing base (2e861d3) to head (4c6d79c).
Report is 5 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #7720   +/-   ##
=======================================
  Coverage   29.13%   29.14%           
=======================================
  Files        1610     1614    +4     
  Lines      118128   118163   +35     
  Branches    50850    50848    -2     
=======================================
+ Hits        34422    34434   +12     
- Misses      74499    74525   +26     
+ Partials     9207     9204    -3     
Flag Coverage Δ *Carryforward flag
differential 7.41% <ø> (?)
total 29.14% <ø> (+<0.01%) ⬆️ Carriedforward from 0c9e7da

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

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

steer_lim: [1.0, 1.0, 1.0, 0.8]
steer_rate_lim: [1.0, 1.0, 1.0, 0.8]
lon_acc_lim: [5.0, 5.0, 5.0, 4.0]
lon_jerk_lim: [80.0, 5.0, 5.0, 4.0]
Copy link
Contributor

Choose a reason for hiding this comment

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

Please add some comments here to describe the reasons/backgrounds of this parameter.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@TakaHoribe
Thank you. I added a brief comments

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@TakaHoribe
I also add some comments to the readme document

Copy link
Contributor

@TakaHoribe TakaHoribe left a comment

Choose a reason for hiding this comment

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

LGTM, but please check my suggestion before merge.

steer_lim: [1.0, 1.0, 1.0, 0.8]
steer_rate_lim: [1.0, 1.0, 1.0, 0.8]
lon_acc_lim: [5.0, 5.0, 5.0, 4.0]
lon_jerk_lim: [80.0, 5.0, 5.0, 4.0] # The first element is required for quick pedal changes when stopping and starting on a slope.
Copy link
Contributor

Choose a reason for hiding this comment

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

This setting is not unique for a slope.

Suggested change
lon_jerk_lim: [80.0, 5.0, 5.0, 4.0] # The first element is required for quick pedal changes when stopping and starting on a slope.
lon_jerk_lim: [80.0, 5.0, 5.0, 4.0] # The first element is required for quick pedal changes when stopping and starting.

Signed-off-by: Yuki Takagi <[email protected]>
Signed-off-by: Yuki Takagi <[email protected]>
Signed-off-by: Yuki Takagi <[email protected]>
@yuki-takagi-66 yuki-takagi-66 force-pushed the vehicle_cmd_gate/delete-special-function-for-depature branch from 823d345 to 745374d Compare July 22, 2024 04:18
Signed-off-by: Yuki Takagi <[email protected]>
@yuki-takagi-66 yuki-takagi-66 merged commit aab396a into autowarefoundation:main Jul 22, 2024
29 checks passed
@yuki-takagi-66 yuki-takagi-66 deleted the vehicle_cmd_gate/delete-special-function-for-depature branch July 22, 2024 04:54
Ariiees pushed a commit to Ariiees/autoware.universe that referenced this pull request Jul 22, 2024
…vehicle departure (autowarefoundation#7720)

* delete a fucntion block. More appropriate function can be achieved by the parameter settings.
* add notation to readme
---------
Signed-off-by: Yuki Takagi <[email protected]>
chihungtzeng pushed a commit to chihungtzeng/autoware.universe that referenced this pull request Jul 23, 2024
…vehicle departure (autowarefoundation#7720)

* delete a fucntion block. More appropriate function can be achieved by the parameter settings.
* add notation to readme
---------
Signed-off-by: Yuki Takagi <[email protected]>
kyoichi-sugahara pushed a commit to kyoichi-sugahara/autoware.universe that referenced this pull request Jul 23, 2024
…vehicle departure (autowarefoundation#7720)

* delete a fucntion block. More appropriate function can be achieved by the parameter settings.
* add notation to readme
---------
Signed-off-by: Yuki Takagi <[email protected]>
yuki-takagi-66 added a commit to tier4/autoware.universe that referenced this pull request Jul 24, 2024
…vehicle departure (autowarefoundation#7720)

* delete a fucntion block. More appropriate function can be achieved by the parameter settings.
* add notation to readme
---------
Signed-off-by: Yuki Takagi <[email protected]>
saka1-s pushed a commit to tier4/autoware.universe that referenced this pull request Jul 25, 2024
* feat(simple_planning_simulator): add new vehicle model with falling down (autowarefoundation#7651)

* add new vehicle model

Signed-off-by: Yuki Takagi <[email protected]>

* refactor(vehicle_cmd_gate)!: delete rate limit skipping function for vehicle departure (autowarefoundation#7720)

* delete a fucntion block. More appropriate function can be achieved by the parameter settings.
* add notation to readme
---------
Signed-off-by: Yuki Takagi <[email protected]>

* feat(pid_longitudinal_controller): re-organize diff limit structure and fix state change condition (autowarefoundation#7718)

change diff limit structure
change stopped condition
define a new param

Signed-off-by: Yuki Takagi <[email protected]>

---------

Signed-off-by: Yuki Takagi <[email protected]>
esteve pushed a commit to esteve/autoware.universe that referenced this pull request Aug 13, 2024
…vehicle departure (autowarefoundation#7720)

* delete a fucntion block. More appropriate function can be achieved by the parameter settings.
* add notation to readme
---------
Signed-off-by: Yuki Takagi <[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) 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
None yet
Development

Successfully merging this pull request may close these issues.

2 participants