Class base_bias_angle_generator

Inheritance Relationships

Base Type

  • public rer::client< base_bias_angle_generator >

Derived Types

Class Documentation

class base_bias_angle_generator : public rer::client<base_bias_angle_generator>

Generates bias angles for the wander_force based on configuration.

Subclassed by cosm::apf2D::nav::custom_bias_angle_generator, cosm::apf2D::nav::normal_bias_angle_generator, cosm::apf2D::nav::uniform_bias_angle_generator

Public Functions

base_bias_angle_generator(base_bias_angle_generator&&) = delete
base_bias_angle_generator(const base_bias_angle_generator&) = delete
inline explicit base_bias_angle_generator(const config::bias_angle_config *config)
virtual rmath::radians operator()(const rmath::radians &last_heading, rmath::rng *rng) = 0

Generate a bias angle according to configuration.

Parameters:

last_heading – The heading angle the last time a bias angle was generated.

base_bias_angle_generator &operator=(base_bias_angle_generator&&) = delete
base_bias_angle_generator &operator=(const base_bias_angle_generator&) = delete

Protected Functions

inline const config::bias_angle_config *config(void) const