Creating multiple models in gazebo [closed]
Hi,
I would like to be able to obtain many models of a room/hallway with different set ups (colors, positioning of tables, chairs, furniture, etc.) with the smallest workload.
My current idea is to model one room in gazebo, save the .xml and then write a Python script that modifies the parameters in the .xml. I was searching for a better idea on the web, but could not find one, possibly due to my shallow understanding of ROS and gazebo.
Does anyone have an idea on how may I improve my approach?
(I have problems with adding multiple tags)
I think what you describe is actually a quite acceptable approach. At the very least it will most likely be the one with the least overhead, and be the most predictable.
re: multiple tags: it slightly confusing, but tags should be separated by spaces. You can retag your question by using the
retag
button/link. Be patient with the UI, it's slightly unintuitive. Press enter once you're done changing the tags.Alternatively you could perhaps look into writing a world plugin that generates / constructs simulations based on some form of input. See PeterMitrano/gzmaze as an example.
Finally: as this is really more of a Gazebo-specific question, could I ask you to close this one and repost your question over at
answers.gazebosim.org
? That is the dedicated support forum for Gazebo, while ROS Answers is really just for ROS.Thanks.