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: update acceleration limit #1181

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@

# stopped state
stopped_vel: 0.0
stopped_acc: -3.4 # denotes pedal position
stopped_acc: -2.49 # denotes pedal position
Copy link
Contributor

Choose a reason for hiding this comment

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

stopped_acc does not denote deceleration value, but denotes pedal position after the stop has achieved.
Hence this change is not required.


# emergency state
emergency_vel: 0.0
Expand All @@ -65,8 +65,8 @@
acc_feedback_gain: 0.0

# acceleration limit
max_acc: 3.0
min_acc: -5.0
max_acc: 1.5
min_acc: -2.49
Copy link
Contributor

Choose a reason for hiding this comment

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

In order to follow the trajectory planned with limit.min_acc and limit.max_acc in the planning params, this values must be greater than planning params. Because we need a margin for disturbance and error.
However, I think we have an option to align these values to the limit.min_acc and limit.max_acc in common.pram.yaml to restrict the feedback control.


# jerk limit
max_jerk: 2.0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

# constraints to be observed
limit:
min_acc: -2.5 # min deceleration limit [m/ss]
min_acc: -2.49 # min deceleration limit [m/ss]
Copy link
Contributor

Choose a reason for hiding this comment

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

This change may be only for Dense Urban ODD.

max_acc: 1.0 # max acceleration limit [m/ss]
min_jerk: -1.5 # min jerk limit [m/sss]
max_jerk: 1.5 # max jerk limit [m/sss]
Loading