-
Notifications
You must be signed in to change notification settings - Fork 44
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 "ChangedWorldPose" to ForwardStep::Output's expected data #238
Conversation
1890cb0
to
9ad0446
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@azeey, just a few questions for you about the implementation.
Codecov Report
@@ Coverage Diff @@
## main #238 +/- ##
=======================================
Coverage 83.15% 83.15%
=======================================
Files 107 107
Lines 4221 4221
=======================================
Hits 3510 3510
Misses 711 711
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
Signed-off-by: Ashton Larkin <ashton@openrobotics.org>
89fcada
to
78b8ec0
Compare
Signed-off-by: Ashton Larkin ashton@openrobotics.org
🎉 New feature
Related to #223
Possible solution for #219
Summary
#223 added functionality to DART and TPE to write changed link data from an iteration to
ForwardStep::Output
so that downstream libraries likeign-gazebo
can use this data for more efficient post-physics processing/updates (gazebosim/gz-sim#678). In order for downstream libraries to make this functionality optional, the changed link data that is written to by DART and TPE must be of typeExpectedData
instead ofRequiredData
(that way, downstream libraries can see if this data was actually written to or not). This PR makes this change.Test it
Using this PR with gazebosim/gz-sim#678, users can run the
ign-gazebo
physics system integration test. This will use the output link data thatign-physics
writes to in order to update the simulation state inign-gazebo
. All checks in the integration test should pass.Users can then check out DART and TPE before these engines were modified to write output data (commit 109de85):
Re-run the physics integration test. This will use data internal to
ign-gazebo
(a local link pose cache in combination with the EntityComponentManager) to update the simulation state. All checks in the integration test should pass.If you'd like to verify that the steps I described above use both data written to from
ign-physics
and data internal toign-gazebo
, you can add some print statements in eachif
/else
block here to see what is being called.Checklist
codecheck
passed (See contributing)Note to maintainers: Remember to use Squash-Merge