66 const std::string& jointCommandTopic,
67 const std::string& jointStateTopic,
68 bool syncWithSystemTime =
false 84 bool removeJoint(
const std::string& name);
114 void setCommandOnJoints(agxROS2::sensorMsgs::JointState& jointStateMsg);
120 void setHeader(agxROS2::sensorMsgs::JointState& jointStateMsg,
const agx::TimeStamp& time);
129 agxROS2::sensorMsgs::PublisherJointState m_pub;
130 agxROS2::sensorMsgs::JointState m_stateMsg;
132 agxROS2::sensorMsgs::SubscriberJointState m_sub;
133 agxROS2::sensorMsgs::JointState m_commandMsg;
135 std::map<std::string, Joint> m_joints;
149 bool m_syncWithSystemTime;
Derive from this class to implement a listener for simulation step events.
Possible to add joints (Constraint1DOF) and the listener will publish the position and velocity for t...
ROS2ControlCommandInterface
The ROS2ControlCommandInterface sets how the joints should be controlled.
#define AGX_DECLARE_POINTER_TYPES(type)
Specialization for constraints that have only one degree of freedom such as Hinge and Prismatic...