Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error color in water reflection using front camera #4985

Open
niuoruo opened this issue Sep 25, 2024 · 0 comments
Open

Error color in water reflection using front camera #4985

niuoruo opened this issue Sep 25, 2024 · 0 comments

Comments

@niuoruo
Copy link

niuoruo commented Sep 25, 2024

Bug report

  • AirSim Version/#commit: v1.5.0
  • UE/Unity version: 4.25
  • OS Version: ubuntu20.04

What's the issue you encountered?

I get error color from the water surface when using front camera whether in UE4 subwindow or in python but it's true when using UE4 camera.

20240925-170337.mp4
20240925-170639.mp4

Settings

{
"SettingsVersion": 1.2,
"SimMode": "Multirotor",
"DefaultVehicleConfig": "SimpleFlight",
"ViewMode": "FlyWithMe",
"UsageScenario": "",
"RpcEnabled": true,

"SubWindows": [
{
"WindowID": 0,
"CameraName": "front_center",
"ImageType": 0,
"Visible": true
},
{
"WindowID": 1,
"CameraName": "front_center",
"ImageType": 2,
"Visible": true
},
{
"WindowID": 2,
"CameraID": 3,
"ImageType": 0,
"Visible": true
}
],
"CameraDefaults": {
"CaptureSettings": [
{
"ImageType": 0,
"Width": 640,
"Height": 480,
"FOV_Degrees": 80,
"AutoExposureSpeed": 100,
"AutoExposureBias": 0,
"AutoExposureMaxBrightness": 0.64,
"AutoExposureMinBrightness": 0.03,
"MotionBlurAmount": 0,
"TargetGamma": 1.0
},
{
"ImageType": 2,
"Width": 640,
"Height": 480,
"FOV_Degrees": 80
}
]
},
"Vehicles": {
"drone_1": {
"VehicleType": "SimpleFlight",
"DefaultVehicleState": "Armed",
"EnableCollisionPassthrough": true,
"EnableCollisions": true,
"AllowAPIAlways": true,
"RC": {
"RemoteControlID": -1,
"AllowAPIWhenDisconnected": false
},
"Cameras": {
"front_center": {
"CaptureSettings": [
{
"ImageType": 0,
"Width": 1280,
"Height": 960,
"FOV_Degrees": 80,
"TargetGamma": 1.0
},
{
"ImageType": 2,
"Width": 640,
"Height": 480,
"FOV_Degrees": 60
}
],
"X": 0.125,
"Y": 0,
"Z": 0,
"Pitch": 0,
"Roll": 0,
"Yaw": 0
}
},
"Sensors": {
"Imu": {
"SensorType": 2,
"Enabled": true,
"AngularRandomWalk": 0.3,
"GyroBiasStabilityTau": 500,
"GyroBiasStability": 4.6,
"VelocityRandomWalk": 0.24,
"AccelBiasStabilityTau": 800,
"AccelBiasStability": 36
},
"LidarSensor1": {
"SensorType": 6,
"Enabled" : true,
"NumberOfChannels": 16,
"PointsPerSecond": 10000,
"X": 0, "Y": 0, "Z": -1,
"DrawDebugPoints": true
}
}
}
},
"OriginGeopoint": {
"Latitude": 0.641468,
"Longitude": 0.140165,
"Altitude": 122
}

}

How can the issue be reproduced?

1.Add a surface with low roughness
2.show it in front camera

Include full error message in text form

What's better than filing an issue? Filing a pull request :).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant