Hi everyone
I have a question about spawning model by using spawn_model service. I use .xacro file for descripting the hector_quadrotor model. And I need to dynamically spawning new model by calling spawn_model service. But I feel confused about how to use .xacro file as parameter for the model_xml fild of gazebo_msgs/SpawnModel message type.If conversion is necessary, does anyone know how to conver .xacro to .urdf or .xml in c++ code.
Thanks
↧