31#include <dqrobotics/DQ.h>
33#include <rclcpp/rclcpp.hpp>
34#include <geometry_msgs/msg/pose_stamped.hpp>
37using namespace rclcpp;
38using namespace DQ_robotics;
55 std::shared_ptr<Node> node_;
57 std::atomic_bool enabled_;
58 std::string topic_prefix_;
60 Subscription<geometry_msgs::msg::PoseStamped>::SharedPtr subscriber_pose_;
61 Publisher<geometry_msgs::msg::PoseStamped>::SharedPtr publisher_pose_;
64 void _callback_target_pose(
const geometry_msgs::msg::PoseStamped& msg);
76 const std::string topic_prefix=
"GET_FROM_NODE");
Server wrapper for object pose.
Definition sas_object_server.hpp:53
std::string get_topic_prefix() const
Get the configured topic prefix.
Definition sas_object_server.cpp:77
DQ get_target_pose() const
Get the currently stored target pose.
Definition sas_object_server.cpp:64
void send_pose(const DQ &pose)
Publish the provided pose to the configured topic.
Definition sas_object_server.cpp:59
bool is_enabled() const
Query whether the server is enabled.
Definition sas_object_server.cpp:72
Definition sas_object.hpp:39
Base object class for identification and license utilities.