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
* 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
## CARLA 0.9.2

View File

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