Skip to content

Commit cd3f58d

Browse files
authored
Merge pull request #3792 from JdeRobot/cpp-follow-line-update
hal node naming follow line
2 parents 9c962cd + 4c4cfaf commit cd3f58d

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

exercises/follow_line/cpp_lib/src/HAL.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ std::thread HAL::spin_thread_;
1414
void HAL::init()
1515
{
1616
if (!motors_node_) {
17-
motors_node_ = std::make_shared<MotorsNode>("/cmd_vel", 4.0, 0.3);
18-
camera_node_ = std::make_shared<CameraNode>("/cam_f1_left/image_raw");
17+
motors_node_ = std::make_shared<MotorsNode>("/cmd_vel", 4.0, 0.3, "hal_motors");
18+
camera_node_ = std::make_shared<CameraNode>("/cam_f1_left/image_raw", "hal_camera");
1919

2020
executor_ = std::make_shared<rclcpp::executors::SingleThreadedExecutor>();
2121
executor_->add_node(motors_node_);
4.28 KB
Binary file not shown.

0 commit comments

Comments
 (0)