Requests a set of named points from the user by switching the view and displaying a sequence of prompts in the UI.
More...
|
| GetPointsFromUser (const std::string &name, const BT::NodeConfiguration &config, const std::shared_ptr< BehaviorContext > &shared_resources) |
| Construct a new GetPointsFromUser object. More...
|
|
| GetPointsFromUser (const std::string &name, const BT::NodeConfiguration &config, const std::shared_ptr< BehaviorContext > &shared_resources, std::unique_ptr< ClientInterfaceBase< RequestPointsFromUser >> client_interface) |
| Alternate constructor which can use an existing ClientInterfaceBase to support testing with a mock service client interface. More...
|
|
| ServiceClientBehaviorBase (const std::string &name, const BT::NodeConfiguration &config, const std::shared_ptr< BehaviorContext > &shared_resources) |
| Constructs ServiceClientBehaviorBase using the RclcppClientInterface. More...
|
|
| ServiceClientBehaviorBase (const std::string &name, const BT::NodeConfiguration &config, const std::shared_ptr< BehaviorContext > &shared_resources, std::unique_ptr< ClientInterfaceBase< RequestPointsFromUser >> client_interface) |
| Constructs ServiceClientBehaviorBase using a user-provided implementation of ClientInterfaceBase. More...
|
|
virtual | ~ServiceClientBehaviorBase ()=default |
|
| AsyncBehaviorBase (const std::string &name, const BT::NodeConfiguration &config, const std::shared_ptr< BehaviorContext > &shared_resources) |
|
virtual | ~AsyncBehaviorBase ()=default |
|
BT::NodeStatus | onStart () override |
| Required implementation of BT::StatefulActionNode::onStart(). More...
|
|
BT::NodeStatus | onRunning () override |
| Required implementation of BT::StatefulActionNode::onRunning(). More...
|
|
void | onHalted () override |
| Required implementation of BT::StatefulActionNode::onHalted(). More...
|
|
void | resetStatus () |
| Resets the internal status of this node. More...
|
|
| 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...
|
|
Requests a set of named points from the user by switching the view and displaying a sequence of prompts in the UI.
The list of point prompts can either contain a single element, meaning the same prompt is displayed for each requested point, or it can be the same size as the list of point names, meaning a different prompt is displayed for each point. The output is a list of stamped points, whose X and Y coordinates are normalized pixel coordinates in the range [0..1]. The requested name of each point is contained in the frame ID of its header.
Data Port Name | Port Type | Object Type |
view_name | Input | std::string |
point_names | Input | std::vector<std::string> |
point_prompts | Input | std::vector<std::string> |
pixel_coords | Output | std::vector<geometry_msgs::msg::PointStamped> |