MAPIRlab / gaden

GADEN: A 3D Gas Dispersion Simulator for Mobile Robot Olfaction in Realistic Environments
GNU Lesser General Public License v3.0
62 stars 34 forks source link

about coppelia_remote_api #40

Closed 8ijuu closed 7 months ago

8ijuu commented 7 months ago

Thanks for sharing the code. I encountered some issues during compilation: Make Error at CMakeLists.txt:39 (find_package): -- stderr: gaden_preprocessing CMake Error at CMakeLists.txt:39 (find_package): By not providing "Findcoppelia_remote_api.cmake" in CMAKE_MODULE_PATH this project has asked CMake to find a package configuration file provided by "coppelia_remote_api", but CMake did not find one.

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

coppelia_remote_apiConfig.cmake
coppelia_remote_api-config.cmake

Add the installation prefix of "coppelia_remote_api" to CMAKE_PREFIX_PATH or set "coppelia_remote_api_DIR" to a directory containing one of the above files. If "coppelia_remote_api" provides a separate development package or SDK, be sure it has been installed. I have installed coppeliasim4.6.0-rev18 and the ZMQ remote API plugin, but I still can't find the coppelia_remote_apiConfig.cmake or coppelia_remote_api-config.cmake files in the root directory of coppeliasim. Cheers

PepeOjeda commented 7 months ago

Hello. If you want to use the coppelia scene generation, you can find the coppelia_remote_api ament package as part of our utlis repo.

8ijuu commented 7 months ago

Thank u!That helps a lot. By the way,can I use the latest version of coppeliasim (v4.6.0 rev18 ) and should I build Zmq remote api for c++ client?

PepeOjeda commented 7 months ago

The latest version we have tested is 4.5.1, but I would assume minor version changes to be OK.

You do not need to build the zmq api separately, it gets built by colcon through the coppelia_remote_api package.

8ijuu commented 7 months ago

Thanks!!