-
Notifications
You must be signed in to change notification settings - Fork 276
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
Calling service for getting Actor poses #2377
Comments
Have you tried the |
I believe that works for models entities not actor. I have tried adding it but not running as it asks for model to specified under model tag not actor. |
Referencing issue #2370 the same problem is occurring with me, I can't find a way to access actors poses despite using |
I was thinking to implement some custom plugin to publish both cmd_vel and pose from ros2 and control the actor. Something similar exists for ros1 and gazebo 11 but new headers and classes in ignition gazebo or whatever the version of new gazebo it is a bit confusing. I am trying by taking reference from commamd actor plugin.@Riyadh-kh |
Can we close this as a duplicate of #2370 ? |
Because of the extra context in this ticket, let's keep this is the canonical ticket and close #2370. Any help with the implementation would be greatly appreciated. |
Version: Gazebo Fortress
I am trying to call the service to get the poses of actors in the simulation from command line using
ign service -s /world/actors/state --reqtype ignition.msgs.Actor --reptype ignition.msgs.Actor --timeout -50000 --req 'entity: {name: "demo_actor"}, pose: {}'
But nothing comes up in the terminal after running the above. Am I missing something or is the syntex is wrong? Any help would be much appreciated. @azeey
Requirement:
I want the pose as topic so that I can communicate with ros2.
Is there any way to call this service through python script? any sample example is available. I checked the sim repo but not able to find much on this.
The text was updated successfully, but these errors were encountered: