-
Notifications
You must be signed in to change notification settings - Fork 277
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
Plotting Components Plugin #270
Conversation
Signed-off-by: AmrElsersy <[email protected]>
Signed-off-by: AmrElsersy <[email protected]>
Signed-off-by: AmrElsersy <[email protected]>
Signed-off-by: AmrElsersy <[email protected]>
Signed-off-by: AmrElsersy <[email protected]>
Signed-off-by: AmrElsersy <[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.
This is working great, well done! I just have some minor comments, but the functionality is ✨
Signed-off-by: AmrElsersy <[email protected]>
Signed-off-by: AmrElsersy <[email protected]>
Signed-off-by: AmrElsersy <[email protected]>
Signed-off-by: AmrElsersy <[email protected]>
Signed-off-by: AmrElsersy <[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.
Features worked really well. Just a small comment. After it's resolved then I think this PR will be ready.
$ ign gazebo levels.sdf
free(): invalid pointer
invalid pointer
warning upon shutdown. I believe this is introduced by the plotting.cc/hh
code after cross comparing with the master branch and testing the ComponentInspector
code only.
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, just have comments on some implementation details.
Signed-off-by: AmrElsersy <[email protected]>
Signed-off-by: AmrElsersy <[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.
There are some code checker issues 😉 Be sure to run tools/code_check.sh
./src/gui/plugins/plotting/Plotting.cc:20: Found C++ system header after other header. Should be: Plotting.h, c system, c++ system, other. [build/include_order] [4]
./src/gui/plugins/plotting/Plotting.cc:395: Redundant blank line at the end of a code block should be deleted. [whitespace/blank_line] [3]
./src/gui/plugins/plotting/Plotting.hh:126: Lines should be <= 80 characters long [whitespace/line_length] [2]
./src/gui/plugins/plotting/Plotting.hh:153: Add #include <memory> for unique_ptr<> [build/include_what_you_use] [4]
Signed-off-by: AmrElsersy <[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.
Working for me! I pushed some minor changes on 095b1fe related to smart pointers and adding the plugin name.
Also opened gazebosim/gz-gui#125 with a few more tweaks.
Good to merge once CI is happy and @claireyywang has also approved.
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.
LGTM!
A plugin for handling Components Plotting that uses PlottingInterface
this includes
Making the ComponentInspector plugin items are dragable to be dragged into the plotting interface
Making a gazebo-plugin to handle charts subscription to that components and updates the plotting interface
This class diagram shows the design and the integration between it and plotting interface