Hi Salman,
Could you please report (1) your OS version (e.g. Ubuntu 22.04), (2) your ROS 2 version (3) the cmake arguments that you use?
Best,
Bocheng Zou
--
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 projectchron...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/projectchrono/c898a588-3722-4177-8839-49333737cb92n%40googlegroups.com.
Hi sal,
Could you please check if ROS_DISTRO and AMENT_PREFIX_PATH present in your environment variable by using "env"? If not, you might need to run "source /opt/ros/Jazzy/setup.sh" in the same terminal as you run cmake to set it up.
To view this discussion visit https://groups.google.com/d/msgid/projectchrono/7f6f6eb0-d50f-4b0e-811f-27742723925an%40googlegroups.com.
Hi Salman,
Sorry for the long delay. Could you please perform the following inspection (all in the same terminal)?
1. Start in a completely new clone (without old build folder)
2. Manually run "source /opt/ros/Jazzy/setup.sh"
3. Report the value of ROS_DISTRO and AMENT_PREFIX_PATH using "echo $ROS_DISTRO" and "echo $AMENT_PREFIX_PATH"
4. Run the cmake configuration (remember to report the specific way you run cmake, e.g. through cmake-gui, cmake command line or other cmake tools).
I did try on my end with the latest commit and ROS 2 Jazzy today. It works well on my end. I additionally check all changes from v9.0.1 through the latest and confirmed that there isn't significant change that might be related to your issue.
Given the fact that you are able to compile the tagged release with ROS 2 but not the latest one, I think it's possible that there's some minor issue, such as you used the old build dir or used different cmake frontend which doesn't inherit variables in bashrc.
Best,
Bocheng Zou
To view this discussion visit https://groups.google.com/d/msgid/projectchrono/252fec58-0863-4e47-ad9e-ceb6ae880938n%40googlegroups.com.