-
Notifications
You must be signed in to change notification settings - Fork 26
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
Transformer readability and visualization world frame selection #50
base: master
Are you sure you want to change the base?
Conversation
# Conflicts: # src/TransformerGraph.cpp
…ting transparency
@@ -7,3 +7,9 @@ rock_testsuite(testGUI suite.cpp testWidget.cpp | |||
rock_testsuite(testCore suite.cpp testTransformerGraph.cpp | |||
DEPS vizkit3d | |||
LIBS ${Boost_THREAD_LIBRARY} ${Boost_SYSTEM_LIBRARY}) | |||
|
|||
rock_executable(vizkit3d-bin NOINSTALL | |||
SOURCES vizkit3d.cpp |
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 is just for testing purposes but not unit tests.. maybe should be removed, maintainer should decide
@@ -0,0 +1,46 @@ | |||
#include "../src/Vizkit3DWidget.hpp" |
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 is just for testing purposes but not unit tests.. maybe should be removed, maintainer should decide
I tried it out and it looks good to me. I was a little confused why there is a new property "transformerRootFrame" instead of using the existend "frame". I always thought "frame" should be the visualization root. With this new setup one has to be extra careful not to use world_osg anymore, which unfortunately is the default for everything. How do you decide what is the default for transformerRootFrame? Probably should be world_osg to stay consistent with previous behavior? I also get a lot of messages like this from the rock-display console, which might or might not be related to this PR:
|
The 'frame' property is assoviated to the "Frame"-Manipulator, i.e. the camera controller and afaik not at all to the transformer.
I didn't change anything on the behaviour how world_osg is selected initially. But instead added a way to manually change the default selection of 'world_osg'. Practically, if you select 'frame_a' as 'trasnformerRootFrame' that means that 'frame_a' becomes the new 'world_osg'. Do you still think there's need to change the bahavior? What would be more favorable?
Don't know if its related. Can you kind of narrow down when this occurs (minimal steps to reproduce)? |
Good question. The thing is when I loaded the Robdekon-Sim, the visualization was like 90° rotated, because it selected one of Sherpa's arm joints as transformerRootFrame. So maybe we can initially choose one of the frames that have no parent? I don't think it's super important, but it might save you setting the parameter in many cases and people will probably be confused when their visualization suddenly is rotated unless they set this new parameter. |
Hello Malte, I am facing an issue with opening vizkit3d visualizations from rock-display. If I open any rock plugin like plot2d etc tthen it works. However, none of vizkit3d visualizations work. Vizkit3d visualizations started via ruby scripts still work. The only problem is when they are opened via rock-display. The vizkit3d widget window opens for a few seconds and then crashes with the following error.
|
…ns (e.g. Ubuntu 18.04) don't have this function
The discussion points raised by @skasperski and @haider8645 are not sorted out. Without an update on that (i.e. more testing and validating of falsifying the issues) I'd not consider it as ready |
Then I'll merge the other PR, I guess you'll have to resolve the conflict then along solving the other issues |
Adds: