[ROS2] Add env-hook with ament_python built package to use Gazebo model with meshes

asked 2021-02-10 11:46:22 -0500

rejzi gravatar image

updated 2021-02-11 02:15:04 -0500

I'm working with ament_python built ROS2 foxy package for gazebo simulation. I have several SDF models using various meshes (.dae) files (with parts like: <mesh><uri>model://my_model/meshes/something.dae</uri>/mesh>* ). I followed the ROS 2 Migration: Gazebo ROS Paths guide and the only thing that I'm missing (hopefully) is to add environment hooks as it is written here to my CMakeList file which I don't have. How can I do that with the only python? (or if its not needed for my goal what should I do?)

edit retag flag offensive close merge delete