Skip to content

C++ API for JointController #2659

@mogumbo

Description

@mogumbo

Desired behavior

C++ API for JointController, JointPositionController, and JointTrajectoryController similar to the API found in gazebo::physics::JointController from Gazebo Classic. Specific methods I have used from gazebo::physics::JointController are GetJoints, GetPositions, GetPositionPID, GetVelocities, GetVelocityPIDs, SetPositionPID, SetPositionTarget, SetVelocityPID, and SetVelocityTarget.

Alternatives considered

You can interact with joint controllers using gz-transport, but results of these actions are not necessarily immediate and add complexity to your code if you need to receive a response.

Additional context

I'm currently using gz-sim8 on Ubuntu 24.04.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or requesthelp wantedWe accept pull requests!

Type

No type

Projects

Status

To do

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions