Interface for controllers that execute the simple movement between two positions one step at a time.
More...
#include <JointsPositionControllerRequests.h>
Inherits AZ::EBusTraits.
|
using | BusIdType = AZ::EntityId |
|
|
static constexpr AZ::EBusAddressPolicy | AddressPolicy = AZ::EBusAddressPolicy::ById |
|
Interface for controllers that execute the simple movement between two positions one step at a time.
◆ PositionControl()
virtual AZ::Outcome<void, AZStd::string> ROS2::JointsPositionControllerRequests::PositionControl |
( |
const AZStd::string & |
jointName, |
|
|
JointInfo |
joint, |
|
|
JointPosition |
currentPosition, |
|
|
JointPosition |
targetPosition, |
|
|
float |
deltaTime |
|
) |
| |
|
pure virtual |
Control a joint through specification of its target position.
- Parameters
-
jointName | name of the joint to move. |
joint | specification of the joint. |
currentPosition | current position of the joint. |
targetPosition | target position of the joint. |
deltaTime | how much time elapsed in simulation the movement should represent. |
- Returns
- nothing on success, error message if the command cannot be realize due to controller or entity configuration.
◆ SupportsArticulation()
virtual bool ROS2::JointsPositionControllerRequests::SupportsArticulation |
( |
| ) |
|
|
inlinevirtual |
Whether the implementing controller component is based on articulations.
- Returns
- true if the controller works with articulations, false otherwise.
◆ SupportsClassicJoints()
virtual bool ROS2::JointsPositionControllerRequests::SupportsClassicJoints |
( |
| ) |
|
|
inlinevirtual |
Whether the implementing controller component is based on articulations.
- Returns
- true if the controller works with classic joints, false otherwise.
The documentation for this class was generated from the following file:
- Gems/ROS2/Code/Include/ROS2/Manipulation/Controllers/JointsPositionControllerRequests.h