mateusmenezes95 / omnidirectional_controllers

ROS2 controllers for Omnidirectional robots with three wheels
MIT License
26 stars 4 forks source link

Error in building after cloning the repository #4

Closed McLucifer2646 closed 6 months ago

McLucifer2646 commented 6 months ago

I am a newbie into this, so this might be a little naive doubt... But can you please help me fix this I have exactly followed the steps mentioned in the README and even installed Foxy as instructed.

Environment

ROS Version: ROS2 Foxy Gazebo: Classic Gazebo 11

Command Used in ROS workspace ros2_ws:

colcon build --symlink-install --event-handlers console_direct+

Error Observed:

CMake Error at CMakeLists.txt:36 (find_package):
  By not providing "Findcontroller_interface.cmake" in CMAKE_MODULE_PATH this
  project has asked CMake to find a package configuration file provided by
  "controller_interface", but CMake did not find one.

  Could not find a package configuration file provided by
  "controller_interface" with any of the following names:

    controller_interfaceConfig.cmake
    controller_interface-config.cmake

  Add the installation prefix of "controller_interface" to CMAKE_PREFIX_PATH
  or set "controller_interface_DIR" to a directory containing one of the
  above files.  If "controller_interface" provides a separate development
  package or SDK, be sure it has been installed.

---
Failed   <<< omnidirectional_controllers [0.69s, exited with code 1]
Aborted  <<< axebot_control [0.89s]
Aborted  <<< axebot_description [1.10s]

Summary: 0 packages finished [3.96s]
  1 package failed: omnidirectional_controllers
  2 packages aborted: axebot_control axebot_description
  1 package had stderr output: omnidirectional_controllers
  1 package not processed 
McLucifer2646 commented 6 months ago

Installing the ROS2 Controllers fixed the issue...

https://control.ros.org/foxy/doc/getting_started/getting_started.html