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

Acceleration ramping math needs to be checked/tuned #2

Open
Winter-Guerra opened this issue Feb 28, 2017 · 4 comments
Open

Acceleration ramping math needs to be checked/tuned #2

Winter-Guerra opened this issue Feb 28, 2017 · 4 comments
Assignees

Comments

@Winter-Guerra
Copy link
Contributor

Because stopping right now is really slow. Probably because the RPMs are hitting some max.

Alternatively, apply different gain on accel and deccel.

@Winter-Guerra Winter-Guerra self-assigned this Feb 28, 2017
@mboulet
Copy link
Contributor

mboulet commented Feb 28, 2017

We discovered this during IAP and had students remove the trapezoidal velocity filter. Command shaping should be done in the node that generates the command so that the node can properly model it.

@Winter-Guerra
Copy link
Contributor Author

I disagree. The VESC should have a max_acceleration that it can handle and it should obey it regardless of whether the user specifies it or not. Otherwise, bad behavior happens. For example, I've seen the VESC give up during braking and allow a car to coast into a wall at full speed because the VESC driver did not obey its own limits.

If the user wants to model the acceleration using Odom or a mathematical model, that's ok. But that should not be a prereq for having repeatable braking behavior.

@mboulet
Copy link
Contributor

mboulet commented Feb 28, 2017

Is vesc is commanded to zero velocity and "gives up", then that issue should be directly diagnosed and addressed rather than creating a command shaper to mask the underelying problem.

@ArtlyStyles
Copy link

I found similar problem. When the car is running at about 15mph, I have problem to stop immediately. It will slow down but continue rolling. What configure should I change?

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

No branches or pull requests

3 participants