Home | Tutorials | Wiki | Issues
Ask Your Question
0

Spawn_model with ROS Groovy and Gazebo version 1.9.5.

asked 2013-07-22 12:18:06 -0500

EduardoMaciel gravatar image

updated 2013-07-23 19:08:45 -0500

gerkey gravatar image

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.

edit retag flag offensive close merge delete

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...

evilBiber gravatar imageevilBiber ( 2013-07-23 02:01:55 -0500 )edit

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

EduardoMaciel gravatar imageEduardoMaciel ( 2013-07-23 06:37:48 -0500 )edit

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

EduardoMaciel gravatar imageEduardoMaciel ( 2013-07-23 07:23:54 -0500 )edit

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

EduardoMaciel gravatar imageEduardoMaciel ( 2013-07-23 12:07:21 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
1

answered 2013-07-23 19:14:30 -0500

gerkey gravatar image

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.

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

Stats

Asked: 2013-07-22 12:18:06 -0500

Seen: 89 times

Last updated: Jul 23 '13