Moving tick_interval property from collision camera to Lidar camera.

This commit is contained in:
bernat 2019-01-10 15:12:43 +01:00 committed by nsubiron
parent 8a8db23f86
commit 8e611f0c13
2 changed files with 2 additions and 1 deletions

View File

@ -1,6 +1,7 @@
## Latest changes ## Latest changes
* Added point transformation functionality for LibCarla and PythonAPI * Added point transformation functionality for LibCarla and PythonAPI
* Added "sensor_tick" attribute to sensors (cameras and lidars) to specify the capture rate in seconds
* Added support for Deepin in PythonAPI's setup.py * Added support for Deepin in PythonAPI's setup.py
## CARLA 0.9.2 ## CARLA 0.9.2

View File

@ -238,7 +238,6 @@ FActorDefinition UActorBlueprintFunctionLibrary::MakeGenericSensorDefinition(
FActorDefinition Definition; FActorDefinition Definition;
FillIdAndTags(Definition, TEXT("sensor"), Type, Id); FillIdAndTags(Definition, TEXT("sensor"), Type, Id);
AddRecommendedValuesForSensorRoleNames(Definition); AddRecommendedValuesForSensorRoleNames(Definition);
AddVariationsForSensor(Definition);
return Definition; return Definition;
} }
@ -312,6 +311,7 @@ void UActorBlueprintFunctionLibrary::MakeLidarDefinition(
{ {
FillIdAndTags(Definition, TEXT("sensor"), TEXT("lidar"), Id); FillIdAndTags(Definition, TEXT("sensor"), TEXT("lidar"), Id);
AddRecommendedValuesForSensorRoleNames(Definition); AddRecommendedValuesForSensorRoleNames(Definition);
AddVariationsForSensor(Definition);
// Number of channels. // Number of channels.
FActorVariation Channels; FActorVariation Channels;
Channels.Id = TEXT("channels"); Channels.Id = TEXT("channels");