Robotics StackExchange | Archived questions

Spawn_model with ROS Groovy and Gazebo version 1.9.5.

I need help for using the spawn_model within the rxgraph. My launch, my urdf. My simulation. Unfortunately, spawn_model node is not created within the rxgraph.

Asked by EduardoMaciel on 2013-07-22 12:18:06 UTC

Comments

I'm not sure about this, but I guess the node is destroyed right after the model is published to gazebo... This launch command probably only makes a single ros service call...

Asked by evilBiber on 2013-07-23 02:01:55 UTC

Hi evilBiber, this is it, but is it normal? For you also happen this?

Asked by EduardoMaciel on 2013-07-23 06:37:48 UTC

I have also this error: Warning [parser.cc:358] No element in file[data-string] Warning [parser.cc:291] parse from urdf. Could this be my problem?

Asked by EduardoMaciel on 2013-07-23 07:23:54 UTC

my log: /home/maciel/.ros/log/dc927dd2-f3b8-11e2-b801-000c298687e0/urdf_spawner-1*.log (https://gist.github.com/anonymous/6064149).

Asked by EduardoMaciel on 2013-07-23 12:07:21 UTC

Answers

As @evilBiber suggests, spawn_model is intended to exit right after creating the model. That's probably happening too quickly for the spawn_model node to ever appear in rxgraph.

It looks to me like it's operating properly.

Asked by gerkey on 2013-07-23 19:14:30 UTC

Comments