MindSpaceInc / Spot-MuJoCo-ROS2

Simulation environment with SpotMini model in MuJoCo based on ROS2
30 stars 4 forks source link

colcon build issue #1

Open warmmm opened 1 year ago

warmmm commented 1 year ago

Hi, when I colcon build this program, it maybe some issue like: -- stderr: description
CMake Error at CMakeLists.txt:10 (find_package): By not providing "Findcore.cmake" in CMAKE_MODULE_PATH this project has asked CMake to find a package configuration file provided by "core", but CMake did not find one.

Could not find a package configuration file provided by "core" with any of the following names:

coreConfig.cmake
core-config.cmake

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

I don't know what is the "core" package, so how can I slove this issue?

MriverMoon commented 1 year ago

try to add core dependence in package.xml and add find_package(core) in CMakeLists.txt in the description package

MarySeraj commented 7 months ago

You should add the following line in your package.xml file: <depend>core</depend>

jangjaepil commented 4 months ago

Hi, i could build the package and i have a question about the /simulation/actuators_cmds. In the topic type, pos,vel,torque cmds are in the same actuator. Then, each motors are controled by position controller? or velocity or torque?

AllenChienXXX commented 1 month ago

Hi, I build the package successfully by constantly sourcing the workspace in the /src dir. With the command source install/setup.bash, eventually colcon is able to locate my packages. Hope this helps!