11#pragma warning(disable:4583)
12#pragma warning(disable:4582)
13#include <boost/variant2/variant.hpp>
16#include <boost/variant2/variant.hpp>
55 using WalkerEvent = boost::variant2::variant<WalkerEventIgnore, WalkerEventWait, WalkerEventStopAndCheck>;
WalkerEventVisitor(WalkerManager *manager, ActorId id, double delta)
EventResult operator()(WalkerEventIgnore &event)
EventResult
result of an event
boost::variant2::variant< WalkerEventIgnore, WalkerEventWait, WalkerEventStopAndCheck > WalkerEvent
walker event variant
This file contains definitions of common data structures used in traffic manager.
boost::shared_ptr< T > SharedPtr
Use this SharedPtr (boost::shared_ptr) to keep compatibility with boost::python, but it would be nice...
empty event that just ignores
event to pause and check for near vehicles
bool check_for_trafficlight
WalkerEventStopAndCheck(double duration)
SharedPtr< carla::client::TrafficLight > actor
event to wait for a while
WalkerEventWait(double duration)