ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

In order for your shell to run a command and use it's output as part of the command for the shell, you need to use backticks (`), not regular quotes ('). So your command line should probably be:

rosrun gazebo_ros spawn_model -file `rospack find val_description`/model/robots/valkyrie_sim.urdf -urdf -z 1 -model valkyrie