orbit icon indicating copy to clipboard operation
orbit copied to clipboard

Add feature: spawn assembly of shapes

Open ErcBunny opened this issue 10 months ago • 1 comments

Description

Sometimes we want to abstract a robot as a rigid body, manually set its mass, inertia, collision properties, and generate its appearance according to parameters instead of using fixed appearance loaded from files. This PR adds a submodule in side sim.spawner to host scripts for spawning such robots as assemblies of basic shape prims.

Fixes #329 .

Type of change

  • New feature (non-breaking change which adds functionality)
  • This change requires a documentation update (spawn_prims.rst is changed)

Screenshots

A quadcopter is spawned additionally when running source/standalone/tutorials/00_sim/spawn_prims.py after the change.

Screenshot from 2024-04-10 15-31-58

Checklist

  • [x] I have run the pre-commit checks with ./orbit.sh --format
  • [x] I have made corresponding changes to the documentation
  • [x] My changes generate no new warnings
  • [ ] I have added tests that prove my fix is effective or that my feature works
  • [x] I have run all the tests with ./orbit.sh --test and they pass
  • [ ] I have updated the changelog and the corresponding version in the extension's config/extension.toml file
  • [ ] I have added my name to the CONTRIBUTORS.md or my name already exists there

ErcBunny avatar Apr 10 '24 13:04 ErcBunny

Hi, Is this PR still up, and should it be merged? Seems like the code still uses orbit and is not updated. Moreover, the structure seems more like an example than a real part of the core code.

pascal-roth avatar Sep 24 '24 21:09 pascal-roth