pub struct VelSensorSetup {
pub tow: Option<u32>,
pub wnc: Option<u16>,
pub reserved: u8,
pub port: u8,
pub lever_arm_x: Option<f32>,
pub lever_arm_y: Option<f32>,
pub lever_arm_z: Option<f32>,
pub padding: Vec<u8>,
}Fields§
§tow: Option<u32>§wnc: Option<u16>§reserved: u8§port: u8§lever_arm_x: Option<f32>§lever_arm_y: Option<f32>§lever_arm_z: Option<f32>§padding: Vec<u8>Implementations§
Source§impl VelSensorSetup
impl VelSensorSetup
pub const PORT_COM1: u8 = 0u8
pub const PORT_COM2: u8 = 1u8
pub const PORT_COM3: u8 = 2u8
pub const PORT_COM4: u8 = 3u8
pub const PORT_USB1: u8 = 5u8
pub const PORT_USB2: u8 = 6u8
pub const PORT_IP10: u8 = 7u8
pub const PORT_IP11: u8 = 8u8
pub const PORT_IP12: u8 = 9u8
pub const PORT_IP13: u8 = 10u8
pub const PORT_IP14: u8 = 11u8
pub const PORT_IP15: u8 = 12u8
pub const PORT_IP16: u8 = 13u8
pub const PORT_IP17: u8 = 14u8
pub const PORT_IPS1: u8 = 15u8
pub const PORT_IPS2: u8 = 16u8
pub const PORT_IPS3: u8 = 17u8
pub const PORT_IPS4: u8 = 18u8
pub const PORT_IPS5: u8 = 19u8
pub const PORT_IPR1: u8 = 20u8
pub const PORT_IPR2: u8 = 21u8
pub const PORT_IPR3: u8 = 22u8
pub const PORT_IPR4: u8 = 23u8
pub const PORT_IPR5: u8 = 24u8
pub const PORT_INTERNAL_IMU: u8 = 32u8
Trait Implementations§
Source§impl BinRead for VelSensorSetup
impl BinRead for VelSensorSetup
Source§fn read_options<R: Read + Seek>(
__binrw_generated_var_reader: &mut R,
__binrw_generated_var_endian: Endian,
__binrw_generated_var_arguments: Self::Args<'_>,
) -> BinResult<Self>
fn read_options<R: Read + Seek>( __binrw_generated_var_reader: &mut R, __binrw_generated_var_endian: Endian, __binrw_generated_var_arguments: Self::Args<'_>, ) -> BinResult<Self>
Source§fn read_be<R>(reader: &mut R) -> Result<Self, Error>
fn read_be<R>(reader: &mut R) -> Result<Self, Error>
Read
Self from the reader using default arguments and assuming
big-endian byte order. Read moreSource§fn read_le<R>(reader: &mut R) -> Result<Self, Error>
fn read_le<R>(reader: &mut R) -> Result<Self, Error>
Read
Self from the reader using default arguments and assuming
little-endian byte order. Read moreSource§fn read_ne<R>(reader: &mut R) -> Result<Self, Error>
fn read_ne<R>(reader: &mut R) -> Result<Self, Error>
Read
T from the reader assuming native-endian byte order. Read moreSource§fn read_be_args<R>(reader: &mut R, args: Self::Args<'_>) -> Result<Self, Error>
fn read_be_args<R>(reader: &mut R, args: Self::Args<'_>) -> Result<Self, Error>
Read
Self from the reader, assuming big-endian byte order, using the
given arguments. Read moreSource§impl BinWrite for VelSensorSetup
impl BinWrite for VelSensorSetup
Source§fn write_options<W: Write + Seek>(
&self,
__binrw_generated_var_writer: &mut W,
__binrw_generated_var_endian: Endian,
__binrw_generated_var_arguments: Self::Args<'_>,
) -> BinResult<()>
fn write_options<W: Write + Seek>( &self, __binrw_generated_var_writer: &mut W, __binrw_generated_var_endian: Endian, __binrw_generated_var_arguments: Self::Args<'_>, ) -> BinResult<()>
Source§fn write_be<W>(&self, writer: &mut W) -> Result<(), Error>
fn write_be<W>(&self, writer: &mut W) -> Result<(), Error>
Write
Self to the writer assuming big-endian byte order. Read moreSource§fn write_le<W>(&self, writer: &mut W) -> Result<(), Error>
fn write_le<W>(&self, writer: &mut W) -> Result<(), Error>
Write
Self to the writer assuming little-endian byte order. Read moreAuto Trait Implementations§
impl Freeze for VelSensorSetup
impl RefUnwindSafe for VelSensorSetup
impl Send for VelSensorSetup
impl Sync for VelSensorSetup
impl Unpin for VelSensorSetup
impl UnwindSafe for VelSensorSetup
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