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

Bump in edifice: sdformat11 #191

Merged
merged 5 commits into from
Jan 16, 2021
Merged

Bump in edifice: sdformat11 #191

merged 5 commits into from
Jan 16, 2021

Conversation

chapulina
Copy link
Contributor

Signed-off-by: Louise Poubel <[email protected]>
@chapulina chapulina requested a review from azeey January 12, 2021 22:01
@chapulina chapulina requested a review from mxgrey as a code owner January 12, 2021 22:01
@chapulina
Copy link
Contributor Author

chapulina commented Jan 14, 2021

Trying a build with gazebo-tooling/release-tools#375 to see if all tests pass:

Build Status

Edit

☝️ that was wrong, new one:

Build Status

Copy link
Member

@scpeters scpeters left a comment

Choose a reason for hiding this comment

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

I think we just need a prerelease or nightly of libsdformat11-dev for Ubuntu CI to work

Using [TPE](https://github.com/ignitionrobotics/ign-physics/tree/main/tpe),
TPE directly sets model velocity in [VelocityControl.cc](https://github.com/ignitionrobotics/ign-gazebo/blob/ign-gazebo4/src/systems/velocity_control/VelocityControl.cc#L117) code.
Copy link
Member

Choose a reason for hiding this comment

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

note to self: check that these line numbers are still accurate

Copy link
Member

Choose a reason for hiding this comment

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

they aren't, but I'll open an issue for that

Signed-off-by: Louise Poubel <[email protected]>
@codecov
Copy link

codecov bot commented Jan 15, 2021

Codecov Report

Merging #191 (35ce927) into main (da32943) will increase coverage by 0.07%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #191      +/-   ##
==========================================
+ Coverage   83.03%   83.11%   +0.07%     
==========================================
  Files         106      106              
  Lines        3973     3973              
==========================================
+ Hits         3299     3302       +3     
+ Misses        674      671       -3     
Impacted Files Coverage Δ
dartsim/src/EntityManagementFeatures.cc 73.41% <ø> (ø)
dartsim/src/SDFFeatures.cc 68.20% <ø> (+0.86%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update da32943...35ce927. Read the comment docs.

Signed-off-by: Louise Poubel <[email protected]>
Signed-off-by: Louise Poubel <[email protected]>
@@ -117,7 +117,6 @@ static void CopyStandardJointAxisProperties(
const int _index, Properties &_properties,
const ::sdf::JointAxis *_sdfAxis)
{
_properties.mInitialPositions[_index] = _sdfAxis->InitialPosition();
Copy link
Member

Choose a reason for hiding this comment

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

this is deprecated but still functional; so I would keep this line and suppress its deprecation warnings (currently there are test failures because this was removed)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

The test has been fixed. I followed the approach being taken on #189.

I can suppress the warning instead if that's preferred. I'm not sure if there's a new approach to use or if this feature will just disappear when we use SDF 12. SDFormat's migration guide didn't list any replacements. Are we sure we want to remove the feature?

CC @azeey

Copy link
Member

Choose a reason for hiding this comment

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

I think the replacement may be using the <state> element, but until we've articulated that I'd like to keep the feature working, since it is only deprecated at this point, not disabled. I'll add a comment to that effect on #189 as well.

Copy link
Member

Choose a reason for hiding this comment

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

Copy link
Member

Choose a reason for hiding this comment

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

macro to suppress deprecation warnings in gazebosim/gz-utils#5

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Suppressing the warning in a more traditional style while this library doesn't depend on ign-utils yet. I'd like to merge this ASAP to unblock upstream.

35ce927

Signed-off-by: Louise Poubel <[email protected]>
@chapulina chapulina merged commit 6e1a1c5 into main Jan 16, 2021
@chapulina chapulina deleted the bump_edifice_sdformat branch January 16, 2021 07:07
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.

3 participants