| 21 | using robotis::turtlebot3::DiffDriveController; |
| 22 | |
| 23 | DiffDriveController::DiffDriveController(const float wheel_seperation, const float wheel_radius) |
| 24 | : Node("diff_drive_controller", rclcpp::NodeOptions().use_intra_process_comms(true)) |
| 25 | { |
| 26 | nh_ = std::shared_ptr<::rclcpp::Node>(this, [](::rclcpp::Node *) {}); |
| 27 | |
| 28 | odometry_ = std::make_unique<Odometry>( |
| 29 | nh_, |
| 30 | wheel_seperation, |
| 31 | wheel_radius); |
| 32 | |
| 33 | RCLCPP_INFO(this->get_logger(), "Run!"); |
| 34 | } |
nothing calls this directly
no outgoing calls
no test coverage detected