[][src]Struct librobot::transmission::navigation::NavigationParametersFrame

pub struct NavigationParametersFrame {
    pub coder_radius: u16,
    pub right_wheel_coef: u32,
    pub inter_axial_length: u16,
    pub pos_kp: u32,
    pub pos_kd: u32,
    pub orient_kp: u32,
    pub orient_kd: u32,
}

Trame contenant les paramètres de la navigation, pour permettre un changement en direct des paramètres du robot (concernant l'odométrie, les coefficients du PID, etc)

Fields

coder_radius: u16

Le rayon d'une roue codeuse en dixièmes de mm

right_wheel_coef: u32

Coefficient de correction de la roue codeuse droite en fixé 16 bits

inter_axial_length: u16

La distance entre les roues codeuses en dixièmes de mm

pos_kp: u32

Le coefficient proportionnel sur la position en fixé 16 bits

pos_kd: u32

Le coefficient dérivé sur la position en fixé 16 bits

orient_kp: u32

Le coefficient proportionnel sur l'orientation en fixé 16 bits

orient_kd: u32

Le coefficient dérivée sur l'orientation en fixé 16 bits

Trait Implementations

impl Jsonizable for NavigationParametersFrame[src]

fn from_json_slice(slice: &[u8]) -> Result<Self, DError>[src]

Construit une trame a partir d'un flux de donnees json.

fn to_string<B>(&self) -> Result<String<B>, SError> where
    B: ArrayLength<u8>, 
[src]

Construit une chaine de caractère en json à partir de cette trame

impl PartialEq<NavigationParametersFrame> for NavigationParametersFrame[src]

impl Eq for NavigationParametersFrame[src]

impl Debug for NavigationParametersFrame[src]

impl Copy for NavigationParametersFrame[src]

impl Clone for NavigationParametersFrame[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Serialize for NavigationParametersFrame[src]

impl<'de> Deserialize<'de> for NavigationParametersFrame[src]

Auto Trait Implementations

impl Send for NavigationParametersFrame

impl Sync for NavigationParametersFrame

Blanket Implementations

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

type Error = Infallible

The type returned in the event of a conversion error.

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

impl<T> From<T> for T[src]

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

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

The type returned in the event of a conversion error.

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

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

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

impl<T> Same<T> for T[src]

type Output = T

Should always be Self

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]