Skip to content

Simulate views from our robot cameras #93

@nlaverdure

Description

@nlaverdure

In AdvantageScope's config.json, define custom camera positions such that we can view the 3d field from each camera's perspective in AdvantageScope

"cameras": [ // Fixed camera positions, can be empty
    {
      "name": string // Camera name
      "rotations": { "axis": "x" | "y" | "z", "degrees": number }[] // Sequence of rotations along the x, y, and z axes
      "position": [number, number, number] // Position offset in meters relative to the robot, applied after rotation
      "resolution": [number, number] // Resolution in pixels, used to set the fixed aspect ratio
      "fov": number // Horizontal field of view in degrees
    }
  ]

https://docs.advantagescope.org/tab-reference/3d-field/#fixed-camera

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions