Telescope

Trait Telescope 

Source
pub trait Telescope:
    Device
    + Send
    + Sync {
Show 82 methods // Required methods fn at_home<'this: 'async_trait, 'async_trait>( &'this self, ) -> ASCOMResultFuture<'async_trait, bool>; fn at_park<'this: 'async_trait, 'async_trait>( &'this self, ) -> ASCOMResultFuture<'async_trait, bool>; fn declination_rate<'this: 'async_trait, 'async_trait>( &'this self, ) -> ASCOMResultFuture<'async_trait, f64>; fn equatorial_system<'this: 'async_trait, 'async_trait>( &'this self, ) -> ASCOMResultFuture<'async_trait, EquatorialCoordinateType>; fn right_ascension<'this: 'async_trait, 'async_trait>( &'this self, ) -> ASCOMResultFuture<'async_trait, f64>; fn right_ascension_rate<'this: 'async_trait, 'async_trait>( &'this self, ) -> ASCOMResultFuture<'async_trait, f64>; fn sidereal_time<'this: 'async_trait, 'async_trait>( &'this self, ) -> ASCOMResultFuture<'async_trait, f64>; fn tracking<'this: 'async_trait, 'async_trait>( &'this self, ) -> ASCOMResultFuture<'async_trait, bool>; fn tracking_rate<'this: 'async_trait, 'async_trait>( &'this self, ) -> ASCOMResultFuture<'async_trait, DriveRate>; fn utc_date<'this: 'async_trait, 'async_trait>( &'this self, ) -> ASCOMResultFuture<'async_trait, SystemTime>; fn axis_rates<'this: 'async_trait, 'async_trait>( &'this self, axis: TelescopeAxis, ) -> ASCOMResultFuture<'async_trait, Vec<RangeInclusive<f64>>>; // Provided methods fn alignment_mode<'this: 'async_trait, 'async_trait>( &'this self, ) -> ASCOMResultFuture<'async_trait, AlignmentMode> { ... } fn altitude<'this: 'async_trait, 'async_trait>( &'this self, ) -> ASCOMResultFuture<'async_trait, f64> { ... } fn aperture_area<'this: 'async_trait, 'async_trait>( &'this self, ) -> ASCOMResultFuture<'async_trait, f64> { ... } fn aperture_diameter<'this: 'async_trait, 'async_trait>( &'this self, ) -> ASCOMResultFuture<'async_trait, f64> { ... } fn azimuth<'this: 'async_trait, 'async_trait>( &'this self, ) -> ASCOMResultFuture<'async_trait, f64> { ... } fn can_find_home<'this: 'async_trait, 'async_trait>( &'this self, ) -> ASCOMResultFuture<'async_trait, bool> { ... } fn can_park<'this: 'async_trait, 'async_trait>( &'this self, ) -> ASCOMResultFuture<'async_trait, bool> { ... } fn can_pulse_guide<'this: 'async_trait, 'async_trait>( &'this self, ) -> ASCOMResultFuture<'async_trait, bool> { ... } fn can_set_declination_rate<'this: 'async_trait, 'async_trait>( &'this self, ) -> ASCOMResultFuture<'async_trait, bool> { ... } fn can_set_guide_rates<'this: 'async_trait, 'async_trait>( &'this self, ) -> ASCOMResultFuture<'async_trait, bool> { ... } fn can_set_park<'this: 'async_trait, 'async_trait>( &'this self, ) -> ASCOMResultFuture<'async_trait, bool> { ... } fn can_set_pier_side<'this: 'async_trait, 'async_trait>( &'this self, ) -> ASCOMResultFuture<'async_trait, bool> { ... } fn can_set_right_ascension_rate<'this: 'async_trait, 'async_trait>( &'this self, ) -> ASCOMResultFuture<'async_trait, bool> { ... } fn can_set_tracking<'this: 'async_trait, 'async_trait>( &'this self, ) -> ASCOMResultFuture<'async_trait, bool> { ... } fn can_slew<'this: 'async_trait, 'async_trait>( &'this self, ) -> ASCOMResultFuture<'async_trait, bool> { ... } fn can_slew_alt_az<'this: 'async_trait, 'async_trait>( &'this self, ) -> ASCOMResultFuture<'async_trait, bool> { ... } fn can_slew_alt_az_async<'this: 'async_trait, 'async_trait>( &'this self, ) -> ASCOMResultFuture<'async_trait, bool> { ... } fn can_slew_async<'this: 'async_trait, 'async_trait>( &'this self, ) -> ASCOMResultFuture<'async_trait, bool> { ... } fn can_sync<'this: 'async_trait, 'async_trait>( &'this self, ) -> ASCOMResultFuture<'async_trait, bool> { ... } fn can_sync_alt_az<'this: 'async_trait, 'async_trait>( &'this self, ) -> ASCOMResultFuture<'async_trait, bool> { ... } fn can_unpark<'this: 'async_trait, 'async_trait>( &'this self, ) -> ASCOMResultFuture<'async_trait, bool> { ... } fn declination<'this: 'async_trait, 'async_trait>( &'this self, ) -> ASCOMResultFuture<'async_trait, f64> { ... } fn set_declination_rate<'this: 'async_trait, 'async_trait>( &'this self, declination_rate: f64, ) -> ASCOMResultFuture<'async_trait, ()> { ... } fn does_refraction<'this: 'async_trait, 'async_trait>( &'this self, ) -> ASCOMResultFuture<'async_trait, bool> { ... } fn set_does_refraction<'this: 'async_trait, 'async_trait>( &'this self, does_refraction: bool, ) -> ASCOMResultFuture<'async_trait, ()> { ... } fn focal_length<'this: 'async_trait, 'async_trait>( &'this self, ) -> ASCOMResultFuture<'async_trait, f64> { ... } fn guide_rate_declination<'this: 'async_trait, 'async_trait>( &'this self, ) -> ASCOMResultFuture<'async_trait, f64> { ... } fn set_guide_rate_declination<'this: 'async_trait, 'async_trait>( &'this self, guide_rate_declination: f64, ) -> ASCOMResultFuture<'async_trait, ()> { ... } fn guide_rate_right_ascension<'this: 'async_trait, 'async_trait>( &'this self, ) -> ASCOMResultFuture<'async_trait, f64> { ... } fn set_guide_rate_right_ascension<'this: 'async_trait, 'async_trait>( &'this self, guide_rate_right_ascension: f64, ) -> ASCOMResultFuture<'async_trait, ()> { ... } fn is_pulse_guiding<'this: 'async_trait, 'async_trait>( &'this self, ) -> ASCOMResultFuture<'async_trait, bool> { ... } fn set_right_ascension_rate<'this: 'async_trait, 'async_trait>( &'this self, right_ascension_rate: f64, ) -> ASCOMResultFuture<'async_trait, ()> { ... } fn side_of_pier<'this: 'async_trait, 'async_trait>( &'this self, ) -> ASCOMResultFuture<'async_trait, PierSide> { ... } fn set_side_of_pier<'this: 'async_trait, 'async_trait>( &'this self, side_of_pier: PierSide, ) -> ASCOMResultFuture<'async_trait, ()> { ... } fn site_elevation<'this: 'async_trait, 'async_trait>( &'this self, ) -> ASCOMResultFuture<'async_trait, f64> { ... } fn set_site_elevation<'this: 'async_trait, 'async_trait>( &'this self, site_elevation: f64, ) -> ASCOMResultFuture<'async_trait, ()> { ... } fn site_latitude<'this: 'async_trait, 'async_trait>( &'this self, ) -> ASCOMResultFuture<'async_trait, f64> { ... } fn set_site_latitude<'this: 'async_trait, 'async_trait>( &'this self, site_latitude: f64, ) -> ASCOMResultFuture<'async_trait, ()> { ... } fn site_longitude<'this: 'async_trait, 'async_trait>( &'this self, ) -> ASCOMResultFuture<'async_trait, f64> { ... } fn set_site_longitude<'this: 'async_trait, 'async_trait>( &'this self, site_longitude: f64, ) -> ASCOMResultFuture<'async_trait, ()> { ... } fn slewing<'this: 'async_trait, 'async_trait>( &'this self, ) -> ASCOMResultFuture<'async_trait, bool> { ... } fn slew_settle_time<'this: 'async_trait, 'async_trait>( &'this self, ) -> ASCOMResultFuture<'async_trait, i32> { ... } fn set_slew_settle_time<'this: 'async_trait, 'async_trait>( &'this self, slew_settle_time: i32, ) -> ASCOMResultFuture<'async_trait, ()> { ... } fn target_declination<'this: 'async_trait, 'async_trait>( &'this self, ) -> ASCOMResultFuture<'async_trait, f64> { ... } fn set_target_declination<'this: 'async_trait, 'async_trait>( &'this self, target_declination: f64, ) -> ASCOMResultFuture<'async_trait, ()> { ... } fn target_right_ascension<'this: 'async_trait, 'async_trait>( &'this self, ) -> ASCOMResultFuture<'async_trait, f64> { ... } fn set_target_right_ascension<'this: 'async_trait, 'async_trait>( &'this self, target_right_ascension: f64, ) -> ASCOMResultFuture<'async_trait, ()> { ... } fn set_tracking<'this: 'async_trait, 'async_trait>( &'this self, tracking: bool, ) -> ASCOMResultFuture<'async_trait, ()> { ... } fn set_tracking_rate<'this: 'async_trait, 'async_trait>( &'this self, tracking_rate: DriveRate, ) -> ASCOMResultFuture<'async_trait, ()> { ... } fn tracking_rates<'this: 'async_trait, 'async_trait>( &'this self, ) -> ASCOMResultFuture<'async_trait, Vec<DriveRate>> { ... } fn set_utc_date<'this: 'async_trait, 'async_trait>( &'this self, utc_date: SystemTime, ) -> ASCOMResultFuture<'async_trait, ()> { ... } fn abort_slew<'this: 'async_trait, 'async_trait>( &'this self, ) -> ASCOMResultFuture<'async_trait, ()> { ... } fn can_move_axis<'this: 'async_trait, 'async_trait>( &'this self, axis: TelescopeAxis, ) -> ASCOMResultFuture<'async_trait, bool> { ... } fn destination_side_of_pier<'this: 'async_trait, 'async_trait>( &'this self, right_ascension: f64, declination: f64, ) -> ASCOMResultFuture<'async_trait, PierSide> { ... } fn find_home<'this: 'async_trait, 'async_trait>( &'this self, ) -> ASCOMResultFuture<'async_trait, ()> { ... } fn move_axis<'this: 'async_trait, 'async_trait>( &'this self, axis: TelescopeAxis, rate: f64, ) -> ASCOMResultFuture<'async_trait, ()> { ... } fn park<'this: 'async_trait, 'async_trait>( &'this self, ) -> ASCOMResultFuture<'async_trait, ()> { ... } fn pulse_guide<'this: 'async_trait, 'async_trait>( &'this self, direction: GuideDirection, duration: i32, ) -> ASCOMResultFuture<'async_trait, ()> { ... } fn set_park<'this: 'async_trait, 'async_trait>( &'this self, ) -> ASCOMResultFuture<'async_trait, ()> { ... } fn slew_to_alt_az<'this: 'async_trait, 'async_trait>( &'this self, azimuth: f64, altitude: f64, ) -> ASCOMResultFuture<'async_trait, ()> { ... } fn slew_to_alt_az_async<'this: 'async_trait, 'async_trait>( &'this self, azimuth: f64, altitude: f64, ) -> ASCOMResultFuture<'async_trait, ()> { ... } fn slew_to_coordinates<'this: 'async_trait, 'async_trait>( &'this self, right_ascension: f64, declination: f64, ) -> ASCOMResultFuture<'async_trait, ()> { ... } fn slew_to_coordinates_async<'this: 'async_trait, 'async_trait>( &'this self, right_ascension: f64, declination: f64, ) -> ASCOMResultFuture<'async_trait, ()> { ... } fn slew_to_target<'this: 'async_trait, 'async_trait>( &'this self, ) -> ASCOMResultFuture<'async_trait, ()> { ... } fn slew_to_target_async<'this: 'async_trait, 'async_trait>( &'this self, ) -> ASCOMResultFuture<'async_trait, ()> { ... } fn sync_to_alt_az<'this: 'async_trait, 'async_trait>( &'this self, azimuth: f64, altitude: f64, ) -> ASCOMResultFuture<'async_trait, ()> { ... } fn sync_to_coordinates<'this: 'async_trait, 'async_trait>( &'this self, right_ascension: f64, declination: f64, ) -> ASCOMResultFuture<'async_trait, ()> { ... } fn sync_to_target<'this: 'async_trait, 'async_trait>( &'this self, ) -> ASCOMResultFuture<'async_trait, ()> { ... } fn unpark<'this: 'async_trait, 'async_trait>( &'this self, ) -> ASCOMResultFuture<'async_trait, ()> { ... } fn interface_version<'this: 'async_trait, 'async_trait>( &'this self, ) -> ASCOMResultFuture<'async_trait, i32> { ... } fn device_state<'this: 'async_trait, 'async_trait>( &'this self, ) -> ASCOMResultFuture<'async_trait, TimestampedDeviceState<DeviceState>> { ... }
}
Available on crate feature telescope only.
Expand description

Telescope Specific Methods.

Required Methods§

Source

fn at_home<'this: 'async_trait, 'async_trait>( &'this self, ) -> ASCOMResultFuture<'async_trait, bool>

async fn at_home(&self) -> ASCOMResult<bool>

True if the mount is stopped in the Home position.

Set only following a FindHome() operation, and reset with any slew operation. This property must be False if the telescope does not support homing.

Source

fn at_park<'this: 'async_trait, 'async_trait>( &'this self, ) -> ASCOMResultFuture<'async_trait, bool>

async fn at_park(&self) -> ASCOMResult<bool>

True if the telescope has been put into the parked state by the seee Park() method.

Set False by calling the Unpark() method.

Source

fn declination_rate<'this: 'async_trait, 'async_trait>( &'this self, ) -> ASCOMResultFuture<'async_trait, f64>

async fn declination_rate(&self) -> ASCOMResult<f64>

The declination tracking rate (arcseconds per SI second, default = 0.0).

Please note that rightascensionrate units are arcseconds per sidereal second.

Source

fn equatorial_system<'this: 'async_trait, 'async_trait>( &'this self, ) -> ASCOMResultFuture<'async_trait, EquatorialCoordinateType>

async fn equatorial_system(&self) -> ASCOMResult<EquatorialCoordinateType>

