Home | Tutorials | Wiki | Issues
Ask Your Question

Revision history [back]

You could use embedded ruby to generate parametrized worlds.

  • Here's an example of an SDF model with embedded ruby.

  • Here's an example of an SDF world with embedded ruby.

To regenerate the SDF from the erb template in the command line:

erb model.rsdf > model.sdf