Skip to content

Python Simulation Units #2003

@BrysonSmith15

Description

@BrysonSmith15

Are you requesting documentation for a new feature, or updated documentation for an old feature?
This is an old feature. Documentation comments for SimCameraProperties seems to have unit errors.

Where is it?
In setAvgLatency and setLatencyStdDev, both have a signature which suggests that seconds are the parameter, while the documentation comment suggests milliseconds.
For setAvgLatency:

    def setAvgLatency(self, newAvgLatency: seconds):
        """
        :param newAvgLatency: The average latency (from image capture to data published) in milliseconds
                             a frame should have
        """

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationAnything relating to https://docs.photonvision.org

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions