TwistSubscriptionHandler.h 602 B

1234567891011121314151617181920
  1. /*
  2. * Copyright (c) Contributors to the Open 3D Engine Project.
  3. * For complete copyright and license terms please see the LICENSE at the root of this distribution.
  4. *
  5. * SPDX-License-Identifier: Apache-2.0 OR MIT
  6. *
  7. */
  8. #pragma once
  9. #include <ROS2Controllers/RobotControl/ControlSubscriptionHandler.h>
  10. #include <geometry_msgs/msg/twist.hpp>
  11. namespace ROS2Controllers
  12. {
  13. class TwistSubscriptionHandler : public ControlSubscriptionHandler<geometry_msgs::msg::Twist>
  14. {
  15. private:
  16. void SendToBus(const geometry_msgs::msg::Twist& message) override;
  17. };
  18. } // namespace ROS2Controllers