-
Notifications
You must be signed in to change notification settings - Fork 766
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
[Noetic] Added Ignition common profiler to gazebo_plugins #1139
Conversation
Signed-off-by: ahcorde <ahcorde@gmail.com>
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.
works for me. Just one minor typo.
this->PutCameraData(_image, sensor_update_time); | ||
IGN_PROFILE_END(); | ||
IGN_PROFILE_BEGIN("PutCameraData"); |
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.
PublishCameraInfo
Signed-off-by: ahcorde <ahcorde@gmail.com>
This test is failing |
looks like that test also failed before. Could be flaky |
@ahcorde is there a reason why this was not added to ROS Melodic? |
@eborghi10 not really, I will be happy to review a the PR if you want to contribute |
@ahcorde, thanks for answering quickly. I tried to make it work yesterday but I didn't see the information from the new plugins in the Profiler so I wondered if it's related to how At least for now, I opened a PR in Gazebo to use the profiler since it wasn't being installed from source: gazebosim/gazebo-classic#3032. I'll try next week to create a PR with the changes. It shouldn't be hard. |
…tion#1139) * Added Ignition common profiler Signed-off-by: ahcorde <ahcorde@gmail.com> * Fixed typo Signed-off-by: ahcorde <ahcorde@gmail.com>
This PR is related to this other in Gazebo gazebosim/gazebo-classic#2776
It will allow to profile the methods in
gazebo_plugins
which are called periodicallyTo compile with the profile enable you need add this option
-DENABLE_PROFILER=1
. For example:Signed-off-by: ahcorde ahcorde@gmail.com