Skip to content

refactor(core): address API design findings for ergonomics and stability#268

Merged
arounamounchili merged 2 commits into
mainfrom
fix/api-design-findings
Jun 4, 2026
Merged

refactor(core): address API design findings for ergonomics and stability#268
arounamounchili merged 2 commits into
mainfrom
fix/api-design-findings

Conversation

@arounamounchili

Copy link
Copy Markdown
Owner

📝 Description

Address API design findings for ergonomics and stability

  • Renamed DEFAULT_GRAVITY to GRAVITY_ENABLED everywhere.
  • Updated InertiaTensor with optional off-diagonals (reordered) and removed .zero() in favor of .stability_floor().
  • Added SensorType.RAY as an alias for Gazebo Classic compatibility.
  • Updated SemanticBuilder methods to return self and introduced .done().
  • Fixed cycle detection returning NO_ROOT instead of HAS_CYCLE in robot_builder.py.
  • Updated tests to reflect all API changes and validated clean suite.

🛠️ Type of change

  • 🧪 Tests (test)
  • 🧹 Refactor (refactor)

✅ Checklist

  • just test-core passes (Core unit + integration)
  • just test-unit-blender passes (Blender unit tests)
  • just pre-commit passes (format, lint, type checks)
  • I have verified the changes manually in the Blender viewport
  • I have updated the documentation or verified no changes are needed

…ility

- Renamed DEFAULT_GRAVITY to GRAVITY_ENABLED everywhere.
- Updated InertiaTensor with optional off-diagonals (reordered) and removed .zero() in favor of .stability_floor().
- Added SensorType.RAY as an alias for Gazebo Classic compatibility.
- Updated SemanticBuilder methods to return self and introduced .done().
- Fixed cycle detection returning NO_ROOT instead of HAS_CYCLE in robot_builder.py.
- Updated tests to reflect all API changes and validated clean suite.

Signed-off-by: arounamounchili <patouossa.mounchili@gmail.com>
Signed-off-by: arounamounchili <patouossa.mounchili@gmail.com>
@arounamounchili arounamounchili merged commit eba7d18 into main Jun 4, 2026
14 checks passed
@arounamounchili arounamounchili deleted the fix/api-design-findings branch June 4, 2026 05:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant