Gazebo | Ignition | Community
Ask Your Question

Gazebo Fortress ECM documentation

asked 2023-05-19 10:02:19 -0500

twSoulz gravatar image

Where can I find documentation on what the syntax/available methods are for using ECM in Ignition Gazebo Fortress, components and such. It is not on the official documentation, and reading source code does not help to the extent where I can just know what data is available. I do see that there is a DataType type when accessing data of a component, but still not sure what syntax is available. For example: if I wanted to change the acceleration of torque of a joint, where can I find the different ways to locate the joint, the syntax to access its properties, and what available properties it has, like velocity and such? Is there documentation that I'm missing? Sorry if I'm new to Gazebo and not immediately finding the way to design my own backend. Any help is appreciated

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted

answered 2023-05-26 08:43:23 -0500

jrtg gravatar image

I think another good starting point can be the joint_controller and joint_position_controller plugins.

It is the physics plugin that creates the joint entities and updates the component data in its UpdatePhysics and UpdateSim functions.

edit flag offensive delete link more

answered 2023-05-20 11:17:09 -0500

azeey gravatar image

There's an open issue about adding such a tutorial, but direct interaction with the ECM is not well documented partly because we were hoping to provide convenience classes (similar to Gazebo-classic) that interact with the ECM for you. So, for working with joints, you can take a look at the Joint convenience class. If the class doesn't have all the APIs you need, you can take a look at the Joint implementation as an example.

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2023-05-19 10:02:19 -0500

Seen: 61 times

Last updated: May 26