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...
SharedPtr< client::Actor > GetActor() const
Get "self" actor. Actor that measured the collision.
This file contains definitions of common data structures used in traffic manager. ...
client::detail::ActorVariant _self_actor
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.
CollisionEvent(const RawData &data)
geom::Vector3D _normal_impulse
Serializes the current state of the whole episode.
SharedPtr< client::Actor > Get(EpisodeProxy episode) const
client::detail::ActorVariant _other_actor
const geom::Vector3D & GetNormalImpulse() const
Normal impulse result of the collision.
SharedPtr< client::Actor > GetOtherActor() const
Get the actor to which we collided.
Wrapper around the raw data generated by a sensor plus some useful meta-information.