13 #include "DVSCamera.generated.h" 31 return static_cast<std::int64_t
>(seconds * 1e9);
36 return static_cast<double>(nanoseconds) / 1e9;
49 ADVSCamera(const FObjectInitializer &ObjectInitializer);
54 virtual
void PostPhysTick(UWorld *World, ELevelTick TickType,
float DeltaTime) override;
55 void ImageToGray(const TArray<FColor> &image);
56 void ImageToLogGray(const TArray<FColor> &image);
61 TArray<
float> last_image, prev_image;
64 TArray<
float> ref_values;
67 TArray<
double> last_event_timestamp;
70 std::int64_t current_time;
std::vector<::carla::sensor::data::DVSEvent > DVSEventArray
A sensor that produces data by applying post-process materials (shaders) to a scene capture image...
This file contains definitions of common data structures used in traffic manager. ...
std::uint64_t refractory_period_ns
A definition of a Carla Actor with all the variation and attributes.
A description of a Carla Actor with all its variation.
constexpr std::int64_t secToNanosec(double seconds)
DVS Configuration structure.
Sensor that produce Dynamic Vision Events.
constexpr double nanosecToSecTrunc(std::int64_t nanoseconds)