Closed osrf-migration closed 5 years ago
Original comment by Til Hoff (Bitbucket: turakar).
Ok, this seems to be related to this merged PR. This proposes to use this fork of DART. I did not yet had a chance to test this, but if this would fix the issue, some documentation or merging the changes upstream (my personal favourite) would help others compiling. This would also mean that compilation on other platforms (e.g. using official packages like Ubuntu) are broken.
Original comment by Til Hoff (Bitbucket: turakar).
Switching to azeey/dart/friction_per_shape_more_params
solves the errors related to friction params, but not those related to ai_real
.
Original comment by Til Hoff (Bitbucket: turakar).
Thanks for your information, it compiles. I will close this issue now.
I also ran into compilation problems with the latest DART 6.10.1 release and the latest ig-physics 4.1.0:
dartsim/src/SDFFeatures.cc: In member function ‘virtual ignition::physics::Identity ignition::physics::dartsim::SDFFeatures::ConstructSdfCollision(const ignition::physics::Identity&, const sdf::v11::Collision&)’:
dartsim/src/SDFFeatures.cc:821:15: error: ‘class dart::dynamics::DynamicsAspect’ has no member named ‘setSlipCompliance’; did you mean ‘setPrimarySlipCompliance’?
aspect->setSlipCompliance(odeFriction->Get<double>("slip1"));
^~~~~~~~~~~~~~~~~
setPrimarySlipCompliance
dartsim/src/ShapeFeatures.cc: In member function ‘virtual double ignition::physics::dartsim::ShapeFeatures::GetShapeFrictionPyramidPrimarySlipCompliance(const ignition::physics::Identity&) const’:
dartsim/src/ShapeFeatures.cc:472:18: error: ‘class dart::dynamics::DynamicsAspect’ has no member named ‘getSlipCompliance’; did you mean ‘getPrimarySlipCompliance’?
return aspect->getSlipCompliance();
^~~~~~~~~~~~~~~~~
getPrimarySlipCompliance
dartsim/src/ShapeFeatures.cc: In member function ‘virtual bool ignition::physics::dartsim::ShapeFeatures::SetShapeFrictionPyramidPrimarySlipCompliance(const ignition::physics::Identity&, double)’:
dartsim/src/ShapeFeatures.cc:508:11: error: ‘class dart::dynamics::DynamicsAspect’ has no member named ‘setSlipCompliance’; did you mean ‘setPrimarySlipCompliance’?
aspect->setSlipCompliance(_value);
^~~~~~~~~~~~~~~~~
setPrimarySlipCompliance
I also ran into compilation problems with the latest DART 6.10.1 release and the latest ig-physics 4.1.0:
dartsim/src/SDFFeatures.cc: In member function ‘virtual ignition::physics::Identity ignition::physics::dartsim::SDFFeatures::ConstructSdfCollision(const ignition::physics::Identity&, const sdf::v11::Collision&)’: dartsim/src/SDFFeatures.cc:821:15: error: ‘class dart::dynamics::DynamicsAspect’ has no member named ‘setSlipCompliance’; did you mean ‘setPrimarySlipCompliance’? aspect->setSlipCompliance(odeFriction->Get<double>("slip1")); ^~~~~~~~~~~~~~~~~ setPrimarySlipCompliance dartsim/src/ShapeFeatures.cc: In member function ‘virtual double ignition::physics::dartsim::ShapeFeatures::GetShapeFrictionPyramidPrimarySlipCompliance(const ignition::physics::Identity&) const’: dartsim/src/ShapeFeatures.cc:472:18: error: ‘class dart::dynamics::DynamicsAspect’ has no member named ‘getSlipCompliance’; did you mean ‘getPrimarySlipCompliance’? return aspect->getSlipCompliance(); ^~~~~~~~~~~~~~~~~ getPrimarySlipCompliance dartsim/src/ShapeFeatures.cc: In member function ‘virtual bool ignition::physics::dartsim::ShapeFeatures::SetShapeFrictionPyramidPrimarySlipCompliance(const ignition::physics::Identity&, double)’: dartsim/src/ShapeFeatures.cc:508:11: error: ‘class dart::dynamics::DynamicsAspect’ has no member named ‘setSlipCompliance’; did you mean ‘setPrimarySlipCompliance’? aspect->setSlipCompliance(_value); ^~~~~~~~~~~~~~~~~ setPrimarySlipCompliance
this should be fixed by #249
Original report (archived issue) by Til Hoff (Bitbucket: turakar).
Description
Ignition cannot be compiled because ign-physics fails.
Steps to reproduce
Expected behaviour
ign-physics compiles successfully.
Actual behaviour
Compilation gives errors:
Versions