Skip to main content

RecordCalibrationSample Class

Appends one hand-eye calibration sample to a samples vector on the blackboard. More...

Declaration​

class moveit_pro::behaviors::RecordCalibrationSample { ... }

Included Headers​

#include <record_calibration_sample.hpp>

Base class​

classSharedResourcesNode<BehaviorTreeNodeT>

The SharedResourcesNode class provides a BehaviorContext object when constructing a BehaviorTree.Cpp node. More...

Public Constructors Index​

RecordCalibrationSample (const std::string &name, const BT::NodeConfiguration &config, const std::shared_ptr< BehaviorContext > &shared_resources)

Constructor for the RecordCalibrationSample Behavior. More...

Public Member Functions Index​

BT::NodeStatustick () override

Public Static Functions Index​

static BT::PortsListprovidedPorts ()
static BT::KeyValueVectormetadata ()

Description​

Appends one hand-eye calibration sample to a samples vector on the blackboard.

The end effector pose is looked up from TF as the sample is recorded, not at the image time, so the robot must be stationary from the image capture until this runs. The calibration Objectives wait after each motion before capturing.

Data Port NamePort TypeObject Type
base_frameinputstd::string
end_effector_frameinputstd::string
camera_nameinputstd::string
camera_infoinputsensor_msgs::msg::CameraInfo
detectionsinputstd::vector<moveit_pro::hand_eye_calibration::CornerObservation>
view_labelinputstd::string
samplesbidirectionalstd::vector<moveit_pro::hand_eye_calibration::CalibrationSample>

Definition at line 32 of file record_calibration_sample.hpp.

Public Constructors​

RecordCalibrationSample()​

moveit_pro::behaviors::RecordCalibrationSample::RecordCalibrationSample (const std::string & name, const BT::NodeConfiguration & config, const std::shared_ptr< BehaviorContext > & shared_resources)

Constructor for the RecordCalibrationSample Behavior.

Parameters
name

See SharedResourcesNode

config

See SharedResourcesNode

shared_resources

See SharedResourcesNode

Declaration at line 41 of file record_calibration_sample.hpp, definition at line 77 of file record_calibration_sample.cpp.

Public Member Functions​

tick()​

BT::NodeStatus moveit_pro::behaviors::RecordCalibrationSample::tick ()

Declaration at line 48 of file record_calibration_sample.hpp, definition at line 118 of file record_calibration_sample.cpp.

Public Static Functions​

metadata()​

BT::KeyValueVector moveit_pro::behaviors::RecordCalibrationSample::metadata ()
static

Declaration at line 46 of file record_calibration_sample.hpp, definition at line 112 of file record_calibration_sample.cpp.

providedPorts()​

BT::PortsList moveit_pro::behaviors::RecordCalibrationSample::providedPorts ()
static

Declaration at line 44 of file record_calibration_sample.hpp, definition at line 83 of file record_calibration_sample.cpp.


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


Generated via doxygen2docusaurus 2.2.2 by Doxygen 1.9.8.