Hi Siyuan, I've encountered this error before, I believe the issue was that my ROS2 environment wasn't sourced. Could you confirm if this is the case? You may have to clear your CMake cache first, then source.
Best, Bret On Wednesday, September 4, 2024 at 7:30:34 PM UTC-5 Siyuan Yu wrote: > Hi colleagues, > > Thanks for providing such an amazing software. I was working on using the > ROS2 support from project chrono. I have enabled the Chrono::ROS when > building it but when I included in the CMakelists for the template project, > it asks for the ROS2_DIR and it is looking for ROS2Config.cmake / > ros2-config.cmake. However, I can not find those two files in my ros folder > (I am currently using humble now). I'd be really grateful if there are any > suggestions. > > Thank you in advance, > Siyuan > > > -- You received this message because you are subscribed to the Google Groups "ProjectChrono" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/projectchrono/6c6cf0d4-5c68-4d8e-ba32-95700e858b8cn%40googlegroups.com.
