Quantcast
Channel: ROS Answers: Open Source Q&A Forum - RSS feed
Viewing all articles
Browse latest Browse all 152

How to use .xacro file for spawning model by using spawn_model service in c++

$
0
0
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

Viewing all articles
Browse latest Browse all 152

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>