-
Notifications
You must be signed in to change notification settings - Fork 51
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 gazebo scene viewer build #289
Conversation
Signed-off-by: Ian Chen <[email protected]>
Signed-off-by: Ian Chen <[email protected]>
Codecov Report
@@ Coverage Diff @@
## main #289 +/- ##
=======================================
Coverage 57.54% 57.54%
=======================================
Files 159 159
Lines 15590 15590
=======================================
Hits 8971 8971
Misses 6619 6619 Continue to review full report at Codecov.
|
double z = capsuleMsg.length(); | ||
_parent->SetLocalScale(x, y, z); | ||
_parent->AddGeometry(capsule); | ||
// \todo(anyone) needs gazebo capsule msg |
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.
This package should use ign-msgs7
and the message it's there https://github.com/ignitionrobotics/ign-msgs/blob/main/proto/ignition/msgs/geometry.proto
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.
the errors are actually related to gazebo::msgs
(we have these msgs in ignition but not in gazebo). I think we would need to add the cone and capsule msgs in gazebo: https://github.com/osrf/gazebo/tree/gazebo11/gazebo/msgs
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.
I created an issue #293
@@ -1833,12 +1835,13 @@ void SubSceneManager::CreateGeometryFunctionMap() | |||
this->geomFunctions[gazebo::msgs::Geometry::BOX] = | |||
&SubSceneManager::ProcessBox; | |||
|
|||
// TODO(anyone): enable when cone protobuf msg created | |||
// todo(anyone): enable when cone protobuf msg is created |
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.
The Cone msg is there too https://github.com/ignitionrobotics/ign-msgs/blob/main/proto/ignition/msgs/geometry.proto#L74
Signed-off-by: Ian Chen <[email protected]> Co-authored-by: Alejandro Hernández Cordero <[email protected]> Signed-off-by: Ian Chen <[email protected]>
Summary
Fixes compile errors:
Status
definitiongazebo::msgs::Capsule
msg type so commented out code for creating capsules.Note The demo segfaults at run time. This does not happen in ign-rendering4. Ticketed #290
Checklist
codecheck
passed (See contributing)Note to maintainers: Remember to use Squash-Merge