Skip to content

Add camera-client as a configrable camera-type #331

@miyatakazuya

Description

@miyatakazuya

The config.camera.type allows us to configure which camera is being used at runtime in obc.cpp. This feature current does not support the new udp-client. On top of that, the camera intrinsics + serveral other configs are hardcoded in rp_connection.hpp.

TODO:

  • Prune rp_connection.hpp to avoid hard-coding of configs (resolution, buffer, ip, port, etc.)
    • Some stuff will be static/constant so they can be hardcoded elsewhere (headerSize, magic, chunk, header struct, etc.)
  • Modify rpi.cpp to utilize CameraConfig over hard-coded values in rpi_connection.hpp

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