18 #ifndef SUMO_MSPMODEL_REMOTE_H 19 #define SUMO_MSPMODEL_REMOTE_H 24 #include <microsim/pedestrians/hybridsim.grpc.pb.h> 69 void setPosition(
double x,
double y);
70 void setPhi(
double phi);
86 hybridsim::Edge_Type type,
int i);
100 #endif //SUMO_MSPMODEL_REMOTE_H
MSLane * getFirstPedestrianLane(const MSEdge *const &edge)
void makeStartOrEndTransition(Position position, Position scnd, double width, hybridsim::Scenario &scenario, hybridsim::Edge_Type type, int i)
MSPModel_Remote(const OptionsCont &oc, MSNet *net)
SUMOTime execute(SUMOTime currentTime) override
Executes the command.
std::map< int, const MSEdge * > transitionsEdgesMapping
void handlePedestrianLane(MSLane *pLane, hybridsim::Scenario &scenario)
Base (microsim) event class.
SUMOTime execute(SUMOTime time)
A class that stores a 2D geometrical boundary.
The simulated network and simulation perfomer.
The pedestrian following model.
A road/street connecting two junctions.
MSPModel_Remote * myRemoteModel
std::map< int, PState * > remoteIdPStateMapping
A point in 2D or 3D with translation and scaling methods.
void handleShape(const PositionVector &shape, hybridsim::Scenario &scenario)
PedestrianState * add(MSPerson *person, MSPerson::MSPersonStage_Walking *stage, SUMOTime now) override
register the given person as a pedestrian
abstract base class for managing callbacks to retrieve various state information from the model ...
Container for pedestrian state and individual position update function.
bool usingInternalLanes()
whether movements on intersections are modelled
A storage for options typed value containers)
std::unique_ptr< hybridsim::HybridSimulation::Stub > myHybridsimStub
std::map< const MSEdge *, std::tuple< int, int > > edgesTransitionsMapping
Event(MSPModel_Remote *remoteModel)
MSPerson::MSPersonStage_Walking * myStage
Representation of a lane in the micro simulation.
void cleanupHelper() override
void handleWalkingArea(MSEdge *msEdge, hybridsim::Scenario &scenario)