Struct multiwii_serial_protocol::structs::MspPidAdvanced [] [src]

pub struct MspPidAdvanced {
    pub _r1: u16,
    pub _r2: u16,
    pub _r3: u16,
    pub _r4: u8,
    pub vbat_pid_compensation: u8,
    pub setpoint_relax_ratio: u8,
    pub dterm_setpoint_weight: u8,
    pub _r5: u8,
    pub _r6: u8,
    pub _r7: u8,
    pub rate_accel_limit: u16,
    pub yaw_rate_accel_limit: u16,
    pub level_angle_limit: u8,
    pub level_sensitivity: u8,
}

Fields

Methods

impl MspPidAdvanced
[src]

[src]

Display formatter for console applications

Trait Implementations

impl PackedStruct<[u8; 19]> for MspPidAdvanced
[src]

Structure that can be packed an unpacked into 19 bytes.

Bit, MSB0NameType
0:15_r1u16
16:31_r2u16
32:47_r3u16
48:55_r4u8
56:63vbat_pid_compensationu8
64:71setpoint_relax_ratiou8
72:79dterm_setpoint_weightu8
80:87_r5u8
88:95_r6u8
96:103_r7u8
104:119rate_accel_limitu16
120:135yaw_rate_accel_limitu16
136:143level_angle_limitu8
144:151level_sensitivityu8

[src]

Packs the structure into a byte array.

[src]

Unpacks the structure from a byte array.

impl PackedStructInfo for MspPidAdvanced
[src]

[src]

Number of bits that this structure occupies when being packed.

impl PackedStructSlice for MspPidAdvanced
[src]

[src]

Pack the structure into an output buffer.

[src]

Unpack the structure from a buffer.

[src]

Number of bytes that this structure demands for packing or unpacking.

[src]

Pack the structure into a new byte vector.

impl PackedStructDebug for MspPidAdvanced
[src]

[src]

[src]

impl Display for MspPidAdvanced
[src]

[src]

Formats the value using the given formatter. Read more

impl Debug for MspPidAdvanced
[src]

[src]

Formats the value using the given formatter.

impl Copy for MspPidAdvanced
[src]

impl Clone for MspPidAdvanced
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Default for MspPidAdvanced
[src]

[src]

Returns the "default value" for a type. Read more