cannot find -lunitree_legged_sdk_amd64
HystericalHilb opened this issue · 11 comments
Errors << unitree_hw:make /home/hilb/Documents/catkin_ws/logs/unitree_hw/build.make.000.log
/usr/bin/ld: cannot find -lunitree_legged_sdk_amd64
collect2: error: ld returned 1 exit status
make[2]: *** [/home/hilb/Documents/catkin_ws/devel/.private/unitree_hw/lib/unitree_hw/unitree_hw] Error 1
make[1]: *** [CMakeFiles/unitree_hw.dir/all] Error 2
make: *** [all] Error 2
cd /home/hilb/Documents/catkin_ws/build/unitree_hw; catkin build --get-env unitree_hw | catkin env -si /usr/bin/make --jobserver-fds=6,7 -j; cd -
..................................................................................................................................................................................................................
Failed << unitree_hw:make [ Exited with code 2 ]
Failed <<< unitree_hw [ 5.2 seconds ]
Abandoned <<< cheetah_mpc_controllers [ Unrelated job failed ]
You need download unitree_legged_sdk_amd64. I will document it in the future.
You should copy the unitree_legged_sdk into the unitree_ros/lib directly. Well... it seems strange, but unitree_legged_sdk doesn't provide an install interface officially, and different types of robots use different SDK versions. Please let me know if you have any better ideas.
you mean that I should install the unitree_ros
Unitree's official unitree_ros
don't have an "install" option. So I'm not quite sure what installation you are referring to?
My file tree of unitree_hw is shown below. Hope it helps you.
unitree_hw
├── CMakeLists.txt
├── config
│ └── default.yaml
├── include
│ ├── unitree_hw
│ │ ├── control_loop.h
│ │ └── hardware_interface.h
│ └── unitree_legged_sdk
│ ├── comm.h
│ ├── quadruped.h
│ ├── safety.h
│ └── udp.h
├── launch
│ └── unitree_hw.launch
├── lib
│ └── libunitree_legged_sdk_amd64.so
├── package.xml
└── src
├── control_loop.cpp
├── hardware_interface.cpp
└── unitree_hw.cpp
The qpQASES
now is added as qpoases_catkin
package, and will be automatically downloaded while loading CMakeList
The v3.3.1 libunitree_legged_sdk_amd64 is uploaded.
This repository is about to be archived, I will rewrite the code with ocs2.