-
Notifications
You must be signed in to change notification settings - Fork 938
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 plot details, correcting xlabels positions and cleaning the graph #1658
Conversation
Thanks for helping in improving MoveIt |
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.
Hi there,
thank you for taking the time to file a pull-request for this. Could you please address my feedback?
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.
Looks good to me, I approve.
For scientific publications you should setup your own plots (fitting to your paper), but it does look a bit nicer.
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.
@KaikeWesleyReis, looks like your fixup commit messed up with indentation. I pushed another fixup commit - please have a look.
I also re-enabled displaying the number of failed attempts. While you might not want to see those figures in your plot, they might be important for others.
I don't quite understand, why your after image has so much less bars than your before image?
If you changed the benchmark config, the plots become not comparable. Please update the plots.
Finally, I don't really like the change of rotation from 30 to 45 degrees. Less rotation is usually easier to read. However, I definitely would appreciate if you could right-align the labels to the bars. Now, they are centered on the bars, which is confusing when there are many bars and labels.
Well, sorry for this part. I reviewed my code and it's indentation in my remote, I will do another commit and if continues this problem, please say how can I get your commit to my fork.
This number appears in all graphs, but there is a specific graph that is exactly this info (solved): So besides the "clean view" as I said before, plotting this value in all graphs would be a over information that I don't think that is necessary.
Sorry, because I used other db for the second plot. Here is a complete plot (but is not the same data, but with the same planners). PS: You will notice a 90 degrees rotation.
This situation is a bit complex. For example, with a 90 degree rotation you can see that particular bar belongs to that planner. However at 30 degrees it is more complicated to figure out who belongs to whom, because the plot labels shifts to the right (as you can see in the first image from this PR). EDIT: Well, I followed what you said and this would be the results (30 degrees, ha='right'). Is this ok to you ? I will wait for further instructions to change my code. Best regards, |
I already pushed a fixing commit to your fork. You just need to pull it.
I see. In this case, I agree with you. Please feel free to revert to your initial version.
This looks great! Please push this. |
@rhaschke I got your commit and made the changes in this new commit. Please, feel free to test and give a feedback. |
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.
Thanks a lot for iterating on this. Looks good now.
@v4hn, should we accept this for kinetic? If so, it needs to be forward-ported to melodic and master.
Congrats on getting your first MoveIt pull request merged and improving open source robotics! |
Description
Correcting minor issues in plot results from moveit_benchmark_statistics.py. This changes was made to increase the graphical potencial from this tool to papers plots (This solution first came for a publication that I came with, using moveit benchmarking).
Checklist
Plot Example
Before
After
OBS This is my first contribution to a project in github, any issue or anything please respond this request.
Best regards,