When using a custom-defined sensor in the Windows application, the image spacing for Mapping appears to be incorrect.
Specifically, the spacing behaves as if the image orientation (landscape vs portrait) is swapped.
It seems that the default spacing calculation is effectively handled as if the camera is always in portrait mode. As a result, when capturing images in landscape mode, the spacing corresponds to portrait behavior, and vice versa.
Currently, the only workaround is to manually swap the sensor width and height values in the custom settings when changing orientation.
Question: Can someone confirm if this behavior is expected, or if my understanding/calculation is incorrect?
Suggestion: If this is indeed an issue, it might help to:
- Allow explicit definition of camera orientation (landscape/portrait), or
- Ensure that sensor width/height are correctly applied based on the selected orientation during spacing calculation
https://github.com/YarosMallorca/DJI-Mapper/blob/10ab6b866c337edeef33f6117ae64ee91ca9de23/lib/core/drone_mapping_engine.dart#L63
When using a custom-defined sensor in the Windows application, the image spacing for Mapping appears to be incorrect.
Specifically, the spacing behaves as if the image orientation (landscape vs portrait) is swapped.
It seems that the default spacing calculation is effectively handled as if the camera is always in portrait mode. As a result, when capturing images in landscape mode, the spacing corresponds to portrait behavior, and vice versa.
Currently, the only workaround is to manually swap the sensor width and height values in the custom settings when changing orientation.
Question: Can someone confirm if this behavior is expected, or if my understanding/calculation is incorrect?
Suggestion: If this is indeed an issue, it might help to:
- Allow explicit definition of camera orientation (landscape/portrait), or
- Ensure that sensor width/height are correctly applied based on the selected orientation during spacing calculation
https://github.com/YarosMallorca/DJI-Mapper/blob/10ab6b866c337edeef33f6117ae64ee91ca9de23/lib/core/drone_mapping_engine.dart#L63