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(vehicle_cmd_gate): improve control command filter to prevent sudden acc and steer #948

Merged
merged 4 commits into from
Oct 17, 2023

Conversation

TakaHoribe
Copy link

@TakaHoribe TakaHoribe commented Oct 16, 2023

Description

Cherry-pick PRs for steering and acceleration limit in vehicle_cmd_gate filter.

Tests performed

psim

Effects on system behavior

steering and acceleration are limited in the given parameters.

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.

TakaHoribe and others added 4 commits October 16, 2023 15:36
autowarefoundation#4599)

* feat(vehicle_cmd_gate): variable filter limits for different vehicle speed

Signed-off-by: Takamasa Horibe <[email protected]>

* add steer diff test

Signed-off-by: Takamasa Horibe <[email protected]>

* add node test for vehicle_cmd_gate

Signed-off-by: Takamasa Horibe <[email protected]>

* update

Signed-off-by: Takamasa Horibe <[email protected]>

* update

Signed-off-by: Takamasa Horibe <[email protected]>

* update readme

Signed-off-by: Takamasa Horibe <[email protected]>

* add is_filter_activated msg

Signed-off-by: Takamasa Horibe <[email protected]>

* update

Signed-off-by: Takamasa Horibe <[email protected]>

* update is_activate for each field

Signed-off-by: Takamasa Horibe <[email protected]>

* update

Signed-off-by: Takamasa Horibe <[email protected]>

* Update control/vehicle_cmd_gate/src/vehicle_cmd_filter.cpp

* add function test for interpolation

Signed-off-by: Takamasa Horibe <[email protected]>

* fix format

Signed-off-by: Takamasa Horibe <[email protected]>

* remove unused file

Signed-off-by: Takamasa Horibe <[email protected]>

* add missing depend

Signed-off-by: Takamasa Horibe <[email protected]>

---------

Signed-off-by: Takamasa Horibe <[email protected]>
* feat: add marker of cmd gate filter

Signed-off-by: tomoya.kimura <[email protected]>

* feat: add sphere marker

Signed-off-by: tomoya.kimura <[email protected]>

* misc

Signed-off-by: tomoya.kimura <[email protected]>

---------

Signed-off-by: tomoya.kimura <[email protected]>
…warefoundation#4918)

* fix(vehicle_cmd_gate): use real velocity for the lateral filter

Signed-off-by: Takamasa Horibe <[email protected]>

* fix test

Signed-off-by: Takamasa Horibe <[email protected]>

---------

Signed-off-by: Takamasa Horibe <[email protected]>
…ndation#5044)

* feat(vehicle_cmd_gate): add steering angle and rate filter

Signed-off-by: Takamasa Horibe <[email protected]>

* update test

Signed-off-by: Takamasa Horibe <[email protected]>

---------

Signed-off-by: Takamasa Horibe <[email protected]>
@github-actions github-actions bot added documentation Improvements or additions to documentation control labels Oct 16, 2023
@TakaHoribe TakaHoribe marked this pull request as draft October 16, 2023 08:31
@TakaHoribe TakaHoribe marked this pull request as ready for review October 16, 2023 17:36
Copy link
Collaborator

@tkimura4 tkimura4 left a comment

Choose a reason for hiding this comment

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

LGTM

@tkimura4 tkimura4 merged commit 9c502df into beta/v0.10.3 Oct 17, 2023
16 checks passed
@tkimura4 tkimura4 deleted the xx1-cp-vehicle-cmd-gate-filter branch October 17, 2023 00:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
control documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants