Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Shutter speed calculation specified

...

  • void cameraOn(): Method on on Camera component gets called
  • void cameraOff(): Method off on Camera component gets called
  • TYPES::ImageType takeImage(in long exposureTime): Method getFrame on Camera component gets called, passing along shutter speed value and setting a default iso value, returning the image
    • default Default iso value is iso100
    • Shutter speed value depends on exposureTime value (exposure time must be in milliseconds)
      • If exposure time in seconds is less or equal to 1/5, shutter speed is s1over5.

      • If exposure time in seconds is less or equal to 1/4, shutter speed is s1over4.
      • If exposure time in seconds is less or equal to 0.3, shutter speed is  s0_3.
      • If exposure time in seconds is less or equal to 0.4, shutter speed is s0_4.
      • If none of the conditions above is met, shutter speed is s1.

  • void setRGB(in TYPES::RGB rgbConfig): This is just a placeholder method for better Camera implementations

    • Store value in local vairable
  • void setPixelBias(in long bias): This is just a placeholder method for better Camera implementations
    • Store value in local vairable
  • void setResetLevel(in long resetLevel): This is just a placeholder method for better Camera implementations
    • Store value in local vairable

...