Scanner#
- class ScanSat.Scanner#
A SCANsat scanner on a part. Obtained by calling
ScanSat.scanner()orScanSat.scanners().-
part:
SpaceCenter.Part# The part containing this scanner.
- Attribute:
Read-only, cannot be set
-
scan_types:
ScanSat.ScanType# The scan types of the scanner.
- Attribute:
Read-only, cannot be set
-
active:
boolean# Returns whether the scanner is switched on, and switches it on or off, as the buttons of the part do.
- Attribute:
Can be read or written
Note
A resource scanner only switches on when
ScanSat.instant_resource_scanis off, orScanSat.stock_resource_scanis off.
-
field_of_view:
number# The field of view of the scanner at its best altitude, in degrees.
- Attribute:
Read-only, cannot be set
-
min_altitude:
number# The lowest altitude the scanner scans at, in meters.
- Attribute:
Read-only, cannot be set
-
best_altitude:
number# The lowest altitude for the full field of view, in meters.
- Attribute:
Read-only, cannot be set
-
max_altitude:
number# The highest altitude the scanner scans at, in meters.
- Attribute:
Read-only, cannot be set
-
requires_light:
boolean# Whether the scanner only scans in daylight, when
ScanSat.daylight_checkis on.- Attribute:
Read-only, cannot be set
-
state:
ScanSat.ScannerState# The state of the scanner.
- Attribute:
Read-only, cannot be set
-
part:
- class ScanSat.ScannerState#
The state of a scanner. See
ScanSat.Scanner.state.- off#
Switched off.
- out_of_range#
Switched on, and outside its minimum and maximum altitudes.
- in_darkness#
Switched on, and paused as it needs light and the ground below it is in darkness.
- in_range#
Scanning between its minimum and best altitudes, with a reduced field of view.
- in_best_range#
Scanning between its best and maximum altitudes, with its full field of view.