ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

catkin_make fatal error for Unitree Go 1

asked 2022-10-09 19:40:50 -0600

awfreel gravatar image

updated 2022-10-11 01:30:04 -0600

ravijoshi gravatar image

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!

edit retag flag offensive close merge delete

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.

ravijoshi gravatar image ravijoshi  ( 2022-10-11 03:25:58 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2022-11-25 00:23:35 -0600

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/sh...

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2022-10-09 19:40:50 -0600

Seen: 589 times

Last updated: Nov 25 '22