MoveIt Pro Behavior
Core Behaviors for MoveIt Pro
moveit_studio::behaviors::StopwatchBegin Class Reference

Saves the current epoch time as a timepoint to a data port. More...

#include <stopwatch_begin.hpp>

Inheritance diagram for moveit_studio::behaviors::StopwatchBegin:
Collaboration diagram for moveit_studio::behaviors::StopwatchBegin:

Public Member Functions

 StopwatchBegin (const std::string &name, const BT::NodeConfiguration &config)
 
 StopwatchBegin (const std::string &name, const BT::NodeConfiguration &config, std::unique_ptr< ClockInterfaceBase > clock_interface)
 
BT::NodeStatus tick () override
 

Static Public Member Functions

static BT::PortsList providedPorts ()
 
static BT::KeyValueVector metadata ()
 

Detailed Description

Saves the current epoch time as a timepoint to a data port.

Data Port Name Port Type Object Type
timepoint output std::chrono::time_point<std::chrono::steady_clock>

Constructor & Destructor Documentation

◆ StopwatchBegin() [1/2]

moveit_studio::behaviors::StopwatchBegin::StopwatchBegin ( const std::string &  name,
const BT::NodeConfiguration &  config 
)

◆ StopwatchBegin() [2/2]

moveit_studio::behaviors::StopwatchBegin::StopwatchBegin ( const std::string &  name,
const BT::NodeConfiguration &  config,
std::unique_ptr< ClockInterfaceBase clock_interface 
)

Member Function Documentation

◆ metadata()

BT::KeyValueVector moveit_studio::behaviors::StopwatchBegin::metadata ( )
static

◆ providedPorts()

BT::PortsList moveit_studio::behaviors::StopwatchBegin::providedPorts ( )
static

◆ tick()

BT::NodeStatus moveit_studio::behaviors::StopwatchBegin::tick ( )
override

The documentation for this class was generated from the following files: