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

Add JointModel::satisfiesAccelerationBounds() #2092

Merged
merged 4 commits into from
Apr 13, 2023

Conversation

AndyZe
Copy link
Member

@AndyZe AndyZe commented Apr 7, 2023

Description

This is a port of this MoveIt1 PR: moveit/moveit#3396

We already have versions for satisfiesPositionBounds() and satisfiesVelocityBounds(), why not Acceleration and Jerk too?

@AndyZe AndyZe marked this pull request as draft April 7, 2023 12:53
Comment on lines +121 to +124
if (!other_bounds[i].velocity_bounded_)
{
continue;
}
Copy link
Member Author

Choose a reason for hiding this comment

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

Not having this previously was a bug

@AndyZe AndyZe marked this pull request as ready for review April 7, 2023 13:45
@codecov
Copy link

codecov bot commented Apr 7, 2023

Codecov Report

Patch coverage: 7.15% and project coverage change: +0.06 🎉

Comparison is base (ac10495) 50.84% compared to head (879f4cb) 50.89%.

❗ Current head 879f4cb differs from pull request most recent head 7723c25. Consider uploading reports for the commit 7723c25 to get more accurate results

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2092      +/-   ##
==========================================
+ Coverage   50.84%   50.89%   +0.06%     
==========================================
  Files         391      391              
  Lines       32150    32140      -10     
==========================================
+ Hits        16343    16355      +12     
+ Misses      15807    15785      -22     
Impacted Files Coverage Δ
...bot_model/include/moveit/robot_model/joint_model.h 82.90% <ø> (ø)
moveit_core/robot_model/src/joint_model.cpp 55.77% <7.15%> (-1.97%) ⬇️

... and 8 files with indirect coverage changes

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@sjahr sjahr enabled auto-merge (squash) April 13, 2023 09:33
@sjahr sjahr merged commit 884813d into moveit:main Apr 13, 2023
mechwiz pushed a commit to mechwiz/moveit2 that referenced this pull request May 18, 2023
* Add JointModel::satisfiesAccelerationBounds()

* Check Jerk bounds too

* Check if bounds exist

---------

Co-authored-by: Sebastian Jahr <sebastian.jahr@picknik.ai>
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.

None yet

2 participants