Struct simulation::signal::RssiModel [] [src]

pub struct RssiModel<T> { /* fields omitted */ }

A model for computing the expected RSSI value based on the state of the UAV and the position of the beacon.


impl<T> RssiModel<T> where T: Fn(UavState, [f32; 3]) -> f32

Create a new RSSI mode given a radiation pattern and a propagation model.

Compute the expected RSSI value for a signal source at a set position