|
bitsim
Model, simulate, estimate and control robots in C++
|
Public Member Functions | |
| uint_t | operator() (const TrackModel &model, std::mt19937 &generator) const |
Static Public Member Functions | |
| static uint_t | steer (const TrackModel &model) |
The rollout policy: head along the track and back towards the line, the further from it the more sharply, with the command whose turn rate is closest. Near a box it heads for a path DETOUR_OFFSET outside the line instead, to go around the box. Every ROLLOUT_RANDOM of the time it takes a random command, so that the rollouts also try other ways
|
inline |
|
inlinestatic |