TechTheTime-HighLevel 0.0.1
The high level robot's code using ros2-foxy for the robotics competition(Erobot-2022)
ActionClient.hpp
Go to the documentation of this file.
1#ifndef ACTION_CLIENT_HPP
2#define ACTION_CLIENT_HPP
3
4#include "rclcpp/rclcpp.hpp"
5#include "ClientT.hpp"
6#include "action_msg_srv/srv/order.hpp"
7
8#include <chrono>
9#include <cstdlib>
10#include <memory>
11#include <string>
12#include "struct_wrapper.hpp"
13#include <stdexcept>
14#include <iostream>
15#include <action_msg_srv_shared/order_codes.hpp>
16
17class ActionClient : public ClientT<action_msg_srv::srv::Order, action_msg_srv::srv::Order::Request, int64_t, double, int64_t, double> {
18public:
19 ActionClient() : ClientT("action") {};
20};
21
22#endif
Definition: ActionClient.hpp:17
ActionClient()
Definition: ActionClient.hpp:19
ClientT class.
Definition: ClientT.hpp:23