ros2_rover
Loading...
Searching...
No Matches
motor_controller::ControllerNode Class Reference

#include <controller_node.hpp>

Inheritance diagram for motor_controller::ControllerNode:
Collaboration diagram for motor_controller::ControllerNode:

Public Member Functions

 ControllerNode ()
 
void callback (const rover_msgs::msg::MotorsCommand::SharedPtr msg)
 
void shutdown ()
 

Private Attributes

std::unique_ptr< lx16a::MotorControllermotor_controller
 
rclcpp::Subscription< rover_msgs::msg::MotorsCommand >::SharedPtr subscription
 

Constructor & Destructor Documentation

◆ ControllerNode()

ControllerNode::ControllerNode ( )

Member Function Documentation

◆ callback()

void ControllerNode::callback ( const rover_msgs::msg::MotorsCommand::SharedPtr msg)

◆ shutdown()

void ControllerNode::shutdown ( )

Member Data Documentation

◆ motor_controller

std::unique_ptr<lx16a::MotorController> motor_controller::ControllerNode::motor_controller
private

◆ subscription

rclcpp::Subscription<rover_msgs::msg::MotorsCommand>::SharedPtr motor_controller::ControllerNode::subscription
private

The documentation for this class was generated from the following files: