MoveIt Pro Behavior
Core Behaviors for MoveIt Pro
|
Measure the difference between an input timepoint and the current timepoint, and emit a log message which states the time elapsed. More...
#include <stopwatch_end.hpp>
Public Member Functions | |
StopwatchEnd (const std::string &name, const BT::NodeConfiguration &config, const std::shared_ptr< moveit_studio::behaviors::BehaviorContext > &shared_resources) | |
StopwatchEnd (const std::string &name, const BT::NodeConfiguration &config, const std::shared_ptr< moveit_studio::behaviors::BehaviorContext > &shared_resources, std::unique_ptr< ClockInterfaceBase > clock_interface) | |
BT::NodeStatus | tick () override |
Public Member Functions inherited from moveit_studio::behaviors::SharedResourcesNode< BT::SyncActionNode > | |
SharedResourcesNode (const std::string &name, const BT::NodeConfiguration &config, const std::shared_ptr< BehaviorContext > &shared_resources) | |
Constructor for SharedResourcesNode. Called by BT::BehaviorTreeFactory when creating a new behavior tree containing this node. More... | |
Static Public Member Functions | |
static BT::PortsList | providedPorts () |
static BT::KeyValueVector | metadata () |
Additional Inherited Members | |
Protected Attributes inherited from moveit_studio::behaviors::SharedResourcesNode< BT::SyncActionNode > | |
std::shared_ptr< BehaviorContext > | shared_resources_ |
Measure the difference between an input timepoint and the current timepoint, and emit a log message which states the time elapsed.
Data Port Name | Port Type | Object Type |
---|---|---|
timepoint | input | std::chrono::time_point<std::chrono::steady_clock> |
moveit_studio::behaviors::StopwatchEnd::StopwatchEnd | ( | const std::string & | name, |
const BT::NodeConfiguration & | config, | ||
const std::shared_ptr< moveit_studio::behaviors::BehaviorContext > & | shared_resources | ||
) |
moveit_studio::behaviors::StopwatchEnd::StopwatchEnd | ( | const std::string & | name, |
const BT::NodeConfiguration & | config, | ||
const std::shared_ptr< moveit_studio::behaviors::BehaviorContext > & | shared_resources, | ||
std::unique_ptr< ClockInterfaceBase > | clock_interface | ||
) |
|
static |
|
static |
|
override |