A registered collision. 更多...
#include <CollisionEvent.h>
类 carla::sensor::data::CollisionEvent 继承关系图:
carla::sensor::data::CollisionEvent 的协作图:Public 成员函数 | |
| SharedPtr< client::Actor > | GetActor () const |
| Get "self" actor. Actor that measured the collision. 更多... | |
| const geom::Vector3D & | GetNormalImpulse () const |
| Normal impulse result of the collision. 更多... | |
| SharedPtr< client::Actor > | GetOtherActor () const |
| Get the actor to which we collided. 更多... | |
Public 成员函数 继承自 carla::sensor::SensorData | |
| size_t | GetFrame () const |
| 获取数据生成时的帧计数 更多... | |
| const rpc::Transform & | GetSensorTransform () const |
| 获取数据生成时的传感器变换 更多... | |
| double | GetTimestamp () const |
| 获取数据生成时的仿真时间 更多... | |
| virtual | ~SensorData ()=default |
Protected 类型 | |
| using | Serializer = s11n::CollisionEventSerializer |
Protected 成员函数 | |
| CollisionEvent (const RawData &data) | |
Protected 成员函数 继承自 carla::sensor::SensorData | |
| const auto & | GetEpisode () const |
| SensorData (const RawData &data) | |
| SensorData (size_t frame, double timestamp, const rpc::Transform &sensor_transform) | |
Protected 属性 | |
| friend | Serializer |
Private 类型 | |
| using | Super = SensorData |
Private 属性 | |
| geom::Vector3D | _normal_impulse |
| client::detail::ActorVariant | _other_actor |
| client::detail::ActorVariant | _self_actor |
A registered collision.
在文件 CollisionEvent.h 第 26 行定义.
在文件 CollisionEvent.h 第 31 行定义.
|
private |
在文件 CollisionEvent.h 第 28 行定义.
|
inlineexplicitprotected |
在文件 CollisionEvent.h 第 36 行定义.
|
inline |
Get "self" actor. Actor that measured the collision.
在文件 CollisionEvent.h 第 49 行定义.
引用了 _self_actor, carla::client::detail::ActorVariant::Get() , 以及 carla::sensor::SensorData::GetEpisode().
函数调用图:
|
inline |
|
inline |
Get the actor to which we collided.
在文件 CollisionEvent.h 第 55 行定义.
引用了 _other_actor, carla::client::detail::ActorVariant::Get() , 以及 carla::sensor::SensorData::GetEpisode().
函数调用图:
|
private |
在文件 CollisionEvent.h 第 71 行定义.
被这些函数引用 GetNormalImpulse().
|
private |
在文件 CollisionEvent.h 第 69 行定义.
被这些函数引用 GetOtherActor().
|
private |
在文件 CollisionEvent.h 第 67 行定义.
被这些函数引用 GetActor().
|
protected |
在文件 CollisionEvent.h 第 33 行定义.