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§
sourcefn compute_velocity(&self, max_velocity: f32) -> f32
fn compute_velocity(&self, max_velocity: f32) -> f32
Compute the actual velocity based on the maximum velocity of the platform