GetLocalizationEstimate Class
Request a no-motion localization update and capture its pose with the complete covariance. More...
Declaration
class moveit_pro::behaviors::GetLocalizationEstimate { ... }
#include <get_localization_estimate.hpp>
Base class
Private Member Typedefs Index
Public Constructors Index
| GetLocalizationEstimate (const std::string &name, const BT::NodeConfiguration &config, const std::shared_ptr< BehaviorContext > &shared_resources) |
|
|
|
Public Destructor Index
Public Member Functions Index
Private Member Functions Index
Private Member Attributes Index
Public Static Functions Index
Description
Request a no-motion localization update and capture its pose with the complete covariance.
Requires a localizer with an Empty update service, such as AMCL. Does not command the robot or save particles.
| Data Port Name | Port Type | Object Type |
|---|
| estimate_topic | input | std::string |
| update_service | input | std::string |
| global_frame_id | input | std::string |
| timeout_sec | input | double |
| estimate | output | geometry_msgs::msg::PoseWithCovarianceStamped |
Definition at line 37 of file get_localization_estimate.hpp.
Private Member Typedefs
UpdateClient
| using moveit_pro::behaviors::GetLocalizationEstimate::UpdateClient = rclcpp::Client<std_srvs::srv::Empty> |
|
Public Constructors
GetLocalizationEstimate()
| moveit_pro::behaviors::GetLocalizationEstimate::GetLocalizationEstimate (const std::string & name, const BT::NodeConfiguration & config, const std::shared_ptr< BehaviorContext > & shared_resources) |
|
Public Destructor
~GetLocalizationEstimate()
| moveit_pro::behaviors::GetLocalizationEstimate::~GetLocalizationEstimate () |
|
Public Member Functions
onHalted()
| void moveit_pro::behaviors::GetLocalizationEstimate::onHalted () |
|
onRunning()
| BT::NodeStatus moveit_pro::behaviors::GetLocalizationEstimate::onRunning () |
|
nodiscard
|
onStart()
| BT::NodeStatus moveit_pro::behaviors::GetLocalizationEstimate::onStart () |
|
nodiscard
|
Private Member Functions
clearRequest()
| void moveit_pro::behaviors::GetLocalizationEstimate::clearRequest () |
|
fail()
| BT::NodeStatus moveit_pro::behaviors::GetLocalizationEstimate::fail (const std::string & reason) |
|
nodiscard
|
Private Member Attributes
client_
| UpdateClient::SharedPtr moveit_pro::behaviors::GetLocalizationEstimate::client_ |
|
deadline_
| std::chrono::steady_clock::time_point moveit_pro::behaviors::GetLocalizationEstimate::deadline_ |
|
frame_
| std::string moveit_pro::behaviors::GetLocalizationEstimate::frame_ |
|
received_
| std::shared_ptr<ReceivedEstimate> moveit_pro::behaviors::GetLocalizationEstimate::received_ |
|
request_
| std::optional<UpdateClient::FutureAndRequestId> moveit_pro::behaviors::GetLocalizationEstimate::request_ |
|
request_stamp_ns_
| std::int64_t moveit_pro::behaviors::GetLocalizationEstimate::request_stamp_ns_ = 0 |
|
service_
| std::string moveit_pro::behaviors::GetLocalizationEstimate::service_ |
|
subscription_
| rclcpp::Subscription<geometry_msgs::msg::PoseWithCovarianceStamped>::SharedPtr moveit_pro::behaviors::GetLocalizationEstimate::subscription_ |
|
topic_
| std::string moveit_pro::behaviors::GetLocalizationEstimate::topic_ |
|
update_completed_
| bool moveit_pro::behaviors::GetLocalizationEstimate::update_completed_ = false |
|
Public Static Functions
metadata()
| BT::KeyValueVector moveit_pro::behaviors::GetLocalizationEstimate::metadata () |
|
static
|
providedPorts()
| BT::PortsList moveit_pro::behaviors::GetLocalizationEstimate::providedPorts () |
|
static
|
The documentation for this class was generated from the following files:
Generated via doxygen2docusaurus 2.2.2 by Doxygen 1.15.0.