Unit 4 my_robot_hardware_interface.hpp error

I followed the steps on Unit 4 and it seems like the hardware_interface files are not linking properly. Any ideas on what the issue could be?

This is how I created the pkg

ros2 pkg create --build-type=ament_cmake my_robot_hardware_interface --dependencies hardware_interface pluginlib rclcpp rclcpp_lifecycle

I completed the unit. There are still errors in the hpp file but it still compiles launches and works correctly.

Hello @zach,

glad to hear you could complete the unit. Do you remember where the errors are in the .hpp file? Is this a compilation error or just the IDE (code editor) that marks some parts of the code with a red line below them? If you could point me to these errors I could fix them for further students.

Thank you very much,

Roberto

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.