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

[velocity_smoother] Setting max_accel to negative flips sign of output #3520

Closed
Aposhian opened this issue Mar 30, 2023 · 6 comments
Closed

Comments

@Aposhian
Copy link
Contributor

Aposhian commented Mar 30, 2023

Bug report

Required Info:

Steps to reproduce issue

Set

velocity_smoother:
  ros__parameters:
    min_velocity: [0.0, 0.0, -1.0]
    max_accel: [-1.0, 0.0, 0.0]

Expected behavior

Error to be thrown?

Actual behavior

Positive commanded velocity results in negative smoothed velocity, ignoring velocity limits
image

Additional information

I think there are two action items here:

  • apply max and min limits last
  • throw if signs on accel, decel don't make sense, on both configure, and dynamic parameters callback
@SteveMacenski
Copy link
Member

Sure, seems reasonable. I look forward to the PR :-)

@SteveMacenski
Copy link
Member

@Aposhian any update?

@Aposhian
Copy link
Contributor Author

Aposhian commented Jun 7, 2023

Sorry, fixing this hasn't been a priority for us, and likely won't be for some time.

@SteveMacenski
Copy link
Member

SteveMacenski commented Jun 7, 2023

OK, I'll add to the queue to work on this quarter. It seems easy enough for me to do

@SteveMacenski
Copy link
Member

In progress

@SteveMacenski
Copy link
Member

#3731 Resolves

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants