MSDK 5.2.0 bug - FileListState and getMediaFileListData
已完成Hi,
After taking photos, fileListState is set to UPDATING and then to UP_TO_DATE, but when calling getMediaFileListData().getData() old media files list is returned instead of an updated one.
Real example:
1. fileListState = IDLE
2. Called pullMediaFileListFromCamera() and getMediaFileListData().getData()
to get updated mediaFileList.
3. WaypointMission started, photos were taken
4. drone landed, fileListState = UP_TO_DATE
5. Called getMediaFileListData().getData()
6. Got an old outdated mediaFileList.
Log:
Before taking photos:
fileListState=IDLE
called pullMediaFileListFromCamera()
getMediaFileListData().getData().size=5827
After taking photos:
fileListState=UP_TO_DATE
did not call pullMediaFileListFromCamera()
getMediaFileListData().getData().size=5827
I think mediaFileList state should be IDLE after taking photos - calling pullMediaFileListFromCamera() should set the state to UP_TO_DATE.
请先登录再写评论。
评论
3 条评论