Skip to content

Commit

Permalink
Clarify 3D component coordinate system (#279)
Browse files Browse the repository at this point in the history
  • Loading branch information
jwbonner committed Dec 6, 2024
1 parent f95a58e commit 46c3577
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docsSite/docs/more-features/custom-assets.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,10 @@ Robot models can contain articulated components for visualizing mechanism data (

Component configuration is provided in the robot's config file. An array of components should be provided under the "components" key. When no component poses are provided by the user in AdvantageScope, the component models will be positioned using the default robot rotations and position (see above). When component poses are provided by the user, the "zeroed" rotations and position are instead applied to bring each component to the robot origin. The user's poses are then applied to move each component to the correct location on the robot.

:::tip
When positioning 3D components relative to the robot, the origin of the coordinate system matches the published pose of the robot. Note that this pose generally uses a height of zero, which is the floor plane and NOT the robot bellypan (for typical 2D robot movement).
:::

```json
"components": [
{
Expand Down

0 comments on commit 46c3577

Please sign in to comment.