#include <speed_scheduler.h>
|
const std::vector< float > & | getActualSpeeds () |
| returns the computed speed schedule More...
|
|
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 More...
|
|
void | reset (const uint32_t _nrRobots) |
| resets the speed rescheduler (all speeds to max) More...
|
|
| SpeedScheduler (const uint32_t _nrRobots) |
| constructor More...
|
|
Definition at line 37 of file speed_scheduler.h.
multi_robot_router::SpeedScheduler::SpeedScheduler |
( |
const uint32_t |
_nrRobots | ) |
|
constructor
- Parameters
-
_nrRobots | the number of robots used for speed rescheduling |
Definition at line 40 of file speed_scheduler.cpp.
const std::vector< float > & multi_robot_router::SpeedScheduler::getActualSpeeds |
( |
| ) |
|
returns the computed speed schedule
- Returns
- the speed schedule
Definition at line 35 of file speed_scheduler.cpp.
bool multi_robot_router::SpeedScheduler::rescheduleSpeeds |
( |
const uint32_t |
_collidingRobot, |
|
|
const std::vector< uint32_t > & |
_collsisions, |
|
|
std::vector< float > & |
_newSchedule, |
|
|
int32_t & |
_firstRobotToReplan |
|
) |
| |
reduces a selected robots maximum speed
- Parameters
-
_collidingRobot | the robot which has failed to find a path (therefore a robot with higher priority has to reduce its speed) |
_collisions | the collisions the _collidiongRobot has encounterd with other ones |
_newSchedule | the new speed Schedule |
_firstRobotToReplan | the robot with reduced speed |
- Returns
- if a new speed schedule is found
Definition at line 45 of file speed_scheduler.cpp.
void multi_robot_router::SpeedScheduler::reset |
( |
const uint32_t |
_nrRobots | ) |
|
resets the speed rescheduler (all speeds to max)
- Parameters
-
_nrRobots | the number of robots used for speed rescheduling |
Definition at line 82 of file speed_scheduler.cpp.
std::vector<float> multi_robot_router::SpeedScheduler::actualSpeedSchedule_ |
|
protected |
std::vector<std::vector<float> > multi_robot_router::SpeedScheduler::checkedSchedules_ |
|
protected |
The documentation for this class was generated from the following files: