SharedPtr< client::Actor > Get(EpisodeProxy episode) const
包装一个传感器生成的原始数据以及一些有用的元信息。
const auto & GetEpisode() const
SensorData(size_t frame, double timestamp, const rpc::Transform &sensor_transform)
const geom::Vector3D & GetNormalImpulse() const
Normal impulse result of the collision.
geom::Vector3D _normal_impulse
SharedPtr< client::Actor > GetOtherActor() const
Get the actor to which we collided.
SharedPtr< client::Actor > GetActor() const
Get "self" actor. Actor that measured the collision.
client::detail::ActorVariant _self_actor
client::detail::ActorVariant _other_actor
CollisionEvent(const RawData &data)
boost::shared_ptr< T > SharedPtr
使用这个SharedPtr(boost::shared_ptr)以保持与boost::python的兼容性, 但未来如果可能的话,我们希望能为std::shared_ptr制作一个Python适配器。