Returns the current equatorial coordinate system used by this telescope (e.g. Topocentric or J2000).

Source

fn right_ascension<'this: 'async_trait, 'async_trait>( &'this self, ) -> ASCOMResultFuture<'async_trait, f64>

async fn right_ascension(&self) -> ASCOMResult<f64>

The right ascension (hours) of the mount’s current equatorial coordinates, in the coordinate system given by the EquatorialSystem property.

Source

fn right_ascension_rate<'this: 'async_trait, 'async_trait>( &'this self, ) -> ASCOMResultFuture<'async_trait, f64>

async fn right_ascension_rate(&self) -> ASCOMResult<f64>

The right ascension tracking rate (arcseconds per sidereal second, default = 0.0).

Please note that the declinationrate units are arcseconds per SI second.

Source

fn sidereal_time<'this: 'async_trait, 'async_trait>( &'this self, ) -> ASCOMResultFuture<'async_trait, f64>

async fn sidereal_time(&self) -> ASCOMResult<f64>

The local apparent sidereal time from the telescope’s internal clock (hours, sidereal).

Source

fn tracking<'this: 'async_trait, 'async_trait>( &'this self, ) -> ASCOMResultFuture<'async_trait, bool>

async fn tracking(&self) -> ASCOMResult<bool>

Returns the state of the telescope’s sidereal tracking drive.

Source

fn tracking_rate<'this: 'async_trait, 'async_trait>( &'this self, ) -> ASCOMResultFuture<'async_trait, DriveRate>

async fn tracking_rate(&self) -> ASCOMResult<DriveRate>

The current tracking rate of the telescope’s sidereal drive.

Source

fn utc_date<'this: 'async_trait, 'async_trait>( &'this self, ) -> ASCOMResultFuture<'async_trait, SystemTime>

async fn utc_date(&self) -> ASCOMResult<SystemTime>

Returns the UTC date/time of the telescope’s internal clock.

Source

fn axis_rates<'this: 'async_trait, 'async_trait>( &'this self, axis: TelescopeAxis, ) -> ASCOMResultFuture<'async_trait, Vec<RangeInclusive<f64>>>

async fn axis_rates(&self, axis: TelescopeAxis) -> ASCOMResult<Vec<RangeInclusive<f64>>>

The rates at which the telescope may be moved about the specified axis by the MoveAxis(TelescopeAxes, Double) method.

Provided Methods§

Source

fn alignment_mode<'this: 'async_trait, 'async_trait>( &'this self, ) -> ASCOMResultFuture<'async_trait, AlignmentMode>

async fn alignment_mode(&self) -> ASCOMResult<AlignmentMode>

Returns the alignment mode of the mount (Alt/Az, Polar, German Polar).

Source

fn altitude<'this: 'async_trait, 'async_trait>( &'this self, ) -> ASCOMResultFuture<'async_trait, f64>

async fn altitude(&self) -> ASCOMResult<f64>

The altitude above the local horizon of the mount’s current position (degrees, positive up).

Source

fn aperture_area<'this: 'async_trait, 'async_trait>( &'this self, ) -> ASCOMResultFuture<'async_trait, f64>

async fn aperture_area(&self) -> ASCOMResult<f64>

The area of the telescope’s aperture, taking into account any obstructions (square meters).

Source

fn aperture_diameter<'this: 'async_trait, 'async_trait>( &'this self, ) -> ASCOMResultFuture<'async_trait, f64>

async fn aperture_diameter(&self) -> ASCOMResult<f64>

The telescope’s effective aperture diameter (meters).

Source

fn azimuth<'this: 'async_trait, 'async_trait>( &'this self, ) -> ASCOMResultFuture<'async_trait, f64>

async fn azimuth(&self) -> ASCOMResult<f64>

The azimuth at the local horizon of the mount’s current position (degrees, North-referenced, positive East/clockwise).

Source

fn can_find_home<'this: 'async_trait, 'async_trait>( &'this self, ) -> ASCOMResultFuture<'async_trait, bool>

async fn can_find_home(&self) -> ASCOMResult<bool>

True if this telescope is capable of programmed finding its home position (FindHome() method).

Source

fn can_park<'this: 'async_trait, 'async_trait>( &'this self, ) -> ASCOMResultFuture<'async_trait, bool>

async fn can_park(&self) -> ASCOMResult<bool>

True if this telescope is capable of programmed parking (Park() method).

Source

fn can_pulse_guide<'this: 'async_trait, 'async_trait>( &'this self, ) -> ASCOMResultFuture<'async_trait, bool>

async fn can_pulse_guide(&self) -> ASCOMResult<bool>

True if this telescope is capable of software-pulsed guiding (via the PulseGuide(GuideDirections, Int32) method).

Source

fn can_set_declination_rate<'this: 'async_trait, 'async_trait>( &'this self, ) -> ASCOMResultFuture<'async_trait, bool>

async fn can_set_declination_rate(&self) -> ASCOMResult<bool>

True if the DeclinationRate property can be changed to provide offset tracking in the declination axis.

Source

fn can_set_guide_rates<'this: 'async_trait, 'async_trait>( &'this self, ) -> ASCOMResultFuture<'async_trait, bool>

async fn can_set_guide_rates(&self) -> ASCOMResult<bool>

True if the guide rate properties used for PulseGuide(GuideDirections, Int32) can ba adjusted.

Source

fn can_set_park<'this: 'async_trait, 'async_trait>( &'this self, ) -> ASCOMResultFuture<'async_trait, bool>

async fn can_set_park(&self) -> ASCOMResult<bool>

True if this telescope is capable of programmed setting of its park position (SetPark() method).

Source

fn can_set_pier_side<'this: 'async_trait, 'async_trait>( &'this self, ) -> ASCOMResultFuture<'async_trait, bool>

async fn can_set_pier_side(&self) -> ASCOMResult<bool>

True if the SideOfPier property can be set, meaning that the mount can be forced to flip.

Source

fn can_set_right_ascension_rate<'this: 'async_trait, 'async_trait>( &'this self, ) -> ASCOMResultFuture<'async_trait, bool>

async fn can_set_right_ascension_rate(&self) -> ASCOMResult<bool>

True if the RightAscensionRate property can be changed to provide offset tracking in the right ascension axis. .

Source

fn can_set_tracking<'this: 'async_trait, 'async_trait>( &'this self, ) -> ASCOMResultFuture<'async_trait, bool>

async fn can_set_tracking(&self) -> ASCOMResult<bool>

True if the Tracking property can be changed, turning telescope sidereal tracking on and off.

Source

fn can_slew<'this: 'async_trait, 'async_trait>( &'this self, ) -> ASCOMResultFuture<'async_trait, bool>

async fn can_slew(&self) -> ASCOMResult<bool>

True if this telescope is capable of programmed slewing (synchronous or asynchronous) to equatorial coordinates.

Source

fn can_slew_alt_az<'this: 'async_trait, 'async_trait>( &'this self, ) -> ASCOMResultFuture<'async_trait, bool>

async fn can_slew_alt_az(&self) -> ASCOMResult<bool>

True if this telescope is capable of programmed slewing (synchronous or asynchronous) to local horizontal coordinates.

Source

fn can_slew_alt_az_async<'this: 'async_trait, 'async_trait>( &'this self, ) -> ASCOMResultFuture<'async_trait, bool>

async fn can_slew_alt_az_async(&self) -> ASCOMResult<bool>

True if this telescope is capable of programmed asynchronous slewing to local horizontal coordinates.

Source

fn can_slew_async<'this: 'async_trait, 'async_trait>( &'this self, ) -> ASCOMResultFuture<'async_trait, bool>

async fn can_slew_async(&self) -> ASCOMResult<bool>

True if this telescope is capable of programmed asynchronous slewing to equatorial coordinates.

Source

fn can_sync<'this: 'async_trait, 'async_trait>( &'this self, ) -> ASCOMResultFuture<'async_trait, bool>

async fn can_sync(&self) -> ASCOMResult<bool>

True if this telescope is capable of programmed synching to equatorial coordinates.

Source

fn can_sync_alt_az<'this: 'async_trait, 'async_trait>( &'this self, ) -> ASCOMResultFuture<'async_trait, bool>

async fn can_sync_alt_az(&self) -> ASCOMResult<bool>

True if this telescope is capable of programmed synching to local horizontal coordinates.

Source

fn can_unpark<'this: 'async_trait, 'async_trait>( &'this self, ) -> ASCOMResultFuture<'async_trait, bool>

async fn can_unpark(&self) -> ASCOMResult<bool>

True if this telescope is capable of programmed unparking (UnPark() method).

Source

fn declination<'this: 'async_trait, 'async_trait>( &'this self, ) -> ASCOMResultFuture<'async_trait, f64>

async fn declination(&self) -> ASCOMResult<f64>

The declination (degrees) of the mount’s current equatorial coordinates, in the coordinate system given by the EquatorialSystem property.

Reading the property will raise an error if the value is unavailable.

Source

fn set_declination_rate<'this: 'async_trait, 'async_trait>( &'this self, declination_rate: f64, ) -> ASCOMResultFuture<'async_trait, ()>

async fn set_declination_rate(&self, declination_rate: f64) -> ASCOMResult<()>

Sets the declination tracking rate (arcseconds per SI second).

Please note that rightascensionrate units are arcseconds per sidereal second.

Source

fn does_refraction<'this: 'async_trait, 'async_trait>( &'this self, ) -> ASCOMResultFuture<'async_trait, bool>

async fn does_refraction(&self) -> ASCOMResult<bool>

True if the telescope or driver applies atmospheric refraction to coordinates.

Source

fn set_does_refraction<'this: 'async_trait, 'async_trait>( &'this self, does_refraction: bool, ) -> ASCOMResultFuture<'async_trait, ()>

async fn set_does_refraction(&self, does_refraction: bool) -> ASCOMResult<()>

Causes the rotator to move Position degrees relative to the current Position value.

Source

fn focal_length<'this: 'async_trait, 'async_trait>( &'this self, ) -> ASCOMResultFuture<'async_trait, f64>

async fn focal_length(&self) -> ASCOMResult<f64>

The telescope’s focal length in meters.

Source

fn guide_rate_declination<'this: 'async_trait, 'async_trait>( &'this self, ) -> ASCOMResultFuture<'async_trait, f64>

async fn guide_rate_declination(&self) -> ASCOMResult<f64>

The current Declination movement rate offset for telescope guiding (degrees/sec).

Source

fn set_guide_rate_declination<'this: 'async_trait, 'async_trait>( &'this self, guide_rate_declination: f64, ) -> ASCOMResultFuture<'async_trait, ()>

async fn set_guide_rate_declination(&self, guide_rate_declination: f64) -> ASCOMResult<()>

Sets the current Declination movement rate offset for telescope guiding (degrees/sec).

Source

fn guide_rate_right_ascension<'this: 'async_trait, 'async_trait>( &'this self, ) -> ASCOMResultFuture<'async_trait, f64>

async fn guide_rate_right_ascension(&self) -> ASCOMResult<f64>

The current RightAscension movement rate offset for telescope guiding (degrees/sec).

Source

fn set_guide_rate_right_ascension<'this: 'async_trait, 'async_trait>( &'this self, guide_rate_right_ascension: f64, ) -> ASCOMResultFuture<'async_trait, ()>

async fn set_guide_rate_right_ascension(&self, guide_rate_right_ascension: f64) -> ASCOMResult<()>

Sets the current RightAscension movement rate offset for telescope guiding (degrees/sec).

Source

fn is_pulse_guiding<'this: 'async_trait, 'async_trait>( &'this self, ) -> ASCOMResultFuture<'async_trait, bool>

async fn is_pulse_guiding(&self) -> ASCOMResult<bool>

True if a PulseGuide(GuideDirections, Int32) command is in progress, False otherwise.

Source

fn set_right_ascension_rate<'this: 'async_trait, 'async_trait>( &'this self, right_ascension_rate: f64, ) -> ASCOMResultFuture<'async_trait, ()>

async fn set_right_ascension_rate(&self, right_ascension_rate: f64) -> ASCOMResult<()>

Sets the right ascension tracking rate (arcseconds per sidereal second).

Please note that the declinationrate units are arcseconds per SI second.

Source

fn side_of_pier<'this: 'async_trait, 'async_trait>( &'this self, ) -> ASCOMResultFuture<'async_trait, PierSide>

async fn side_of_pier(&self) -> ASCOMResult<PierSide>

Indicates the pointing state of the mount.

Source

fn set_side_of_pier<'this: 'async_trait, 'async_trait>( &'this self, side_of_pier: PierSide, ) -> ASCOMResultFuture<'async_trait, ()>

async fn set_side_of_pier(&self, side_of_pier: PierSide) -> ASCOMResult<()>

Sets the pointing state of the mount.

Source

fn site_elevation<'this: 'async_trait, 'async_trait>( &'this self, ) -> ASCOMResultFuture<'async_trait, f64>

async fn site_elevation(&self) -> ASCOMResult<f64>

The elevation above mean sea level (meters) of the site at which the telescope is located.

Source

fn set_site_elevation<'this: 'async_trait, 'async_trait>( &'this self, site_elevation: f64, ) -> ASCOMResultFuture<'async_trait, ()>

async fn set_site_elevation(&self, site_elevation: f64) -> ASCOMResult<()>

Sets the elevation above mean sea level (metres) of the site at which the telescope is located.

Source

fn site_latitude<'this: 'async_trait, 'async_trait>( &'this self, ) -> ASCOMResultFuture<'async_trait, f64>

async fn site_latitude(&self) -> ASCOMResult<f64>

The geodetic latitude (degrees, positive North, WGS84) of the site at which the telescope is located.

Source

fn set_site_latitude<'this: 'async_trait, 'async_trait>( &'this self, site_latitude: f64, ) -> ASCOMResultFuture<'async_trait, ()>

async fn set_site_latitude(&self, site_latitude: f64) -> ASCOMResult<()>

Sets the observing site’s latitude (degrees).

Source

fn site_longitude<'this: 'async_trait, 'async_trait>( &'this self, ) -> ASCOMResultFuture<'async_trait, f64>

async fn site_longitude(&self) -> ASCOMResult<f64>

The longitude (degrees, positive East, WGS84) of the site at which the telescope is located.

Source

fn set_site_longitude<'this: 'async_trait, 'async_trait>( &'this self, site_longitude: f64, ) -> ASCOMResultFuture<'async_trait, ()>

async fn set_site_longitude(&self, site_longitude: f64) -> ASCOMResult<()>

Sets the observing site’s longitude (degrees, positive East, WGS84).

Source

fn slewing<'this: 'async_trait, 'async_trait>( &'this self, ) -> ASCOMResultFuture<'async_trait, bool>

async fn slewing(&self) -> ASCOMResult<bool>

True if telescope is currently moving in response to one of the Slew methods or the MoveAxis(TelescopeAxes, Double) method, False at all other times.

Source

fn slew_settle_time<'this: 'async_trait, 'async_trait>( &'this self, ) -> ASCOMResultFuture<'async_trait, i32>

async fn slew_settle_time(&self) -> ASCOMResult<i32>

Returns the post-slew settling time (sec.).

Source

fn set_slew_settle_time<'this: 'async_trait, 'async_trait>( &'this self, slew_settle_time: i32, ) -> ASCOMResultFuture<'async_trait, ()>

async fn set_slew_settle_time(&self, slew_settle_time: i32) -> ASCOMResult<()>

Sets the post-slew settling time (integer sec.).

Source

fn target_declination<'this: 'async_trait, 'async_trait>( &'this self, ) -> ASCOMResultFuture<'async_trait, f64>

async fn target_declination(&self) -> ASCOMResult<f64>

The declination (degrees, positive North) for the target of an equatorial slew or sync operation.

Source

fn set_target_declination<'this: 'async_trait, 'async_trait>( &'this self, target_declination: f64, ) -> ASCOMResultFuture<'async_trait, ()>

async fn set_target_declination(&self, target_declination: f64) -> ASCOMResult<()>

Sets the declination (degrees, positive North) for the target of an equatorial slew or sync operation.

Source

fn target_right_ascension<'this: 'async_trait, 'async_trait>( &'this self, ) -> ASCOMResultFuture<'async_trait, f64>

async fn target_right_ascension(&self) -> ASCOMResult<f64>

The right ascension (hours) for the target of an equatorial slew or sync operation.

Source

fn set_target_right_ascension<'this: 'async_trait, 'async_trait>( &'this self, target_right_ascension: f64, ) -> ASCOMResultFuture<'async_trait, ()>

async fn set_target_right_ascension(&self, target_right_ascension: f64) -> ASCOMResult<()>

Sets the right ascension (hours) for the target of an equatorial slew or sync operation.

Source

fn set_tracking<'this: 'async_trait, 'async_trait>( &'this self, tracking: bool, ) -> ASCOMResultFuture<'async_trait, ()>

async fn set_tracking(&self, tracking: bool) -> ASCOMResult<()>

Sets the state of the telescope’s sidereal tracking drive.

Source

fn set_tracking_rate<'this: 'async_trait, 'async_trait>( &'this self, tracking_rate: DriveRate, ) -> ASCOMResultFuture<'async_trait, ()>

async fn set_tracking_rate(&self, tracking_rate: DriveRate) -> ASCOMResult<()>

