SOLA
|
#include <agv_logical.h>
Public Member Functions | |
AGVLogical (cpps::Topology topology, consensus::ConsensusSettings consensus_settings, bool first_node, const ns3::Ptr< ns3::Socket > &socket, uint32_t device_id) | |
std::string | getConnectionString () const |
void | registerByAuthority (const std::string &ip) |
Logical agent of an AGV, that connected together with an physical AGV, follows drive commands and stores replications of Paxos instances.
void daisi::path_planning::AGVLogical::registerByAuthority | ( | const std::string & | ip | ) |
Register this AGV with an authority (PickupStation
) by sending an message::NewAuthorityAGV
message to the pickup station. If the AGV was already registered by an other authority, the other authority will not be notified about the change.
ip | IP of the pickup station |