Title: Can we provide position data to the flight controller via DJI Onboard SDK?
Tags: dji-sdk
Question: We will use the drone indoors, and GPS will not work. So we want to provide position data from other source to the flight controller via DJI Onboard SDK, and make the flight controller know its current position. Is there any way to do this?
I suppose we can provide such data to Dronecode drone by ATT_POS_MOCAP message described here. I am looking for an equivalent for DJI drone.

Here is the accepted answer: unfortunately it is not possible to inject state information into DJI flight controllers at this time. The state estimation, state monitoring and various error checking mechanisms are deeply coupled within the flight controller, and that requires position estimation only through the pre-configured sensors (GPS, IMU and if available vision).
If you are using M100 or M210, you can use vision data (M100 needs the add-on Guidance module) to provide a position estimate to the FC. This is not possible with A3, N3 or M600/Pro.
Comment for this answer: Hi Rohit, I understand you can use the vision data or maybe some external source but the issue remains how can this be fed to the drone? I would like to do this using dji_sdk package in ROS. Thanks.


{'source': 'StackExchangeDataset', 'subset': 'stackoverflow.com', 'metadata': {'AnswerCount': 1, 'CommentCount': 0, 'ContentLicense': 'CC BY-SA 3.0', 'CreationDate': '2018:00:01/17/18', 'FavoriteCount': None, 'PostTypeId': 1, 'Tags': '<dji-sdk>', 'Title': 'Can we provide position data to the flight controller via DJI Onboard SDK?', 'ViewCount': 530, 'id': 48299824, 'user_AboutMe': None, 'user_AccountId': 12702546.0, 'user_DisplayName': 'jsow', 'user_Reputation': 23.0, 'user_Views': 9.0, 'user_id': 9228835.0}}