ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
In light of no better answer being given, I'll show my hacky workaround. It was as simple as just using the system()
function built into C++ for use on linux systems.
system("rosrun gazebo_ros spawn_model -database coke_can -sdf -model coke_can3 -y 2.2 -x -0.3");