djiuser_KtYl0gScr6EJ
 lvl.2
Australia
Offline
|
I have compiled the PSDK c++ and C example for V3.3 from here:
https://github.com/dji-sdk/Payload-SDK/tree/release/v3.3
When i run it, i am able to connect with both UART and ethernet and i get this message to confirm it:
```
[13.433][core]-[Info]-[DjiIdentityVerify_UpdatePolicy:411) Updating dji sdk policy file...
[14.433][core]-[Info]-[DjiIdentityVerify_UpdatePolicy:414) Update dji sdk policy file successfully
[15.504][infor]-[Info]-[DjiAircraftInfo_GetAdapterSerialNumber:646) Get serial number of Skyport V2 or X-Port is 39CBK350010094
[15.504][core]-[Info]-[DjiCore_Init:163) Identify AircraftType = Matrice 300 RTK, MountPosition = Payload Port NO3, SdkAdapterType = Skyport V2
[15.568][core]-[Info]-[DjiCore_ApplicationStart:223) Start dji sdk application
```
I can run some of the examples, for eg. the example labelled:
```
| [0] Fc subscribe sample - subscribe quaternion and gps data |
```
Works just fine and allows me to connect to battery information. However, if i try to run any of the flight control examples:
```
| [1] Flight controller sample - take off landing |
| [2] Flight controller sample - take off position ctrl landing |
| [3] Flight controller sample - take off go home force landing |
| [4] Flight controller sample - take off velocity ctrl landing |
| [5] Flight controller sample - arrest flying |
```
Then i get the following error:
```
[32.873][flight]-[Error]-[DjiFlightController_Init:124) Don't support this module on this aircraft series and mount position
[32.873][user]-[Error]-[DjiTest_FlightControlInit:148) Init flight controller module failed, error code:0x000000E0
[32.873][user]-[Error]-[DjiTest_FlightControlRunSample:121) Init flight Control sample failed,error code:0x000000E0
```
Can you use the PSDK to control the DJI M300 RTK? If so what am i doing wrong?
|
|