client::detail::ActorVariant _self_actor
Holds an Actor, but only instantiates it when needed.
boost::shared_ptr< T > SharedPtr
Use this SharedPtr (boost::shared_ptr) to keep compatibility with boost::python, but it would be nice...
This file contains definitions of common data structures used in traffic manager. ...
static Data DeserializeRawData(const RawData &message)
const auto & GetEpisode() const
SensorData(size_t frame, double timestamp, const rpc::Transform &sensor_transform)
Base class for all the objects containing data generated by a sensor.
SharedPtr< client::Actor > GetActor() const
Get "self" actor. Actor that measured the collision.
client::detail::ActorVariant _other_actor
SharedPtr< client::Actor > GetOtherActor() const
Get the actor to which we collided.
SharedPtr< client::Actor > Get(EpisodeProxy episode) const
Serializes the current state of the whole episode.
float GetDistance() const
Get obstacle distance.
ObstacleDetectionEvent(const RawData &data)
Wrapper around the raw data generated by a sensor plus some useful meta-information.