MoveIt Pro Behavior
Core Behaviors for MoveIt Pro
moveit_studio::behaviors::BiasedCoinFlip Class Referencefinal

Simulates flipping a biased coin with the specified probability of success provided via the input port. More...

#include <biased_coin_flip.hpp>

Inheritance diagram for moveit_studio::behaviors::BiasedCoinFlip:
Collaboration diagram for moveit_studio::behaviors::BiasedCoinFlip:

Public Member Functions

 BiasedCoinFlip (const std::string &name, const BT::NodeConfiguration &config)
 
BT::NodeStatus tick () override
 

Static Public Member Functions

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

Detailed Description

Simulates flipping a biased coin with the specified probability of success provided via the input port.

Data Port Name Port Type Object Type
success_probability Input double

Constructor & Destructor Documentation

◆ BiasedCoinFlip()

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

Member Function Documentation

◆ metadata()

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

◆ providedPorts()

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

◆ tick()

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

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