Trait ascom_alpaca::api::ObservingConditions
source · pub trait ObservingConditions: Device + Send + Sync {
Show 18 methods
// Provided methods
async fn average_period(&self) -> ASCOMResult<f64> { ... }
async fn set_average_period(&self, average_period: f64) -> ASCOMResult { ... }
async fn cloud_cover(&self) -> ASCOMResult<f64> { ... }
async fn dew_point(&self) -> ASCOMResult<f64> { ... }
async fn humidity(&self) -> ASCOMResult<f64> { ... }
async fn pressure(&self) -> ASCOMResult<f64> { ... }
async fn rain_rate(&self) -> ASCOMResult<f64> { ... }
async fn sky_brightness(&self) -> ASCOMResult<f64> { ... }
async fn sky_quality(&self) -> ASCOMResult<f64> { ... }
async fn sky_temperature(&self) -> ASCOMResult<f64> { ... }
async fn star_fwhm(&self) -> ASCOMResult<f64> { ... }
async fn temperature(&self) -> ASCOMResult<f64> { ... }
async fn wind_direction(&self) -> ASCOMResult<f64> { ... }
async fn wind_gust(&self) -> ASCOMResult<f64> { ... }
async fn wind_speed(&self) -> ASCOMResult<f64> { ... }
async fn refresh(&self) -> ASCOMResult { ... }
async fn sensor_description(
&self,
sensor_name: String
) -> ASCOMResult<String> { ... }
async fn time_since_last_update(
&self,
sensor_name: String
) -> ASCOMResult<f64> { ... }
}observingconditions only.Expand description
ObservingConditions Specific Methods
Provided Methods§
sourceasync fn average_period(&self) -> ASCOMResult<f64>
async fn average_period(&self) -> ASCOMResult<f64>
Gets the time period over which observations will be averaged
sourceasync fn set_average_period(&self, average_period: f64) -> ASCOMResult
async fn set_average_period(&self, average_period: f64) -> ASCOMResult
Sets the time period over which observations will be averaged
sourceasync fn cloud_cover(&self) -> ASCOMResult<f64>
async fn cloud_cover(&self) -> ASCOMResult<f64>
Gets the percentage of the sky obscured by cloud
sourceasync fn dew_point(&self) -> ASCOMResult<f64>
async fn dew_point(&self) -> ASCOMResult<f64>
Gets the atmospheric dew point at the observatory reported in °C.
sourceasync fn humidity(&self) -> ASCOMResult<f64>
async fn humidity(&self) -> ASCOMResult<f64>
Gets the atmospheric humidity (%) at the observatory
sourceasync fn pressure(&self) -> ASCOMResult<f64>
async fn pressure(&self) -> ASCOMResult<f64>
Gets the atmospheric pressure in hectoPascals at the observatory’s altitude - NOT reduced to sea level.
sourceasync fn rain_rate(&self) -> ASCOMResult<f64>
async fn rain_rate(&self) -> ASCOMResult<f64>
Gets the rain rate (mm/hour) at the observatory.
sourceasync fn sky_brightness(&self) -> ASCOMResult<f64>
async fn sky_brightness(&self) -> ASCOMResult<f64>
Gets the sky brightness at the observatory (Lux)
sourceasync fn sky_quality(&self) -> ASCOMResult<f64>
async fn sky_quality(&self) -> ASCOMResult<f64>
Gets the sky quality at the observatory (magnitudes per square arc second)
sourceasync fn sky_temperature(&self) -> ASCOMResult<f64>
async fn sky_temperature(&self) -> ASCOMResult<f64>
Gets the sky temperature(°C) at the observatory.
sourceasync fn star_fwhm(&self) -> ASCOMResult<f64>
async fn star_fwhm(&self) -> ASCOMResult<f64>
Gets the seeing at the observatory measured as star full width half maximum (FWHM) in arc secs.
sourceasync fn temperature(&self) -> ASCOMResult<f64>
async fn temperature(&self) -> ASCOMResult<f64>
Gets the temperature(°C) at the observatory.
sourceasync fn wind_direction(&self) -> ASCOMResult<f64>
async fn wind_direction(&self) -> ASCOMResult<f64>
Gets the wind direction. The returned value must be between 0.0 and 360.0, interpreted according to the metereological standard, where a special value of 0.0 is returned when the wind speed is 0.0. Wind direction is measured clockwise from north, through east, where East=90.0, South=180.0, West=270.0 and North=360.0.
sourceasync fn wind_gust(&self) -> ASCOMResult<f64>
async fn wind_gust(&self) -> ASCOMResult<f64>
Gets the peak 3 second wind gust(m/s) at the observatory over the last 2 minutes.
sourceasync fn wind_speed(&self) -> ASCOMResult<f64>
async fn wind_speed(&self) -> ASCOMResult<f64>
Gets the wind speed(m/s) at the observatory.
sourceasync fn refresh(&self) -> ASCOMResult
async fn refresh(&self) -> ASCOMResult
Forces the driver to immediately query its attached hardware to refresh sensor values.
sourceasync fn sensor_description(&self, sensor_name: String) -> ASCOMResult<String>
async fn sensor_description(&self, sensor_name: String) -> ASCOMResult<String>
Gets a description of the sensor with the name specified in the SensorName parameter
sourceasync fn time_since_last_update(&self, sensor_name: String) -> ASCOMResult<f64>
async fn time_since_last_update(&self, sensor_name: String) -> ASCOMResult<f64>
Gets the time since the sensor specified in the SensorName parameter was last updated