MAPIRlab / gaden

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

catkin_make error in gaden #33

Closed velonSigs closed 12 months ago

velonSigs commented 1 year ago

image image Hello! When I tried to compile all the ROS packages included in Gaden (including the supplementary olfaction_msgs package), an error occurred during the compilation: The marchRay function defined at line 323 in DDA.h only accepts six parameters, but seven parameters were used when marchRay was called at line 145 in simulated_tadlas.cpp. The versions I downloaded are all corresponding to ROS1, and the system itself is ROS Melodic Ubuntu 18.0. Have you encountered this error during debugging? How did you solve it? thanks for replying. image

PepeOjeda commented 1 year ago

I think you might have downloaded the latest version of the DDA library, rather than the one that was linked as a submodule? In any case, I've updated the code to use the most recent one, so it should be ok now.

velonSigs commented 1 year ago

thanks a lot! it works!