-
Notifications
You must be signed in to change notification settings - Fork 98
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
Enable topic statistics for breadcrumbs #742
Conversation
Signed-off-by: Nate Koenig <nate@openrobotics.org>
Build finished. No test results found. |
Signed-off-by: Nate Koenig <nate@openrobotics.org>
Build finished. 15 tests run, 0 skipped, 0 failed. |
Signed-off-by: Nate Koenig <nate@openrobotics.org>
Build finished. 21 tests run, 0 skipped, 0 failed. |
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. Just checking, do we want topic statistics on all models or just a subset? I only counted 10 spawner.rb files in this PR.
@@ -247,6 +247,11 @@ | |||
<value>$LD_LIBRARY_PATH</value> | |||
</env> | |||
|
|||
<env> |
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.
nit: I'm not sure why this launch file has this. Shouldn't it be just in cloudsim_sim.ign?
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 put this here so that the behavior is the same when running locally using this launch file and running in the cloud.
@@ -1,6 +1,8 @@ | |||
<?xml version="1.0"?> | |||
<launch> | |||
|
|||
<env name="IGN_TRANSPORT_TOPIC_STATISTICS" value="1"/> |
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.
Probably not needed here as well.
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 think this is needed in order get topic statistics on bridge, I'll double check.
Signed-off-by: Nate Koenig <nate@openrobotics.org>
Build finished. 15 tests run, 0 skipped, 0 failed. |
This turns on topic statistics for the breadcrumb plugins in order to help address issue #655 .
Requires:
When this is merged and deployed you will see the following in the Ignition Gazebo logs:
Received breadcrumb deployment for X1__breadcrumb__
Dropped message count of N for breadcrumbs on model X1__breadcrumb__
To Test
ign launch -v 4 competition.ign worldName:=simple_cave_01 circuit:=cave robotName1:=X1 robotConfig1:=X1_SENSOR_CONFIG_8
rostopic pub /X1/breadcrumb/deploy std_msgs/Empty
Signed-off-by: Nate Koenig nate@openrobotics.org