Sets the tracking rate of the telescope’s sidereal drive.

Source

fn tracking_rates<'this: 'async_trait, 'async_trait>( &'this self, ) -> ASCOMResultFuture<'async_trait, Vec<DriveRate>>

async fn tracking_rates(&self) -> ASCOMResult<Vec<DriveRate>>

Returns an array of supported DriveRates values that describe the permissible values of the TrackingRate property for this telescope type.

Source

fn set_utc_date<'this: 'async_trait, 'async_trait>( &'this self, utc_date: SystemTime, ) -> ASCOMResultFuture<'async_trait, ()>

async fn set_utc_date(&self, utc_date: SystemTime) -> ASCOMResult<()>

Sets the UTC date/time of the telescope’s internal clock.

Source

fn abort_slew<'this: 'async_trait, 'async_trait>( &'this self, ) -> ASCOMResultFuture<'async_trait, ()>

async fn abort_slew(&self) -> ASCOMResult<()>

Immediately Stops a slew in progress.

Source

fn can_move_axis<'this: 'async_trait, 'async_trait>( &'this self, axis: TelescopeAxis, ) -> ASCOMResultFuture<'async_trait, bool>

async fn can_move_axis(&self, axis: TelescopeAxis) -> ASCOMResult<bool>

True if this telescope can move the requested axis.

Source

fn destination_side_of_pier<'this: 'async_trait, 'async_trait>( &'this self, right_ascension: f64, declination: f64, ) -> ASCOMResultFuture<'async_trait, PierSide>

async fn destination_side_of_pier(&self, right_ascension: f64, declination: f64) -> ASCOMResult<PierSide>

Predicts the pointing state that a German equatorial mount will be in if it slews to the given coordinates.

Source

fn find_home<'this: 'async_trait, 'async_trait>( &'this self, ) -> ASCOMResultFuture<'async_trait, ()>

async fn find_home(&self) -> ASCOMResult<()>

Locates the telescope’s “home” position (synchronous).

Source

fn move_axis<'this: 'async_trait, 'async_trait>( &'this self, axis: TelescopeAxis, rate: f64, ) -> ASCOMResultFuture<'async_trait, ()>

async fn move_axis(&self, axis: TelescopeAxis, rate: f64) -> ASCOMResult<()>

Move the telescope in one axis at the given rate.

Source

fn park<'this: 'async_trait, 'async_trait>( &'this self, ) -> ASCOMResultFuture<'async_trait, ()>

async fn park(&self) -> ASCOMResult<()>

Move the telescope to its park position, stop all motion (or restrict to a small safe range), and set AtPark to True. ).

Source

fn pulse_guide<'this: 'async_trait, 'async_trait>( &'this self, direction: GuideDirection, duration: i32, ) -> ASCOMResultFuture<'async_trait, ()>

async fn pulse_guide(&self, direction: GuideDirection, duration: i32) -> ASCOMResult<()>

Moves the scope in the given direction for the given interval or time at the rate given by the corresponding guide rate property.

Source

fn set_park<'this: 'async_trait, 'async_trait>( &'this self, ) -> ASCOMResultFuture<'async_trait, ()>

async fn set_park(&self) -> ASCOMResult<()>

Sets the telescope’s park position to be its current position.

Source

fn slew_to_alt_az<'this: 'async_trait, 'async_trait>( &'this self, azimuth: f64, altitude: f64, ) -> ASCOMResultFuture<'async_trait, ()>

async fn slew_to_alt_az(&self, azimuth: f64, altitude: f64) -> ASCOMResult<()>

Move the telescope to the given local horizontal coordinates, return when slew is complete.

Source

fn slew_to_alt_az_async<'this: 'async_trait, 'async_trait>( &'this self, azimuth: f64, altitude: f64, ) -> ASCOMResultFuture<'async_trait, ()>

async fn slew_to_alt_az_async(&self, azimuth: f64, altitude: f64) -> ASCOMResult<()>

Move the telescope to the given local horizontal coordinates, return immediately after the slew starts.

The client can poll the Slewing method to determine when the mount reaches the intended coordinates.

Source

fn slew_to_coordinates<'this: 'async_trait, 'async_trait>( &'this self, right_ascension: f64, declination: f64, ) -> ASCOMResultFuture<'async_trait, ()>

async fn slew_to_coordinates(&self, right_ascension: f64, declination: f64) -> ASCOMResult<()>

Move the telescope to the given equatorial coordinates, return when slew is complete.

Source

fn slew_to_coordinates_async<'this: 'async_trait, 'async_trait>( &'this self, right_ascension: f64, declination: f64, ) -> ASCOMResultFuture<'async_trait, ()>

async fn slew_to_coordinates_async(&self, right_ascension: f64, declination: f64) -> ASCOMResult<()>

Move the telescope to the given equatorial coordinates, return immediatley after the slew starts.

The client can poll the Slewing method to determine when the mount reaches the intended coordinates.

Source

fn slew_to_target<'this: 'async_trait, 'async_trait>( &'this self, ) -> ASCOMResultFuture<'async_trait, ()>

async fn slew_to_target(&self) -> ASCOMResult<()>

This method is deprecated in favour of slew_to_target_async.

Move the telescope to the TargetRightAscension and TargetDeclination equatorial coordinates, return when slew is complete.

Source

fn slew_to_target_async<'this: 'async_trait, 'async_trait>( &'this self, ) -> ASCOMResultFuture<'async_trait, ()>

