Discussion - Mobile Robot Project Overview (Making a Mobile Robot Pt 1)

Blog Post

This is the discussion topic for the video and blog post linked above. Please keep all replies relevant to the content, otherwise create a new topic.

Iam getting below error while using the command
vboxuser@linux1:~/dev_wc/src$ colcon build --symlink-install
error:
CMake Error at CMakeLists.txt:19 (find_package):
By not providing ā€œFindament_cmake.cmakeā€ in CMAKE_MODULE_PATH this project
has asked CMake to find a package configuration file provided by
ā€œament_cmakeā€, but CMake did not find one.

Could not find a package configuration file provided by ā€œament_cmakeā€ with
any of the following names:

ament_cmakeConfig.cmake
ament_cmake-config.cmake

Add the installation prefix of ā€œament_cmakeā€ to CMAKE_PREFIX_PATH or set
ā€œament_cmake_DIRā€ to a directory containing one of the above files. If
ā€œament_cmakeā€ provides a separate development package or SDK, be sure it
has been installed.


Failed <<< my_bot [0.76s, exited with code 1]

Hi, this means you probably haven’t sourced your ROS installation. You should type source /opt/ros/foxy/setup.bash (or replace foxy with whatever ROS distro you’ve got).

Most people add this line to the file ~/.bashrc which is executed on the start of each terminal, so you always have it.

2 Likes

It’s working now, thanks

2 Likes

Hello, i’m following the course with ros2 humble installed but i can’t build the the package.why when i run this command ā€œcolcon build --symlink-install " i get this " Summary: 0 packages finishedā€ ?

Hi, I am following the mobile robot with ROS tutorial. I am using ROS 2 Humble. I’m having problems with the ROS Arduino bridge. I have been able to build successfully, but I keep getting an ā€˜ioctl error’ anytime I try to run. Please, can you help?

Unfortunately, I’m very new here, so can you please guide me on what I need to show you in order for you to help me?

thanks.