29 #ifndef SPEED_SCHEDULER_H 30 #define SPEED_SCHEDULER_H 49 void reset(
const uint32_t _nrRobots);
58 bool rescheduleSpeeds(
const uint32_t _collidingRobot,
const std::vector< uint32_t > &_collsisions, std::vector< float > &_newSchedule, int32_t &_firstRobotToReplan);
void reset(const uint32_t _nrRobots)
resets the speed rescheduler (all speeds to max)
std::vector< float > actualSpeedSchedule_
bool rescheduleSpeeds(const uint32_t _collidingRobot, const std::vector< uint32_t > &_collsisions, std::vector< float > &_newSchedule, int32_t &_firstRobotToReplan)
reduces a selected robots maximum speed
SpeedScheduler(const uint32_t _nrRobots)
constructor
std::vector< std::vector< float > > checkedSchedules_
const std::vector< float > & getActualSpeeds()
returns the computed speed schedule