|
CARLA
|
#include <CarlaRecorderQuery.h>
Classes | |
| struct | Header |
Public Member Functions | |
| std::string | QueryBlocked (std::string Filename, double MinTime=30, double MinDistance=10) |
| std::string | QueryCollisions (std::string Filename, char Category1='a', char Category2='a') |
| std::string | QueryInfo (std::string Filename, bool bShowAll=false) |
Private Member Functions | |
| bool | CheckFileInfo (std::stringstream &Info) |
| bool | ReadHeader (void) |
| void | SkipPacket (void) |
Definition at line 35 of file CarlaRecorderQuery.h.
|
inlineprivate |
Definition at line 107 of file CarlaRecorderQuery.cpp.
References CarlaRecorderInfo::Date, File, CarlaRecorderInfo::Magic, CarlaRecorderInfo::Mapfile, CarlaRecorderInfo::Read(), RecInfo, and CarlaRecorderInfo::Version.
Referenced by QueryBlocked(), QueryCollisions(), and QueryInfo().
| std::string CarlaRecorderQuery::QueryBlocked | ( | std::string | Filename, |
| double | MinTime = 30, |
||
| double | MinDistance = 10 |
||
| ) |
Definition at line 1028 of file CarlaRecorderQuery.cpp.
References CheckFileInfo(), Collision, CarlaRecorderEventAdd::DatabaseId, CarlaRecorderPosition::DatabaseId, CarlaRecorderEventAdd::Description, CarlaRecorderFrame::DurationThis, CarlaRecorderFrame::Elapsed, EventAdd, EventAdd, EventDel, EventDel, EventParent, File, Frame, FrameEnd, FrameStart, GetRecorderFilename(), CarlaRecorderActorDescription::Id, CarlaRecorderFrame::Id, CarlaRecorderQuery::Header::Id, CarlaRecorderPosition::Location, Position, Position, CarlaRecorderEventAdd::Read(), CarlaRecorderEventDel::Read(), CarlaRecorderFrame::Read(), CarlaRecorderPosition::Read(), ReadHeader(), SkipPacket(), State, and CarlaRecorderEventAdd::Type.
Referenced by ACarlaRecorder::ShowFileActorsBlocked().
| std::string CarlaRecorderQuery::QueryCollisions | ( | std::string | Filename, |
| char | Category1 = 'a', |
||
| char | Category2 = 'a' |
||
| ) |
Definition at line 848 of file CarlaRecorderQuery.cpp.
References CheckFileInfo(), Collision, Collision, CarlaRecorderEventAdd::DatabaseId, CarlaRecorderCollision::DatabaseId1, CarlaRecorderCollision::DatabaseId2, CarlaRecorderEventAdd::Description, CarlaRecorderFrame::Elapsed, EventAdd, EventAdd, EventDel, EventDel, EventParent, File, Frame, FrameEnd, FrameStart, GetRecorderFilename(), CarlaRecorderActorDescription::Id, CarlaRecorderFrame::Id, CarlaRecorderQuery::Header::Id, CarlaRecorderCollision::IsActor1Hero, CarlaRecorderCollision::IsActor2Hero, Position, CarlaRecorderCollision::Read(), CarlaRecorderEventAdd::Read(), CarlaRecorderEventDel::Read(), CarlaRecorderFrame::Read(), ReadHeader(), SkipPacket(), State, and CarlaRecorderEventAdd::Type.
Referenced by ACarlaRecorder::ShowFileCollisions().
| std::string CarlaRecorderQuery::QueryInfo | ( | std::string | Filename, |
| bool | bShowAll = false |
||
| ) |
Definition at line 136 of file CarlaRecorderQuery.cpp.
References ActorBoundingBox, All, CarlaRecorderKinematics::AngularVelocity, AnimBiker, AnimVehicle, AnimVehicleWheels, AnimWalker, CarlaRecorderActorDescription::Attributes, CarlaRecorderAnimVehicle::bHandbrake, Biker, CarlaRecorderLightScene::bOn, CarlaRecorderWalkerBones::Bones, BoundingBox, CarlaRecorderActorBoundingBox::BoundingBox, CarlaRecorderAnimVehicle::Brake, CheckFileInfo(), CarlaRecorderWalkerBones::Clear(), CarlaRecorderWeather::Cloudiness, Collision, Collision, CarlaRecorderLightScene::Color, CarlaRecorderAnimBiker::DatabaseId, CarlaRecorderAnimVehicle::DatabaseId, CarlaRecorderAnimWheels::DatabaseId, CarlaRecorderAnimWalker::DatabaseId, CarlaRecorderActorBoundingBox::DatabaseId, CarlaRecorderDoorVehicle::DatabaseId, CarlaRecorderEventAdd::DatabaseId, CarlaRecorderEventDel::DatabaseId, CarlaRecorderEventParent::DatabaseId, CarlaRecorderKinematics::DatabaseId, CarlaRecorderLightVehicle::DatabaseId, CarlaRecorderPhysicsControl::DatabaseId, CarlaRecorderPosition::DatabaseId, CarlaRecorderStateTrafficLight::DatabaseId, CarlaRecorderTrafficLightTime::DatabaseId, CarlaRecorderWalkerBones::DatabaseId, CarlaRecorderCollision::DatabaseId1, CarlaRecorderCollision::DatabaseId2, CarlaRecorderEventParent::DatabaseIdParent, CarlaRecorderEventAdd::Description, CarlaRecorderDoorVehicle::Doors, DoorVehicle, CarlaRecorderWeather::DustStorm, CarlaRecorderFrame::Elapsed, CarlaRecorderStateTrafficLight::ElapsedTime, CarlaRecorderAnimBiker::EngineRotation, EventAdd, EventAdd, EventDel, EventDel, EventParent, EventParent, CarlaRecorderBoundingBox::Extension, File, FL, CarlaRecorderWeather::FogDensity, CarlaRecorderWeather::FogDistance, CarlaRecorderWeather::FogFalloff, FormatCurveLike(), FormatVectorLike(), CarlaRecorderAnimBiker::ForwardSpeed, FR, Frame, FrameEnd, FrameStart, carla::rpc::VehiclePhysicsControl::FromFVehiclePhysicsControl(), CarlaRecorderAnimVehicle::Gear, GetRecorderFilename(), CarlaRecorderTrafficLightTime::GreenTime, Hood, CarlaRecorderCollision::Id, CarlaRecorderActorDescription::Id, CarlaRecorderFrame::Id, CarlaRecorderQuery::Header::Id, CarlaRecorderLightScene::Intensity, CarlaRecorderCollision::IsActor1Hero, CarlaRecorderCollision::IsActor2Hero, CarlaRecorderStateTrafficLight::IsFrozen, Kinematics, Kinematics, CarlaRecorderLightScene::LightId, LightScene, LightVehicle, CarlaRecorderKinematics::LinearVelocity, CarlaRecorderEventAdd::Location, CarlaRecorderPosition::Location, CarlaRecorderWeather::MieScatteringScale, CarlaRecorderBoundingBox::Origin, PhysicsControl, PhysicsControl, PlatformTime, PlatformTime, Position, Position, CarlaRecorderWeather::Precipitation, CarlaRecorderWeather::PrecipitationDeposits, CarlaRecorderWeather::RayleighScatteringScale, CarlaRecorderVisualTime::Read(), CarlaRecorderWalkerBones::Read(), CarlaRecorderAnimBiker::Read(), CarlaRecorderAnimVehicle::Read(), CarlaRecorderAnimWheels::Read(), CarlaRecorderAnimWalker::Read(), CarlaRecorderActorBoundingBox::Read(), CarlaRecorderCollision::Read(), CarlaRecorderDoorVehicle::Read(), CarlaRecorderEventAdd::Read(), CarlaRecorderEventDel::Read(), CarlaRecorderEventParent::Read(), CarlaRecorderFrame::Read(), CarlaRecorderKinematics::Read(), CarlaRecorderLightScene::Read(), CarlaRecorderLightVehicle::Read(), CarlaRecorderPhysicsControl::Read(), CarlaRecorderPlatformTime::Read(), CarlaRecorderPosition::Read(), CarlaRecorderStateTrafficLight::Read(), CarlaRecorderTrafficLightTime::Read(), CarlaRecorderWeather::Read(), ReadHeader(), CarlaRecorderTrafficLightTime::RedTime, RL, CarlaRecorderPosition::Rotation, RR, CarlaRecorderWeather::ScatteringIntensity, SceneLight, SkipPacket(), CarlaRecorderAnimWalker::Speed, State, CarlaRecorderLightVehicle::State, CarlaRecorderStateTrafficLight::State, StateTraffic, CarlaRecorderAnimVehicle::Steering, CarlaRecorderWeather::SunAltitudeAngle, CarlaRecorderWeather::SunAzimuthAngle, CarlaRecorderAnimVehicle::Throttle, CarlaRecorderPlatformTime::Time, CarlaRecorderVisualTime::Time, TrafficLightTime, TrafficLightTime, TriggerVolume, Trunk, CarlaRecorderEventAdd::Type, Vehicle, VehicleDoor, VehicleLight, CarlaRecorderPhysicsControl::VehiclePhysicsControl, VehicleWheels, VisualTime, VisualTime, Walker, WalkerBones, WalkerBones, Weather, Weather, CarlaRecorderWeather::Wetness, CarlaRecorderAnimWheels::WheelValues, CarlaRecorderWeather::WindIntensity, and CarlaRecorderTrafficLightTime::YellowTime.
Referenced by ACarlaRecorder::ShowFileInfo().
|
inlineprivate |
Definition at line 89 of file CarlaRecorderQuery.cpp.
References File, CarlaRecorderQuery::Header::Id, and CarlaRecorderQuery::Header::Size.
Referenced by QueryBlocked(), QueryCollisions(), and QueryInfo().
|
inlineprivate |
Definition at line 102 of file CarlaRecorderQuery.cpp.
References File, and CarlaRecorderQuery::Header::Size.
Referenced by QueryBlocked(), QueryCollisions(), and QueryInfo().
|
private |
Definition at line 75 of file CarlaRecorderQuery.h.
Referenced by QueryInfo().
|
private |
Definition at line 70 of file CarlaRecorderQuery.h.
Referenced by QueryInfo().
|
private |
Definition at line 65 of file CarlaRecorderQuery.h.
Referenced by QueryCollisions(), and QueryInfo().
|
private |
Definition at line 80 of file CarlaRecorderQuery.h.
Referenced by QueryInfo().
|
private |
Definition at line 61 of file CarlaRecorderQuery.h.
Referenced by QueryBlocked(), QueryCollisions(), and QueryInfo().
|
private |
Definition at line 62 of file CarlaRecorderQuery.h.
Referenced by QueryBlocked(), QueryCollisions(), and QueryInfo().
|
private |
Definition at line 63 of file CarlaRecorderQuery.h.
Referenced by QueryInfo().
|
private |
Definition at line 57 of file CarlaRecorderQuery.h.
Referenced by CheckFileInfo(), QueryBlocked(), QueryCollisions(), QueryInfo(), ReadHeader(), and SkipPacket().
|
private |
Definition at line 60 of file CarlaRecorderQuery.h.
Referenced by QueryBlocked(), QueryCollisions(), and QueryInfo().
|
private |
Definition at line 58 of file CarlaRecorderQuery.h.
|
private |
Definition at line 74 of file CarlaRecorderQuery.h.
Referenced by QueryInfo().
|
private |
Definition at line 73 of file CarlaRecorderQuery.h.
Referenced by QueryInfo().
|
private |
Definition at line 72 of file CarlaRecorderQuery.h.
Referenced by QueryInfo().
|
private |
Definition at line 77 of file CarlaRecorderQuery.h.
Referenced by QueryInfo().
|
private |
Definition at line 76 of file CarlaRecorderQuery.h.
Referenced by QueryInfo().
|
private |
Definition at line 64 of file CarlaRecorderQuery.h.
Referenced by QueryBlocked(), and QueryInfo().
|
private |
Definition at line 59 of file CarlaRecorderQuery.h.
Referenced by CheckFileInfo().
|
private |
Definition at line 66 of file CarlaRecorderQuery.h.
Referenced by QueryInfo().
|
private |
Definition at line 78 of file CarlaRecorderQuery.h.
Referenced by QueryInfo().
|
private |
Definition at line 67 of file CarlaRecorderQuery.h.
Referenced by QueryInfo().
|
private |
Definition at line 69 of file CarlaRecorderQuery.h.
Referenced by QueryInfo().
|
private |
Definition at line 71 of file CarlaRecorderQuery.h.
Referenced by QueryInfo().
|
private |
Definition at line 68 of file CarlaRecorderQuery.h.
Referenced by QueryInfo().
|
private |
Definition at line 79 of file CarlaRecorderQuery.h.
Referenced by QueryInfo().
|
private |
Definition at line 81 of file CarlaRecorderQuery.h.
Referenced by QueryInfo().