qiayuanl / legged_control

Nonlinear MPC and WBC framework for legged robot based on OCS2 and ros-controls
BSD 3-Clause "New" or "Revised" License
882 stars 221 forks source link

Some errors 'Given package 'ocs2_legged_robot_ros' is not in the workspace and pattern does not match any package' #11

Closed passer-by-Wang closed 1 year ago

passer-by-Wang commented 1 year ago

error Hi, I follow your notes to compile the ocs2_legged_robot_ros package with catkin tools, but I meet some errors and warning, all files are cloned into a same directory‘/home/wh/Robot' like figure below. position_of_files So, do you know what is the problem of it? Could you give me a solution or a try for solution? Thanks for your attention.

qiayuanl commented 1 year ago

It would help if you placed the package in the src folder of your workspace. This problem is caused by the missing basic ROS knowledge, which shouldn't be asked in this repo. Please read some basic ROS tutorials before trying this repo.