Skip to content
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

Make breadcrumb model static after specified time #410

Merged
merged 1 commit into from
May 13, 2020

Conversation

iche033
Copy link
Contributor

@iche033 iche033 commented Apr 30, 2020

depends on ignition-gazebo pull request #90

Add disable_physics_time param to breadcrumb plugin that turns the breadcrumb model static after ~3 sim time seconds. A static entity is created when the model becomes static, and that indicates to the comms broker that it should update its visibility graph.

You should see output similar to this:

[Msg] Deploying X1__breadcrumb___0 at 3.55 5 0.13228 0 0 0
[Dbg] [EntityComponentManager.cc:627] Using components of type [285520019272511910] / [ign_gazebo_components.DetachableJoint].
[Msg] Breadcrumb 'X1__breadcrumb___0' is now static.
[Dbg] [Physics.cc:864] Creating detachable joint [729]
[GUI] [Dbg] [EntityComponentManager.cc:627] Using components of type [285520019272511910] / [ign_gazebo_components.DetachableJoint].
[Msg] New breadcrumb detected, visibility graph updated

Signed-off-by: Ian Chen [email protected]

@iche033 iche033 requested review from azeey and nkoenig April 30, 2020 00:36
@nkoenig nkoenig changed the base branch from breadcrumb_models to cave_feature_release1 May 13, 2020 12:12
@nkoenig nkoenig merged commit 5541b2b into cave_feature_release1 May 13, 2020
@nkoenig nkoenig deleted the breadcrumbs_static branch May 13, 2020 12:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants