AckermannSubscriptionHandler.h 637 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 <ackermann_msgs/msg/ackermann_drive.hpp>
  11. namespace ROS2Controllers
  12. {
  13. class AckermannSubscriptionHandler : public ControlSubscriptionHandler<ackermann_msgs::msg::AckermannDrive>
  14. {
  15. private:
  16. void SendToBus(const ackermann_msgs::msg::AckermannDrive& message) override;
  17. };
  18. } // namespace ROS2Controllers