TechTheTime-HighLevel 0.0.1
The high level robot's code using ros2-foxy for the robotics competition(Erobot-2022)
|
#include <ClientT.hpp>
Public Types | |
using | shared_future_T = typename rclcpp::Client< T >::SharedFuture |
using | shared_ptr_T = typename rclcpp::Client< T >::SharedPtr |
Public Member Functions | |
ClientT (const std::string &client_name) | |
auto | send (Rs... args) |
void | set_shared (std::shared_ptr< ClientT< T, Treq, Rs... > > ptr) |
void | wait_for_connection () |
Private Attributes | |
shared_ptr_T | client |
std::string | client_name |
struct_wrapper< Treq, Rs... > | request |
std::shared_ptr< ClientT< T, Treq, Rs... > > | self_ptr |
ClientT class.
using shared_future_T = typename rclcpp::Client<T>::SharedFuture |
using shared_ptr_T = typename rclcpp::Client<T>::SharedPtr |
ClientT | ( | const std::string & | client_name | ) |
auto send | ( | Rs... | args | ) |
void set_shared | ( | std::shared_ptr< ClientT< T, Treq, Rs... > > | ptr | ) |
void wait_for_connection | ( | ) |
|
private |
|
private |
|
private |
|
private |