SensorQuery
Return information about a sensor
Syntax
SensorQuery <SensorObjectPath> [{QueryType}]
Description
The SensorQuery command returns data for the specified sensor. Valid values for {QueryType} are Pointing, PatternName, Definition. If {QueryType} isn't specified, Connect returns Pointing data.
Examples
To obtain pointing data about the Horizon sensor attached to the ERS1 satellite:
SensorQuery */Satellite/ERS1/Sensor/Horizon Pointing
Return message
If activated, Connect returns a message containing information about the specified sensor's pointing properties:ACK
SENSORQUERY 226
Pointing Spinning: Scan Mode: Unidirectional; Start Angle: 30.000000, Stop Angle: 280.000000, Spin Rate: 1.500000, Initial Offset: 0.000000; Spin Axis Azimuth: 90.000000 deg, Elevation: 60.000000 deg; Cone Angle: 20.000000 deg
Examples
To obtain the sensor's pattern name:
SensorQuery */Satellite/CircSat/Sensor/TgtSn PatternName
Return message
If activated, Connect returns a message containing the specified sensor's pattern name:ACK
SENSORQUERY 11
Rectangular
Examples
To obtain the definition of the TgtSn sensor:
SensorQuery */Satellite/CircSat/Sensor/TgtSn Definition
Return message
If activated, Connect returns a message containing the specified sensor's definition:ACK
SENSORQUERY 90
Definition Rectangular: Vertical Half Angle - 45.000000; Horizontal Half Angle - 45.000000
Group membership
This command belongs to the following group(s):
Version
4.0.6