Trait agent_tk::definitions::tst::SpeedCompute

source ·
pub trait SpeedCompute {
    // Required method
    fn compute_velocity(&self, max_velocity: f32) -> f32;
}
Expand description

Trait used to compute the velocity

Required Methods§

source

fn compute_velocity(&self, max_velocity: f32) -> f32

Compute the actual velocity based on the maximum velocity of the platform

Implementations on Foreign Types§

source§

impl SpeedCompute for Option<Speed>

source§

fn compute_velocity(&self, max_velocity: f32) -> f32

Implementors§