-
Notifications
You must be signed in to change notification settings - Fork 276
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
Added VisualizationCapabilities plugin #988
Conversation
Signed-off-by: ahcorde <[email protected]>
Signed-off-by: ahcorde <[email protected]>
Codecov Report
@@ Coverage Diff @@
## main #988 +/- ##
==========================================
- Coverage 63.28% 63.23% -0.05%
==========================================
Files 238 238
Lines 19423 19423
==========================================
- Hits 12292 12283 -9
- Misses 7131 7140 +9
Continue to review full report at Codecov.
|
Signed-off-by: ahcorde <[email protected]>
Signed-off-by: ahcorde <[email protected]>
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 tried to view collisions for a double pendulum and it crashed with:
[GUI] [Err] [VisualizationCapabilities.cc:1005] Entity with Id: [12] already exists in the scene
backtrace
/home/chapulina/dev_bionic/ws_fortress/install/lib/ign-gazebo-6/plugins/gui/libVisualizationCapabilities.so(_ZN8ignition6gazebo32Visualizati
onCapabilitiesPrivate8OnRenderEv+0x111c) [0x7fdd46038c4c] /usr/include/c++/8/bits/shared_ptr_base.h:1019
/home/chapulina/dev_bionic/ws_fortress/install/lib/ign-gazebo-6/plugins/gui/libVisualizationCapabilities.so(_ZN8ignition6gazebo25Visualizati
onCapabilities11eventFilterEP7QObjectP6QEvent+0x32) [0x7fdd46039262] /home/chapulina/dev_bionic/ws_fortress/src/ign-gazebo/src/gui/plugins/v
isualization_capabilities/VisualizationCapabilities.cc:1973
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5(_ZN23QCoreApplicationPrivate29sendThroughObjectEventFiltersEP7QObjectP6QEvent+0x7c) [0x7fdd85bd45b
c]
/usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5(_ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent+0x75) [0x7fdd84a2c815]
/usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5(_ZN12QApplication6notifyEP7QObjectP6QEvent+0x2a4) [0x7fdd84a34104]
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5(_ZN16QCoreApplication15notifyInternal2EP7QObjectP6QEvent+0x118) [0x7fdd85bd48d8]
/home/chapulina/dev_bionic/ws_fortress/install/lib/ign-gui-6/plugins/libMinimalScene.so(_ZN8ignition3gui7plugins11IgnRenderer6RenderEv+0x140
) [0x7fdd683a8500] /usr/include/x86_64-linux-gnu/qt5/QtCore/qcoreapplication.h:233
/home/chapulina/dev_bionic/ws_fortress/install/lib/ign-gui-6/plugins/libMinimalScene.so(_ZN8ignition3gui7plugins12RenderThread10RenderNextEv
+0x48) [0x7fdd683a8e68] /home/chapulina/dev_bionic/ws_fortress/src/ign-gui/src/plugins/minimal_scene/MinimalScene.cc:419
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5(_ZN7QObject5eventEP6QEvent+0xe2) [0x7fdd85c040c2]
/usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5(_ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent+0x9c) [0x7fdd84a2c83c]
/usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5(_ZN12QApplication6notifyEP7QObjectP6QEvent+0x2a4) [0x7fdd84a34104]
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5(_ZN16QCoreApplication15notifyInternal2EP7QObjectP6QEvent+0x118) [0x7fdd85bd48d8]
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5(_ZN23QCoreApplicationPrivate16sendPostedEventsEP7QObjectiP11QThreadData+0x1ed) [0x7fdd85bd704d]
src/gui/plugins/visualization_capabilities/VisualizationCapabilities.hh
Outdated
Show resolved
Hide resolved
src/gui/plugins/visualization_capabilities/VisualizationCapabilities.hh
Outdated
Show resolved
Hide resolved
Signed-off-by: ahcorde <[email protected]>
Fixed here 72cba8f |
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.
It's working for me! I think we just need to add joint visualization (#961)
CC @atharva-18
Signed-off-by: ahcorde <[email protected]>
Signed-off-by: ahcorde <[email protected]>
Signed-off-by: ahcorde <[email protected]>
Signed-off-by: ahcorde <[email protected]>
Signed-off-by: ahcorde <[email protected]>
cpplint is failing but it fixed here #1025 |
Signed-off-by: Louise Poubel <[email protected]>
Signed-off-by: Louise Poubel <[email protected]>
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.
It works!
src/gui/plugins/visualization_capabilities/VisualizationCapabilities.cc
Outdated
Show resolved
Hide resolved
CI is broken for other reasons, let's get this in |
🎉 New feature
Closes #
Summary
This plugin add visualization capabilities such us: wireframes, inertia, COM and transparent to the minimalScene approach.
Note: right click in the scene3D is not working (yet).
Test it
Checklist
codecheck
passed (See contributing)Note to maintainers: Remember to use Squash-Merge