MCPcopy Create free account
hub / github.com/ROBOTIS-GIT/turtlebot3 / DiffDriveController

Method DiffDriveController

turtlebot3_node/src/diff_drive_controller.cpp:23–34  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

21using robotis::turtlebot3::DiffDriveController;
22
23DiffDriveController::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}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected