Trait ascom_alpaca::api::FilterWheel
source · pub trait FilterWheel: Device + Send + Sync {
// Provided methods
async fn focus_offsets(&self) -> ASCOMResult<Vec<i32>> { ... }
async fn names(&self) -> ASCOMResult<Vec<String>> { ... }
async fn position(&self) -> ASCOMResult<i32> { ... }
async fn set_position(&self, position: i32) -> ASCOMResult { ... }
}Available on crate feature
filterwheel only.Expand description
FilterWheel Specific Methods
Provided Methods§
sourceasync fn focus_offsets(&self) -> ASCOMResult<Vec<i32>>
async fn focus_offsets(&self) -> ASCOMResult<Vec<i32>>
An integer array of filter focus offsets.
sourceasync fn names(&self) -> ASCOMResult<Vec<String>>
async fn names(&self) -> ASCOMResult<Vec<String>>
The names of the filters
sourceasync fn position(&self) -> ASCOMResult<i32>
async fn position(&self) -> ASCOMResult<i32>
Returns the current filter wheel position
sourceasync fn set_position(&self, position: i32) -> ASCOMResult
async fn set_position(&self, position: i32) -> ASCOMResult
Sets the filter wheel position