mike4192 / spotMicro

Spot Micro Quadruped Project
MIT License
1.87k stars 462 forks source link

problem with i2cpwm_boardConfig.cmake #85

Open SamuelVoda opened 2 years ago

SamuelVoda commented 2 years ago

Hey everyone, I am having problem with compiling the project. After typing in catkin_make spot_micro_motion_cmd or catkin_make i get an error message CMake Error at opt/ros/share/catkin/cmake/catkinConfig.cmake:83 (find_package): Could not find a package configuration file provided by "i2cpwm_board" with any of the following names i2cpwm_boardConfig.cmake i2cpwm_board-config.cmake and then Invoking "make cmake_check_build_system" failed

I don´t know if there are missing files in opt/ros/share/catkin/cmake/(i chacked the directory and they waren´t there obviously i guess :D) or if i just did not setup them properly or what had hapen.

however i searched the internet for answers or for these files or how to download them but i found nothing.

Do you @mike4192 or anyone else know what to do?

M352005 commented 1 year ago

Try to clone https://github.com/mentor-dyun/ros-i2cpwmboard to src folder

git clone https://github.com/mentor-dyun/ros-i2cpwmboard sudo mv ./ros-i2cpwmboard ~/catkin_ws/src/

git clone https://github.com/mike4192/spot_micro_kinematics_cpp sudo mv ./spot_micro_kinematics_cpp /home/pi/src/spot_micro_motion_cmd/libs/