Declaration
class moveit_pro::behaviors::ExecutePolicy::GripperStreamer { ... }
Public Constructors Index
Public Member Functions Index
| void | setPlan (GripperPlan plan) |
|
Replace the committed gripper trajectory with this chunk's plan. More...
|
|
| void | stream (double now_on_clock) |
|
|
|
Private Member Functions Index
| void | send (double target) |
|
Send a gripper target, fire-and-forget, skipping one within the dedup tolerance of the last sent. More...
|
|
Private Member Attributes Index
Description
Plays a chunk's GripperPlan out to the gripper action one committed step at a time. Owns the per-run streaming state (the current plan and the last target sent) so streamPolicyChunks does not carry it inline. Holds a non-owning pointer to the gripper client, which the behavior keeps alive for the whole run and which is null when no gripper is configured, in which case streaming is a no-op.
Definition at line 575 of file execute_policy.hpp.
Public Constructors
GripperStreamer()
| moveit_pro::behaviors::ExecutePolicy::GripperStreamer::GripperStreamer (GripperClientInterface * client, double dt) |
|
Public Member Functions
setPlan()
| void moveit_pro::behaviors::ExecutePolicy::GripperStreamer::setPlan (GripperPlan plan) |
|
stream()
| void moveit_pro::behaviors::ExecutePolicy::GripperStreamer::stream (double now_on_clock) |
|
Drive the gripper to the committed step the trajectory clock has reached, holding the final step once the window is past. Before the seam it commands the first committed target, so the gripper leads toward the seam pose. A no-op when no plan is set or no gripper is configured.
Declaration at line 586 of file execute_policy.hpp, definition at line 1282 of file execute_policy.cpp.
Private Member Functions
send()
| void moveit_pro::behaviors::ExecutePolicy::GripperStreamer::send (double target) |
|
Send a gripper target, fire-and-forget, skipping one within the dedup tolerance of the last sent.
Declaration at line 590 of file execute_policy.hpp, definition at line 1294 of file execute_policy.cpp.
Private Member Attributes
client_
| GripperClientInterface* moveit_pro::behaviors::ExecutePolicy::GripperStreamer::client_ |
|
dt_
| double moveit_pro::behaviors::ExecutePolicy::GripperStreamer::dt_ |
|
last_target_
| std::optional<double> moveit_pro::behaviors::ExecutePolicy::GripperStreamer::last_target_ |
|
plan_
| std::optional<GripperPlan> moveit_pro::behaviors::ExecutePolicy::GripperStreamer::plan_ |
|
The documentation for this class was generated from the following files:
Generated via doxygen2docusaurus 2.2.2 by Doxygen 1.9.8.