Skip to content

Fix endpoint discontinuity in LimitCompensation test#50

Closed
AndyZe wants to merge 3 commits into
remove_excessive_deriv_calcsfrom
debug_endpoint_discontinuity
Closed

Fix endpoint discontinuity in LimitCompensation test#50
AndyZe wants to merge 3 commits into
remove_excessive_deriv_calcsfrom
debug_endpoint_discontinuity

Conversation

@AndyZe

@AndyZe AndyZe commented Apr 22, 2020

Copy link
Copy Markdown
Contributor

This was caused by the wrong sign on delta_v. See the TrackPose version here, L149:

https://github.com/PickNikRobotics/trackpose/blob/master/trackpose_matlab/src/limit_compensation/ForwardLimitCompensation.m

The straight line on the graph is what we want to see, it means limit compensation is modifying the shape of the curve to compensate for upcoming limits. It turns into a straight line because of the velocity limit.

LimitCompensation_positions

@AndyZe AndyZe requested a review from nbbrooks April 22, 2020 20:40
@AndyZe AndyZe changed the base branch from master to remove_excessive_deriv_calcs April 22, 2020 20:46
* Add a low-level unit test for BackwardLimitCompensation

* Add a negative version of the same test

* Move test implementation to cpp file

* Delete a redundant save

* Clang

* Clang tidy

* Clang

* Move runBackwardLimitCompensationTest into test fixture

* Check success

Co-authored-by: Nathan Brooks <nathanbrooks@picknik.ai>
@AndyZe

AndyZe commented Jun 30, 2020

Copy link
Copy Markdown
Contributor Author

superseded by #58

@AndyZe AndyZe closed this Jun 30, 2020
@AndyZe AndyZe deleted the debug_endpoint_discontinuity branch November 23, 2021 18:46
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

Successfully merging this pull request may close these issues.

1 participant