Robotics StackExchange | Archived questions

catkin_make fatal error for Unitree Go 1

I am pretty new to ROS. I am trying to get it set up on the Unitree Go 1 robot, but I am running into an issue. I am cloning the repository from GitHub. However, after following the steps there when I run catkin_make in my workspace I keep running into a fatal error, that looks says this:

legged_real/src/exe/walk_mode.cpp:13:
/home/awfreel/Unitree_Go1/src/unitree_legged_sdk/include/unitree_legged_sdk/lcm.h:9:10: fatal error: lcm/lcm-cpp.hpp: No such file or directory
 #include <lcm/lcm-cpp.hpp>
          ^~~~~~~~~~~~~~~~~
compilation terminated.
In file included from /home/awfreel/Unitree_Go1/src/unitree_legged_sdk/include/unitree_legged_sdk/unitree_legged_sdk.h:12:0,
                 from /home/awfreel/Unitree_Go1/src/unitree_ros_to_real/unitree_legged_real/include/convert.h:18,
                 from /home/awfreel/Unitree_Go1/src/unitree_ros_to_real/unitree_legged_real/src/exe/position_mode.cpp:13:
/home/awfreel/Unitree_Go1/src/unitree_legged_sdk/include/unitree_legged_sdk/lcm.h:9:10: fatal error: lcm/lcm-cpp.hpp: No such file or directory
 #include <lcm/lcm-cpp.hpp>
          ^~~~~~~~~~~~~~~~~

I did check and I do have that file, so it does exist but maybe I have an issue in my cmake file?

I am in ROS melodic, on a virtual machine with Ubuntu.

I appreciate any help and feel free to let me know if I need to give more specific information. Thank you!

Asked by awfreel on 2022-10-09 19:40:50 UTC

Comments

Did you install LCM? You need to install LCM version 1.4.0 or higher as mentioned in the documentation, Do not forget to execute sudo make install in LCM.

Asked by ravijoshi on 2022-10-11 03:25:58 UTC

Answers

You are welcome to come by and struggle with a few more of us. Unitree support can be a bit rough. Several of us have Go1's of different models. I have a Pro, and a Max. we have a few EDU owners as well. Cheers. https://join.slack.com/t/robotdogs/shared_invite/zt-1fvixx89u-7T79~VxmDYdFSIoTnSagFQ

Asked by d0tslash on 2022-11-25 01:23:35 UTC

Comments