Struct scs_sdk_rs::scs_value_euler_t
source · #[repr(C)]pub struct scs_value_euler_t {
pub heading: scs_float_t,
pub pitch: scs_float_t,
pub roll: scs_float_t,
}Expand description
@brief Orientation of object.
Fields§
§heading: scs_float_t@brief Heading.
Stored in unit range where <0,1) corresponds to <0,360).
The angle is measured counterclockwise in horizontal plane when looking from top where 0 corresponds to forward (north), 0.25 to left (west), 0.5 to backward (south) and 0.75 to right (east).
pitch: scs_float_t@brief Pitch
Stored in unit range where <-0.25,0.25> corresponds to <-90,90>.
The pitch angle is zero when in horizontal direction, with positive values pointing up (0.25 directly to zenith), and negative values pointing down (-0.25 directly to nadir).
roll: scs_float_t@brief Roll
Stored in unit range where <-0.5,0.5> corresponds to <-180,180>.
The angle is measured in counterclockwise when looking in direction of the roll axis.
Trait Implementations§
source§impl Clone for scs_value_euler_t
impl Clone for scs_value_euler_t
source§fn clone(&self) -> scs_value_euler_t
fn clone(&self) -> scs_value_euler_t
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for scs_value_euler_t
impl Debug for scs_value_euler_t
impl Copy for scs_value_euler_t
Auto Trait Implementations§
impl RefUnwindSafe for scs_value_euler_t
impl Send for scs_value_euler_t
impl Sync for scs_value_euler_t
impl Unpin for scs_value_euler_t
impl UnwindSafe for scs_value_euler_t
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more