Nav2 Navigation Stack - jazzy
jazzy
ROS 2 Navigation Stack
|
A service client to clear costmaps entirely. More...
#include <nav2_util/include/nav2_util/clear_entirely_costmap_service_client.hpp>
Public Types | |
using | clearEntirelyCostmapServiceRequest = nav2_util::ServiceClient< nav2_msgs::srv::ClearEntireCostmap >::RequestType |
using | clearEntirelyCostmapServiceResponse = nav2_util::ServiceClient< nav2_msgs::srv::ClearEntireCostmap >::ResponseType |
![]() | |
using | RequestType = typename ServiceT::Request |
using | ResponseType = typename ServiceT::Response |
Public Member Functions | |
ClearEntirelyCostmapServiceClient (const std::string &service_name) | |
A constructor for nav2_util::ClearEntirelyCostmapServiceClient. | |
![]() | |
ServiceClient (const std::string &service_name, const rclcpp::Node::SharedPtr &provided_node) | |
A constructor. More... | |
ResponseType::SharedPtr | invoke (typename RequestType::SharedPtr &request, const std::chrono::nanoseconds timeout=std::chrono::nanoseconds(-1)) |
Invoke the service and block until completed or timed out. More... | |
bool | invoke (typename RequestType::SharedPtr &request, typename ResponseType::SharedPtr &response) |
Invoke the service and block until completed. More... | |
bool | wait_for_service (const std::chrono::nanoseconds timeout=std::chrono::nanoseconds::max()) |
Block until a service is available or timeout. More... | |
std::string | getServiceName () |
Gets the service name. More... | |
Additional Inherited Members | |
![]() | |
std::string | service_name_ |
rclcpp::Node::SharedPtr | node_ |
rclcpp::CallbackGroup::SharedPtr | callback_group_ |
rclcpp::executors::SingleThreadedExecutor | callback_group_executor_ |
rclcpp::Client< nav2_msgs::srv::ClearEntireCostmap >::SharedPtr | client_ |
A service client to clear costmaps entirely.
Definition at line 29 of file clear_entirely_costmap_service_client.hpp.