Closed huongta157 closed 2 months ago
Agent comment from yating.liao in Zendesk ticket #104810:
The reason why the mission cannot be initiated is that the aircraft cannot recognize the target selected. If the aircraft does not enter the AIRCRAFT_FOLLOWING state after you input the selected target, you will need to adjust the box-selected target so that the aircraft can recognize it correctly.
The air 2s supports automatic target recognition function, you can also try using it.
°°°
automatic target recognition function
@dji-dev Any document for this function?
Agent comment from yating.liao in Zendesk ticket #104810:
Currently, we do not have specific documentation explaining it because it is just a part of the intelligent tracking feature. enableAutoSensing
is the switch to enable target recognition. In the listener of ActiveTrackOperator
, you can obtain TrackingState
, where you can get the targets recognized by the aircraft and their positions on the screen.
°°°
@dji-dev Thank you for answer, but it still does not work, any other ideas?
Agent comment from yating.liao in Zendesk ticket #104810:
Based on the error message you provided, the aircraft did not recognize the target you outlined. You will need to re-outline the target you want the aircraft to follow and try initiating the follow mode again. Generally, people, cars, and boats are good targets for follow mode.
The mention of the automatic recognition feature is because once the automatic recognition feature is enabled, the aircraft will show the targets it has recognized, preventing situations where the aircraft fails to recognize a target. However, these recognized targets may not be the ones you are looking for.
Here is a sample code for your reference:https://github.com/DJI-Mobile-SDK-Tutorials/Android-Phantom4Missions
°°°
@dji-dev thank you so much
Agent comment from yating.liao in Zendesk ticket #104810:
I am glad to help you.
°°°
Please help me check it.