Suggest edits unit 3 in Advanced C++ for Robotics(Part 1)

Advanced C++ for Robotics(Part 1)
Unit 3: Classes and Objects in C++

I would like to suggest to edit the following:

Demo 3.1

  • cd ===> cd ~/catkin_ws/src/
  • mkdir unit3_demos
  • add this ==> cd unit3_demos/
  • touch demo_31.cpp

Demo 3.2

  • add this command ==> touch demo_32.cpp

Demo 3.3

  • ./demo_32 ==> ./demo_33

Demo 3.4
there is an error when compiling the code and in order to solve it. make the member of the Class IceTray public:

I’m not sure if this is the right way to suggest the edit, if not please advice :slight_smile:

Kind regards
Mohammad Alshamsi

1 Like

Hi @alshamsi.mohammad,

Thank you very much for the suggestions.

And yes, any suggestions about improvements in the platform or in the content can be made through the forum without any problems.

Feel free to suggest improvements. We love to hear how to make the platform better for everyone.

#KeepPushingYourROSLearning

  • Solution for Exercise 3.4 -

comment nav_msgs in CMakeLists.txt as shown below

catkin_package(
INCLUDE_DIRS include/${PROJECT_NAME}/
LIBRARIES my_robot_manager
CATKIN_DEPENDS roscpp #nav_msgs
#DEPENDS system_lib
)

Thank you @ralves for your reply :slight_smile:

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