-
Notifications
You must be signed in to change notification settings - Fork 324
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
[JTC] Segmentation fault with action tests #688
Comments
After reverting 9ce288b the segmentation fault does not occur any more (which still doesn't mean that the error doesn't lie somewhere else) |
I narrowed it down to #682 changed the condition of the if-branch, this is why it doesn't segfault before because
So the questions are:
|
Apologies for introducing the segfault, we didn't encounter it on our end since we don't use effort control, not sure how it squeezed by the tests. The reasoning for the if statement change was to catch the new case introduced by #565 where the trajectory pointer is set to null upon successful execution. In that case, it doesn't make sense to continuously "replay" the final I naively applied that same reasoning to effort and didn't check the desired vector size. My b. A fix to #514 and #671 that reverts the behavior to continuously commanding the final waypoint as the PID setpoint would make #682 irrelevant anyway. |
We decided in the last WG meeting to reject incoming trajectory messages having effort entries for now. If someone needs this, we have to discuss how to interpolate effort. |
Describe the bug
Included with #607, the action tests get activated again. But with the latest changes to the master branch, the tests fail with a segmentation fault.
Before the rebase from @bmagyar today everything was fine. Might this be a result of #682?
Locally I get the following stack trace:
To Reproduce
Steps to reproduce the behavior:
1.Checkout #607
2. Run
colcon test --packages-select joint_trajectory_controller
Environment (please complete the following information):
The text was updated successfully, but these errors were encountered: