Skip to main content

CommandSlot Struct

The latest command from one run's subscription. The subscription callback shares ownership, so a callback still running after a halt, a restart, or the Behavior's destruction writes into a slot nothing reads. More...

Declaration​

struct moveit_pro::behaviors::BaseJog::CommandSlot { ... }

Public Member Attributes Index​

std::mutexmutex
std::optional< geometry_msgs::msg::TwistStamped >latest

Description​

The latest command from one run's subscription. The subscription callback shares ownership, so a callback still running after a halt, a restart, or the Behavior's destruction writes into a slot nothing reads.

Definition at line 116 of file base_jog.hpp.

Public Member Attributes​

latest​

std::optional<geometry_msgs::msg::TwistStamped> moveit_pro::behaviors::BaseJog::CommandSlot::latest

Definition at line 119 of file base_jog.hpp.

mutex​

std::mutex moveit_pro::behaviors::BaseJog::CommandSlot::mutex

Definition at line 118 of file base_jog.hpp.


The documentation for this struct was generated from the following file:


Generated via doxygen2docusaurus 2.2.2 by Doxygen 1.9.8.