10#ifndef _TILT_SERVO_HPP
11#define _TILT_SERVO_HPP
13#include <driver_msgs/msg/int32_stamped.hpp>
15#include <proto_files/conversion_driver_msgs__Int32Stamped.hpp>
16#include <protolink/client.hpp>
17#include <rclcpp/rclcpp.hpp>
36 explicit TiltServo(
const rclcpp::NodeOptions & options);
39 std::string mcu_ip_addr;
43 protolink::IoContext io_context_;
44 std::shared_ptr<protolink::udp_protocol::soket> sock_;
46 using protoInt32Stamped = protolink__driver_msgs__Int32Stamped::driver_msgs__Int32Stamped;
47 std::shared_ptr<protolink::udp_protocol::Publisher<protoInt32Stamped>> protolink_publisher_;
49 rclcpp::Subscription<driver_msgs::msg::Int32Stamped>::SharedPtr sub_;
TiltServo class.
Definition: tilt_servo.hpp:30