unitreerobotics / unitree_ros_to_real

99 stars 92 forks source link

Could not find a package configuration file provided by "unitree_legged_sdk" #72

Open Jiang-sd opened 8 months ago

Jiang-sd commented 8 months ago

When I finish download the corresponding unitree_legged_sdk(v3.5.1),and finsh the operation of build,and put it to my own workspace's source folder,and I download unitree_ros_real(v3.8.0), but when compiling this package,it has sunch Cmake error

CMake Error at /opt/ros/melodic/share/catkin/cmake/catkinConfig.cmake:83 (find_package): Could not find a package configuration file provided by "unitree_legged_sdk" with any of the following names:

unitree_legged_sdkConfig.cmake
unitree_legged_sdk-config.cmake

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

wang-zixu commented 8 months ago

I also encountered this problem, have you solved it now?

Jiang-sd commented 8 months ago

not yet, but I dowload legged_ros_to_real(v3.8.0) and unitree_legged_sdk(v3.8.6-the latest version), then build and cakin_make as the direction, finally no errors occurred, but I have not run this package in my real go1 robot. adn you should notice that my robot is go1, waht I download is also suitable for go 1

wang-zixu commented 8 months ago

Thank you for your reminding!