Variable MIN_FAILSAFE_WAY_SIZE

Variable Documentation

constexpr uint32_t MIN_FAILSAFE_WAY_SIZE = 2

Minimum number of midpoints ahead of the car so that a failsafe is not triggered.

  • If set to 1: the failsafe will be activated only when the car does not have any midpoints ahead.

  • If set to 2: the failsafe will be activated when the car has still one midpoint ahead. This option may be preferrable.

  • Any bigger value will trigger the failsafe sooner.