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 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
Kind regards
Mohammad Alshamsi
1 Like
ralves
2
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
system
Closed
5
This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.
Hello @alshamsi.mohammad ,
Many thanks for the suggestions. The changes have already been applied to the unit.
Best,
1 Like