async fn slew_to_target_async(&self) -> ASCOMResult<()>

Move the telescope to the TargetRightAscension and TargetDeclination equatorial coordinates, return immediatley after the slew starts.

The client can poll the Slewing method to determine when the mount reaches the intended coordinates.

Source

fn sync_to_alt_az<'this: 'async_trait, 'async_trait>( &'this self, azimuth: f64, altitude: f64, ) -> ASCOMResultFuture<'async_trait, ()>

async fn sync_to_alt_az(&self, azimuth: f64, altitude: f64) -> ASCOMResult<()>

Matches the scope’s local horizontal coordinates to the given local horizontal coordinates.

Source

fn sync_to_coordinates<'this: 'async_trait, 'async_trait>( &'this self, right_ascension: f64, declination: f64, ) -> ASCOMResultFuture<'async_trait, ()>

async fn sync_to_coordinates(&self, right_ascension: f64, declination: f64) -> ASCOMResult<()>

Matches the scope’s equatorial coordinates to the given equatorial coordinates.

Source

fn sync_to_target<'this: 'async_trait, 'async_trait>( &'this self, ) -> ASCOMResultFuture<'async_trait, ()>

async fn sync_to_target(&self) -> ASCOMResult<()>

Matches the scope’s equatorial coordinates to the TargetRightAscension and TargetDeclination equatorial coordinates.

Source

fn unpark<'this: 'async_trait, 'async_trait>( &'this self, ) -> ASCOMResultFuture<'async_trait, ()>

async fn unpark(&self) -> ASCOMResult<()>

Takes telescope out of the Parked state.

Source

fn interface_version<'this: 'async_trait, 'async_trait>( &'this self, ) -> ASCOMResultFuture<'async_trait, i32>

async fn interface_version(&self) -> ASCOMResult<i32>

This method returns the version of the ASCOM device interface contract to which this device complies.

Only one interface version is current at a moment in time and all new devices should be built to the latest interface version. Applications can choose which device interface versions they support and it is in their interest to support previous versions as well as the current version to ensure thay can use the largest number of devices.

Source

fn device_state<'this: 'async_trait, 'async_trait>( &'this self, ) -> ASCOMResultFuture<'async_trait, TimestampedDeviceState<DeviceState>>

Return all operational properties of this device.

See What is the “read all” feature and what are its rules?.

Implementations§

Source§

impl dyn Telescope

Convenience methods for the client to get/set related properties together.

Source

pub async fn guide_rates_ra_dec(&self) -> ASCOMResult<RaDec>

Available on crate feature client only.

The current right ascension and declination movement rate offsets for telescope guiding (degrees/sec).

This is an aggregation of following methods, see their docs for more details:

Source

pub async fn set_guide_rates_ra_dec( &self, guide_rates_ra_dec: RaDec, ) -> ASCOMResult<()>

Available on crate feature client only.

Sets the right ascension and declination movement rate offsets for telescope guiding (degrees/sec).

This is an aggregation of following methods, see their docs for more details:

Source

pub async fn ra_dec(&self) -> ASCOMResult<RaDec>

Available on crate feature client only.

The right ascension (hours) and declination (degrees) of the mount’s current equatorial coordinates, in the coordinate system given by the EquatorialSystem property.

This is an aggregation of following methods, see their docs for more details:

Source

pub async fn ra_dec_rates(&self) -> ASCOMResult<RaDec>

Available on crate feature client only.

The right ascension and declination tracking rates (arcseconds per sidereal second, default = 0.0).

This is an aggregation of following methods, see their docs for more details:

Source

pub async fn set_ra_dec_rates(&self, ra_dec_rates: RaDec) -> ASCOMResult<()>

Available on crate feature client only.

Set the right ascension and declination tracking rates (arcseconds per sidereal second).

This is an aggregation of following methods, see their docs for more details:

Source

pub async fn alt_az(&self) -> ASCOMResult<RaDec>

Available on crate feature client only.

The altitude and azimuth (degrees) of the mount’s current position at the local horizon.

This is an aggregation of following methods, see their docs for more details:

Source

pub async fn site_coords(&self) -> ASCOMResult<SiteCoords>

Available on crate feature client only.

The geodetic coordinates of the site at which the telescope is located.

This is an aggregation of following methods, see their docs for more details:

Source

pub async fn set_site_coords(&self, site_coords: SiteCoords) -> ASCOMResult<()>

Available on crate feature client only.

Set the geodetic coordinates of the site at which the telescope is located.

This is an aggregation of following methods, see their docs for more details:

Source

pub async fn target_ra_dec(&self) -> ASCOMResult<RaDec>

Available on crate feature client only.

The right ascension (hours) and declination (degrees, positive North) for the target of an equatorial slew or sync operation.

This is an aggregation of following methods, see their docs for more details:

Source

pub async fn set_target_ra_dec(&self, target_ra_dec: RaDec) -> ASCOMResult<()>

Available on crate feature client only.

Set the right ascension (hours) and declination (degrees) for the target of an equatorial slew or sync operation.

This is an aggregation of following methods, see their docs for more details:

Trait Implementations§

Source§

impl Hash for dyn Telescope

Source§

fn hash<H: Hasher>(&self, state: &mut H)

Feeds this value into the given Hasher. Read more
Source§

impl PartialEq for dyn Telescope

Source§

fn eq(&self, other: &Self) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl Eq for dyn Telescope

Implementors§