You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you change CARLA_CLASS["Other"] in your call to self.client.simSetSegmentationObjectID("Plane_223[\w]*", CARLA_CLASS["Other"], True) to an integer literal between 0-255, do you still get the same return value?
Question
What's your question?
simSetSegmentationObjectID might fail to find some objects, although their mesh names are in the unreal engine project.
self.client.simSetSegmentationObjectID("Plane_223[\w]*", CARLA_CLASS["Other"], True)
self.client.simSetSegmentationObjectID("Plane_223", CARLA_CLASS["Other"], False)
They return False, but they should return True.
Include context on what you are trying to achieve
Context details
json:
{
"SeeDocsAt": "https://github.com/Microsoft/AirSim/blob/master/docs/settings.md",
"SettingsVersion": 1.2,
"SimMode": "Multirotor",
"Recording": {
"RecordOnMove": false,
"RecordInterval": 0.05,
"Cameras": [
{ "CameraName": "0", "ImageType": 0, "PixelsAsFloat": false, "Compress": false },
{ "CameraName": "1", "ImageType": 0, "PixelsAsFloat": false, "Compress": false },
{ "CameraName": "2", "ImageType": 0, "PixelsAsFloat": false, "Compress": false },
{ "CameraName": "3", "ImageType": 0, "PixelsAsFloat": false, "Compress": false }
]
},
"CameraDefaults": {
"CaptureSettings": [
{
"ImageType": 0,
"Width": 2048,
"Height": 1024,
"FOV_Degrees": 90,
"AutoExposureSpeed": 100,
"AutoExposureBias": 0,
"AutoExposureMaxBrightness": 0.64,
"AutoExposureMinBrightness": 0.03,
"MotionBlurAmount": 0,
"TargetGamma": 1.0,
"ProjectionMode": "",
"OrthoWidth": 5.12
},
{
"ImageType": 1,
"Width": 2048,
"Height": 1024,
"FOV_Degrees": 90,
"AutoExposureSpeed": 100,
"AutoExposureBias": 0,
"AutoExposureMaxBrightness": 0.64,
"AutoExposureMinBrightness": 0.03,
"MotionBlurAmount": 0,
"TargetGamma": 1.0,
"ProjectionMode": "",
"OrthoWidth": 5.12
},
{
"ImageType": 2,
"Width": 2048,
"Height": 1024,
"FOV_Degrees": 90,
"AutoExposureSpeed": 100,
"AutoExposureBias": 0,
"AutoExposureMaxBrightness": 0.64,
"AutoExposureMinBrightness": 0.03,
"MotionBlurAmount": 0,
"TargetGamma": 1.0,
"ProjectionMode": "",
"OrthoWidth": 5.12
},
{
"ImageType": 3,
"Width": 2048,
"Height": 1024,
"FOV_Degrees": 90,
"AutoExposureSpeed": 100,
"AutoExposureBias": 0,
"AutoExposureMaxBrightness": 0.64,
"AutoExposureMinBrightness": 0.03,
"MotionBlurAmount": 0,
"TargetGamma": 1.0,
"ProjectionMode": "",
"OrthoWidth": 5.12
},
{
"ImageType": 5,
"Width": 2048,
"Height": 1024,
"FOV_Degrees": 90,
"AutoExposureSpeed": 100,
"AutoExposureBias": 0,
"AutoExposureMaxBrightness": 0.64,
"AutoExposureMinBrightness": 0.03,
"MotionBlurAmount": 0,
"TargetGamma": 1.0,
"ProjectionMode": "",
"OrthoWidth": 5.12
}
],
"Gimbal": {
"Stabilization": 1
}
},
"SubWindows": [
{"WindowID": 0, "CameraName": "0", "ImageType": 0, "Visible": true},
{"WindowID": 1, "CameraName": "0", "ImageType": 5, "Visible": true},
{"WindowID": 2, "CameraName": "2", "ImageType": 0, "Visible": true}
],
"Vehicles": {
"SimpleFlight": {
"VehicleType": "SimpleFlight",
"Cameras": {
"0": {
"CaptureSettings": [
{
"ImageType": 0,
"Width": 2048,
"Height": 1024},
{
"ImageType": 5,
"Width": 2048,
"Height": 1024}
],
}
}
Include details of what you already did to find answers
The text was updated successfully, but these errors were encountered: