Holds an Actor, but only instantiates it when needed.
SharedPtr< client::Actor > Get(EpisodeProxy episode) const
Wrapper around the raw data generated by a sensor plus some useful meta-information.
Base class for all the objects containing data generated by a sensor.
const auto & GetEpisode() const
SensorData(size_t frame, double timestamp, const rpc::Transform &sensor_transform)
SharedPtr< client::Actor > GetActor() const
Get "self" actor. Actor that measured the collision.
SharedPtr< client::Actor > GetOtherActor() const
Get the actor to which we collided.
client::detail::ActorVariant _self_actor
float GetDistance() const
Get obstacle distance.
client::detail::ActorVariant _other_actor
ObstacleDetectionEvent(const RawData &data)
Serializes the current state of the whole episode.
static Data DeserializeRawData(const RawData &message)
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...