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

Dynamic obstacles in ignition (e.g. walking pedestrian) #1053

Open
marc-wittwer opened this issue Jun 23, 2022 · 1 comment
Open

Dynamic obstacles in ignition (e.g. walking pedestrian) #1053

marc-wittwer opened this issue Jun 23, 2022 · 1 comment

Comments

@marc-wittwer
Copy link

marc-wittwer commented Jun 23, 2022

I'm trying to find a way to add walking pedestrians to gazebo ignition via sending external position updates via a script.

I found the terminal command to interact with the ign services /set_pose:

ign service -s /world/my_world/set_pose --reqtype ignition.msgs.Pose --reptype ignition.msgs.Boolean --timeout 300 --req 'name: "spawned_model", position: {z: 5.0}'

However, by sending these /set_pose commands very frequently the performance of ignition drops to a real time factor of 2%.

Is there a way to set of the position more frequently without the performance loss?

@marc-wittwer
Copy link
Author

I found that there are actors in ignition which can follow predefined paths.
https://gazebosim.org/docs/citadel/actors

However, this path is not changeable during runtime.

image

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

No branches or pull requests

1 participant