Struct canadensis_data_types::reg::udral::service::battery::parameters_0_3::Parameters[][src]

pub struct Parameters {
Show 17 fields pub unique_id: u64, pub mass: Scalar, pub design_capacity: Scalar, pub design_cell_voltage_min_max: [Scalar; 2], pub discharge_current: Scalar, pub discharge_current_burst: Scalar, pub charge_current: Scalar, pub charge_current_fast: Scalar, pub charge_termination_threshold: Scalar, pub charge_voltage: Scalar, pub cycle_count: u16, pub series_cell_count: u8, pub state_of_health_pct: u8, pub technology: Technology, pub nominal_voltage: Scalar, pub unix_manufacture_time: u64, pub name: Vec<u8, 64>,
}
Expand description

reg.udral.service.battery.Parameters.0.3

Size ranges from 64 to 128 bytes

Fields

unique_id: u64

truncated uint64

Always aligned Size 64 bits

mass: Scalar

uavcan.si.unit.mass.Scalar.1.0

Always aligned Size 32 bits

design_capacity: Scalar

uavcan.si.unit.electric_charge.Scalar.1.0

Always aligned Size 32 bits

design_cell_voltage_min_max: [Scalar; 2]

uavcan.si.unit.voltage.Scalar.1.0[2]

Always aligned Size 64 bits

discharge_current: Scalar

uavcan.si.unit.electric_current.Scalar.1.0

Always aligned Size 32 bits

discharge_current_burst: Scalar

uavcan.si.unit.electric_current.Scalar.1.0

Always aligned Size 32 bits

charge_current: Scalar

uavcan.si.unit.electric_current.Scalar.1.0

Always aligned Size 32 bits

charge_current_fast: Scalar

uavcan.si.unit.electric_current.Scalar.1.0

Always aligned Size 32 bits

charge_termination_threshold: Scalar

uavcan.si.unit.electric_current.Scalar.1.0

Always aligned Size 32 bits

charge_voltage: Scalar

uavcan.si.unit.voltage.Scalar.1.0

Always aligned Size 32 bits

cycle_count: u16

saturated uint16

Always aligned Size 16 bits

series_cell_count: u8

saturated uint8

Always aligned Size 8 bits

state_of_health_pct: u8

saturated uint7

Always aligned Size 7 bits

technology: Technology

reg.udral.service.battery.Technology.0.1

Always aligned Size 8 bits

nominal_voltage: Scalar

uavcan.si.unit.voltage.Scalar.1.0

Always aligned Size 32 bits

unix_manufacture_time: u64

truncated uint40

Always aligned Size 40 bits

name: Vec<u8, 64>

saturated uint8[<=64]

Always aligned Size ranges from 0 to 512 bits

Trait Implementations

The sealed or delimited property of this type

Deserializes a value and returns it

Deserializes a value from a slice of bytes and returns it Read more

A convenience function that creates a cursor around the provided bytes and calls deserialize Read more

Returns the size of the encoded form of this value, in bits Read more

Serializes this value into a buffer Read more

A convenience function that creates a cursor around the provided bytes and calls serialize Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.