 |
Multi-robot Playground
|
Go to the documentation of this file.
62 void Update(
const double& deltaTime);
87 std::vector< std::pair<int, std::vector<agreement_el>> >
agreements;
Definition: RendezvousPlan.h:52
bool CheckConsensusCurrentPlan()
double current_timer
Definition: RendezvousPlan.h:86
std::vector< std::vector< agreement_el > > agreementsIParticipate
Definition: RendezvousPlan.h:90
std::vector< int > currentPlanRealization
Definition: RendezvousPlan.h:92
void ResetPlanRealization()
Definition: RendezvousPlan.h:47
int participate
Definition: RendezvousPlan.h:48
bool ShouldFulfillAgreement()
std::map< std::string, tf::Vector3 > agreements_locations
Definition: RendezvousPlan.h:88
int width
Definition: RendezvousPlan.h:84
double timer
Definition: RendezvousPlan.h:49
tf::Vector3 GetCurrentAgreementLocation()
double GetCurrentAgreementTimer()
std::string GenerateAgreementKey(const int &index)
void RealizePlan(const int &robotId)
int GetCurrentAgreement()
RendezvousPlan(ros::NodeHandle &nodeHandle, const int &id)
int GetCurrentAgreementUniqueID()
void InitializeLocation(tf::Vector3 location)
void Update(const double &deltaTime)
int id
Definition: RendezvousPlan.h:84
void UpdateCurrentAgreementLocation(tf::Vector3 newLocation)
std::vector< int > * GetPlanPtr()
int current_agreement
Definition: RendezvousPlan.h:85
int GetCurrentAgreementConsensusID()
std::vector< std::pair< int, std::vector< agreement_el > > > agreements
Definition: RendezvousPlan.h:87