Interface for commanding a system of joints such as robotic arm (manipulator) through FollowJointTrajectory actions.
More...
#include <JointsTrajectoryRequests.h>
Inherits AZ::EBusTraits.
|
enum class | TrajectoryActionStatus { Idle
, Executing
, Cancelled
, Succeeded
} |
| Status of trajectory action. More...
|
|
using | BusIdType = AZ::EntityId |
|
using | TrajectoryGoal = control_msgs::action::FollowJointTrajectory::Goal |
|
using | TrajectoryGoalPtr = std::shared_ptr< const TrajectoryGoal > |
|
using | TrajectoryResult = control_msgs::action::FollowJointTrajectory::Result |
|
using | TrajectoryResultPtr = std::shared_ptr< control_msgs::action::FollowJointTrajectory::Result > |
|
|
static constexpr AZ::EBusAddressPolicy | AddressPolicy = AZ::EBusAddressPolicy::ById |
|
Interface for commanding a system of joints such as robotic arm (manipulator) through FollowJointTrajectory actions.
◆ TrajectoryActionStatus
Status of trajectory action.
Enumerator |
---|
Idle | No action has been ordered yet.
|
Executing | Ongoing trajectory goal.
|
Cancelled | Cancelled goal, either by the client user or simulation side.
|
Succeeded | Goal reached.
|
◆ CancelTrajectoryGoal()
virtual AZ::Outcome< void, AZStd::string > ROS2::JointsTrajectoryRequests::CancelTrajectoryGoal |
( |
| ) |
|
|
pure virtual |
Cancel current trajectory goal.
- Parameters
-
result | Result of trajectory goal with explanation on why it was cancelled. |
- Returns
- nothing on success, error if the goal could not be cancelled.
◆ GetGoalStatus()
Retrieve current trajectory goal status.
- Returns
- Status of trajectory goal.
◆ StartTrajectoryGoal()
virtual AZ::Outcome< void, TrajectoryResult > ROS2::JointsTrajectoryRequests::StartTrajectoryGoal |
( |
TrajectoryGoalPtr |
trajectoryGoal | ) |
|
|
pure virtual |
Validate and, if validation is successful, start a trajectory goal.
- Parameters
-
trajectoryGoal | Specified trajectory including points with timing and tolerances. |
- Returns
- Nothing on success, error message if failed.
- Note
- The call will return an error if the goal trajectory mismatches joints system.
The documentation for this class was generated from the following file:
- Gems/ROS2/Code/Include/ROS2/Manipulation/JointsTrajectoryRequests.h