[][src]Struct vesc_comm::responses::Values

pub struct Values {
    pub temp_fet: f32,
    pub temp_motor: f32,
    pub motor_current: f32,
    pub input_current: f32,
    pub id: f32,
    pub iq: f32,
    pub duty_cycle: f32,
    pub rpm: f32,
    pub input_voltage: f32,
    pub amp_hours: f32,
    pub amp_hours_charged: f32,
    pub watt_hours: f32,
    pub watt_hours_charged: f32,
    pub tachometer: u32,
    pub tachometer_abs: u32,
    pub fault: Fault,
    pub pid_pos: f32,
    pub controller_id: u8,
}

Response to get_values()

Fields

temp_fet: f32

FET temperature in C

temp_motor: f32

Motor temperature in C

motor_current: f32

Motor current in A

input_current: f32

Input current in A

id: f32

?

iq: f32

?

duty_cycle: f32

Motor duty cycle

rpm: f32

Motor RPM

input_voltage: f32

Input voltage in V

amp_hours: f32

Amp hours drawn in Ah

amp_hours_charged: f32

Amp hours charged in Ah

watt_hours: f32

Watt hours drawn in Wh

watt_hours_charged: f32

Watt hours charged in Wh

tachometer: u32

Motor tachometer

tachometer_abs: u32

Absolute reading of motor tachometer

fault: Fault

Fault state of controller

pid_pos: f32

Motor position ?

controller_id: u8

ID of controller

Trait Implementations

impl Debug for Values[src]

Auto Trait Implementations

impl Send for Values

impl Sync for Values

Blanket Implementations

impl<T> From for T[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Same for T

type Output = T

Should always be Self