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

Fix jog arm integrationtest CI / array out-of-bounds #1466

Merged
merged 4 commits into from
May 19, 2019

Conversation

jschleicher
Copy link
Contributor

@jschleicher jschleicher commented May 15, 2019

Description

Drop hard-coded plain c array and directly add Eigen vectors without loop
and start from non-singular robot state. This fixes the travis CI integration test.

Checklist

and re-enable jog-arm integrationtest
drop hard-coded plain c array and directly add Eigen vectors without loop
and start from non-singular robot state

Fixes moveit#1435
@jschleicher
Copy link
Contributor Author

@AndyZe please review.

Copy link
Member

@AndyZe AndyZe left a comment

Choose a reason for hiding this comment

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

Thanks! I verified that jogging still works and the tests still pass locally, too. I thought this issue would be more difficult to fix than this.

delta_x[3] = vector_toward_singularity[3] / scale;
delta_x[4] = vector_toward_singularity[4] / scale;
delta_x[5] = vector_toward_singularity[5] / scale;
delta_x = vector_toward_singularity / scale;
Copy link
Member

Choose a reason for hiding this comment

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

That's a nice simplification

@jschleicher jschleicher force-pushed the fix/jog_arm_integrationtest_5 branch from 41a6d29 to 6861aec Compare May 16, 2019 14:33
@jschleicher
Copy link
Contributor Author

this issue would be more difficult to fix than this.

It was still hard enough to track down.

@BryceStevenWilley BryceStevenWilley added the awaits 2nd review one maintainer approved this request label May 19, 2019
Copy link
Contributor

@rhaschke rhaschke left a comment

Choose a reason for hiding this comment

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

Thanks for fixing the test.

@rhaschke rhaschke merged commit 9f3773d into moveit:master May 19, 2019
@jschleicher jschleicher deleted the fix/jog_arm_integrationtest_5 branch May 20, 2019 09:43
@tylerjw tylerjw mentioned this pull request May 8, 2020
20 tasks
tylerjw pushed a commit to PickNikRobotics/moveit that referenced this pull request May 12, 2020
* rename .test launch file and re-enable jog-arm integration test
* fix array out-of-bounds access
  drop hard-coded plain c array and directly add Eigen vectors without loop
* start from non-singular robot state
tylerjw pushed a commit to PickNikRobotics/moveit that referenced this pull request May 20, 2020
* rename .test launch file and re-enable jog-arm integration test
* fix array out-of-bounds access
  drop hard-coded plain c array and directly add Eigen vectors without loop
* start from non-singular robot state
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
awaits 2nd review one maintainer approved this request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants