LemonCameraSim
LemonCameraSim
Section titled “LemonCameraSim”Simulated version of a LemonCamera. This class functions exactly the same in code except for the following:
- Must be initialized with a
robotpy_fields.Fieldand an FOV - Must be registered with a shared
LemonVisionSiminstance LemonVisionSim.update()must be called once per tick to update all cameras together with the robot pose
Methods
Section titled “Methods”init()
Section titled “init()”Args:
field_layout (Field): layout of the tags on the field, such as
get_field(FieldId.FRC_2026_REBUILT_WELDED)
fov (float): diagonal range of vision (degrees)