A behaviour for moving the robot away from obstacles by applying a virtual force field comprised of repulsive and attractive forces based on the raw LGMD inputs. More...
#include <Robots/LoBot/control/LoLGMDExtricateVFF.H>
Classes | |
struct | Command |
Friends | |
class | subfactory< LGMDExtricateVFF, base > |
A behaviour for moving the robot away from obstacles by applying a virtual force field comprised of repulsive and attractive forces based on the raw LGMD inputs.
This class implements a behaviour designed to move lobot away from obstacles obstructing its path by applying the virtual force field concept using raw LGMD spikes. What we mean by "raw" here is that this behaviour does not process the LGMD spikes in any way (e.g., time-to-impact state estimation or signal processing of any kind).
Instead, the behaviour considers a user-specified spike rate threshold. When the spike rate for a locust exceeds this threshold, it is converted to a repulsive force along the direction in which that locust is looking. Similarly, spike rates below the threshold become attractive forces along their respective directions. The attractive and repulsive forces are then combined to produce a vector that is used to decide on an appropriate steering command.
Definition at line 95 of file LoLGMDExtricateVFF.H.