...
- This component communicates with the low level hardware access layer to:
- Execute observations; i.e. moves the telescope to a given position
- Acquires the image from the Instrument for a given exposure time once the telescope is in position
Methods
- TYPES::ImageType observe(in TYPES::Position coordinates, in long exposureTime): Calls the internal method moveTo and then makes use of Instrument method takeImage passing along exposure time in milliseconds.
- void moveTo(in TYPES::Position coordinates): Commands the Telescope to move to the commanded position by calling TelescopeControl method objfix
- TYPES::Position getCurrentPosition(): Returns the current Telescope position
Dummy Components
For development testing, you require the following simulated components:
- Instrument
- TelescopeControl
Instrument:
- Sets the CCD camera on and off
- Takes an image with a given exposure time
Methods
- 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 iso value is iso100
- Shutter speed value depends on exposureTime value. The exposureTime parameter is passed as milliseconds. Check for the following conditions to determine the shutter speed value:
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
Dummy Components
For development testing, you require the following simulated components: