Hi Bret, Thanks for the reply. Yes, I have sourced my ROS2 environment in my bashrc. And I just cleared my CMake cache and then sourced it again. The issue still happens.
Just to make sure I did the right thing, I did source /opt/ros/humble/setup.bash. Thank you! Siyuan On Thursday, September 5, 2024 at 12:48:41 PM UTC-4 [email protected] wrote: > 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/9a96a602-963c-4352-b1c6-3e8039d8f721n%40googlegroups.com.
