/* * Copyright (c) Contributors to the Open 3D Engine Project. * For complete copyright and license terms please see the LICENSE at the root of this distribution. * * SPDX-License-Identifier: Apache-2.0 OR MIT * */ #pragma once #include #include namespace ROS2Controllers { class JointPositionsSubscriptionHandler : public ControlSubscriptionHandler { public: using MessageType = std_msgs::msg::Float64MultiArray; using MessageCallback = AZStd::function; explicit JointPositionsSubscriptionHandler(MessageCallback messageCallback); private: // ROS2::ControlSubscriptionHandler overrides void SendToBus(const MessageType& message) override; MessageCallback m_messageCallback; }; } // namespace ROS2Controllers