After I follow the link of ROS2 Basics in 5 Days (c++) (humble) and get a copy of rosject (ROS2 Basics C++ Real Robot Project), I noticed the ros2_ws is not empty. I can create my package and build there. But when I do “source install/setup.bash”, it says
not found: “/home/user/ros2_ws/install/turtlebot3_node/share/turblebot3_node/local_setup.bash”
Should I create another work space other than ros2_ws?
Yes, it takes about 30 seconds to 1 minute to compile a single custom interface for ROS2. Even I have experienced it. For me it took about 3 minutes once, I believe that was due to internet latency, although I am not sure. It could have also been server’s processing latency due to process load.
Anyways, glad it worked for you.
Please mark the corresponding post as “Solution” so this issue can be closed.