![]() |
MoveIt Pro API
Core Behaviors for MoveIt Pro
|
Check if the robot's current state satisfies a visibility kinematic constraint relative to an object. More...
#include <is_visibility_constraint_satisfied.hpp>
Public Member Functions | |
IsVisibilityConstraintSatisfied (const std::string &name, const BT::NodeConfiguration &config, const std::shared_ptr< BehaviorContext > &shared_resources) | |
Constructor for the IsVisibilityConstraintSatisfied behavior. | |
BT::NodeStatus | onStart () override |
Starts the process that evaluates the constraint. | |
BT::NodeStatus | onRunning () override |
Check if the async process has finished, and if so get its result. | |
void | onHalted () override |
Wait for the process_status_ future to be set to make sure the async process has finished when the Behavior halts. | |
![]() | |
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. | |
Static Public Member Functions | |
static BT::PortsList | providedPorts () |
Returns list of ports for this behavior. | |
static BT::KeyValueVector | metadata () |
Static Public Attributes | |
static constexpr auto | kPortIDObject = "object" |
static constexpr auto | kPortIDPlanningSceneMsg = "planning_scene_msg" |
static constexpr auto | kPortIDCameraOpticalFrame = "camera_optical_frame" |
static constexpr auto | kPortIDCameraFieldOfView = "camera_field_of_view_angle" |
static constexpr auto | kPortIDSensorZOffset = "sensor_z_offset" |
static constexpr auto | kPortIDTargetDiameter = "target_diameter" |
Additional Inherited Members | |
![]() | |
std::shared_ptr< BehaviorContext > | shared_resources_ |
Check if the robot's current state satisfies a visibility kinematic constraint relative to an object.
Data Port Name | Port Type | Object Type |
---|---|---|
object | input | moveit_studio_vision_msgs::msg::GraspableObject |
planning_scene_msg | input | moveit_msgs::msg::PlanningScene |
camera_optical_frame | input | std::string |
camera_field_of_view_angle | input | double |
sensor_z_offset | input | double |
target_diameter | input | double |
|
explicit |
Constructor for the IsVisibilityConstraintSatisfied behavior.
name | See SharedResourcesNode |
config | See SharedResourcesNode |
shared_resources | See SharedResourcesNode |
|
static |
|
override |
Wait for the process_status_ future to be set to make sure the async process has finished when the Behavior halts.
|
override |
Check if the async process has finished, and if so get its result.
|
override |
Starts the process that evaluates the constraint.
|
static |
Returns list of ports for this behavior.
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |