djiuser_tsM0hZLAmNo4
 lvl.1
Czechia
Offline
|
Hello,
I am running the Payload sample C++ program with drone M300 using E-Port. All flying actions return some unknown error code, for example:
```
[25.371][user]-[Error]-[DjiTest_FlightControlMonitoredTakeoff:1207) Request to take off failed, error code: 0x000000C7
```
Other functionality that I tried (gimbal, camera) works.
The drone is connected to DJI Assistant 2, so the flying is simulated.
Firmware version: newest - V10.01.0801.
Psdk version: newest - tag 3.10.0
Here is a full log:
```
pisl@obu1:bin$ sudo ./dji_sdk_demo_linux_cxx
'Logs/latest.log' -> 'DJI_0010_20250213_07-34-38.log'
[0.031][core]-[Info]-[DjiCore_Init:107) Payload SDK Version : V3.10.0-beta.0-build.2190 Jan 9 2025 21:52:37
[3.191][utils]-[Info]-[DjiSdkVersionAck_Parse:183) Identify aircraft serial number = 1ZNDHAN00CVWE9, Firmware = 3.4.18.68
[3.194][adapter]-[Info]-[DjiAccessAdapter_Init:314) Identify aircraft series is Matrice 300 Series
[3.194][adapter]-[Info]-[DjiAccessAdapter_Init:353) Identify mount position type is Extension Port Type
[3.212][adapter]-[Info]-[DjiAccessAdapter_Init:475) Identity uart0 baudrate is 460800 bps
[3.212][adapter]-[Info]-[DjiPayloadNegotiate_Init:134) No need negotiate device info
[4.402][core]-[Info]-[DjiIdentityVerify_UpdatePolicy:493) Updating dji sdk policy file...
[5.402][core]-[Info]-[DjiIdentityVerify_UpdatePolicy:501) Update dji sdk policy file successfully
[5.409][core]-[Info]-[DjiCore_Init:169) Identify AircraftType = Matrice 300 RTK, MountPosition = Extension Port, SdkAdapterType = None
[5.467][core]-[Info]-[DjiCore_SetAlias:186) Set alias: PSDK_APPALIAS
[5.467][gimbal]-[Error]-[DjiGimbal_Init:205) Can't support this function
[5.467][user]-[Error]-[DjiTest_GimbalStartService:154) init gimbal module error: 0x000000E0
[5.467][user]-[Error]-[DjiUser_ApplicationStart:316) psdk gimbal init error
[5.974][user]-[Info]-[SetVolume:581) Set widget speaker volume: 60
[5.974][user]-[Warn]-[SetVolume:599) No audio device found, please add audio device and init speaker volume here!!!
[10.976][core]-[Info]-[DjiCore_ApplicationStart:247) Start dji sdk application
[10.976][user]-[Info]-[DjiUser_ApplicationStart:363) Application start.
| Available commands: |
| [0] Fc subscribe sample - subscribe quaternion and gps data |
| [1] Flight controller sample - you can control flying by PSDK |
| [2] Hms info manager sample - get health manger system info by language |
| [a] Gimbal manager sample - you can control gimbal by PSDK |
| [c] Camera stream view sample - display the camera video stream |
| [d] Stereo vision view sample - display the stereo image |
| [e] Run camera manager sample - you can test camera's functions interactively |
| [f] Start rtk positioning sample - you can receive rtk rtcm data when rtk signal is ok |
1
| Available commands: |
| [0] Flight controller sample - control flying with keyboard |
| [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 |
| [6] Flight controller sample - set get parameters |
| [7] Waypoint 2.0 sample - run airline mission by settings (only support on M300 RTK) |
| [8] Waypoint 3.0 sample - run airline mission by kmz file (not support on M300 RTK) |
| [9] Interest point sample - run interest point mission by settings (only support on M3E/M3T) |
| [a] EU-C6 FTS trigger sample - receive fts callback to trigger parachute function (only support on M3D/M3DT) |
2
[24.332][flight]-[Warn]-[DjiFlightController_RegJoystickCtrlAuthorityEventCallback:698) Not support on this aircraft type.
[24.332][user]-[Info]-[DjiTest_FlightControlPositionControlSample:307) Flight control move-by-position sample start
[24.332][user]-[Info]-[DjiTest_FlightControlPositionControlSample:310) --> Step 1: Obtain joystick control authority.
[25.352][user]-[Info]-[DjiTest_FlightControlPositionControlSample:319) --> Step 2: Take off
[25.371][errno]-[Error]-[DjiError_GetErrorMsgElements:85) Search error object failed.
[25.371][errno]-[Error]-[DjiError_GetErrorMsgElements:102) Print error message failed, error code is 0x1D000000C7.
[25.371][flight]-[Error]-[DjiFlightController_Action_M300:267) (null)(null)(null)
[25.371][user]-[Error]-[DjiTest_FlightControlMonitoredTakeoff:1207) Request to take off failed, error code: 0x000000C7
[25.371][user]-[Error]-[DjiTest_FlightControlPositionControlSample:322) Take off failed
[25.371][user]-[Info]-[DjiTest_FlightControlPositionControlSample:368) Flight control move-by-position sample end
| Available commands: |
| [0] Flight controller sample - control flying with keyboard |
| [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 |
| [6] Flight controller sample - set get parameters |
| [7] Waypoint 2.0 sample - run airline mission by settings (only support on M300 RTK) |
| [8] Waypoint 3.0 sample - run airline mission by kmz file (not support on M300 RTK) |
| [9] Interest point sample - run interest point mission by settings (only support on M3E/M3T) |
| [a] EU-C6 FTS trigger sample - receive fts callback to trigger parachute function (only support on M3D/M3DT) |
3
[36.211][flight]-[Warn]-[DjiFlightController_RegJoystickCtrlAuthorityEventCallback:698) Not support on this aircraft type.
[36.211][user]-[Info]-[DjiTest_FlightControlGoHomeForceLandingSample:376) Flight control go-home-force-landing sample start
[36.211][user]-[Info]-[DjiTest_FlightControlGoHomeForceLandingSample:379) --> Step 1: Obtain joystick control authority
[37.231][user]-[Info]-[DjiTest_FlightControlGoHomeForceLandingSample:388) --> Step 2: Take off
[37.251][errno]-[Error]-[DjiError_GetErrorMsgElements:85) Search error object failed.
[37.251][errno]-[Error]-[DjiError_GetErrorMsgElements:102) Print error message failed, error code is 0x1D000000C7.
[37.251][flight]-[Error]-[DjiFlightController_Action_M300:267) (null)(null)(null)
[37.251][user]-[Error]-[DjiTest_FlightControlMonitoredTakeoff:1207) Request to take off failed, error code: 0x000000C7
[37.251][user]-[Error]-[DjiTest_FlightControlGoHomeForceLandingSample:391) Take off failed
[37.251][user]-[Info]-[DjiTest_FlightControlGoHomeForceLandingSample:462) Flight control go-home-force-landing sample end
| Available commands: |
| [0] Flight controller sample - control flying with keyboard |
| [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 |
| [6] Flight controller sample - set get parameters |
| [7] Waypoint 2.0 sample - run airline mission by settings (only support on M300 RTK) |
| [8] Waypoint 3.0 sample - run airline mission by kmz file (not support on M300 RTK) |
| [9] Interest point sample - run interest point mission by settings (only support on M3E/M3T) |
| [a] EU-C6 FTS trigger sample - receive fts callback to trigger parachute function (only support on M3D/M3DT) |
4
[42.151][sub]-[Warn]-[DjiDataSubscriptionDb2p_SubscribeSpecialTopic:185) Special handler for data subscription is full.
[42.151][user]-[Warn]-[DjiTest_FlightControlInit:191) Subscribe topic quaternion duplicate
[42.390][flight]-[Warn]-[DjiFlightController_RegJoystickCtrlAuthorityEventCallback:698) Not support on this aircraft type.
[42.390][user]-[Info]-[DjiTest_FlightControlVelocityControlSample:470) Flight control move-by-velocity sample start
[42.390][user]-[Info]-[DjiTest_FlightControlVelocityControlSample:473) --> Step 1: Obtain joystick control authority
[43.411][user]-[Info]-[DjiTest_FlightControlVelocityControlSample:482) --> Step 2: Take off
[43.432][errno]-[Error]-[DjiError_GetErrorMsgElements:85) Search error object failed.
[43.432][errno]-[Error]-[DjiError_GetErrorMsgElements:102) Print error message failed, error code is 0x1D000000C7.
[43.432][flight]-[Error]-[DjiFlightController_Action_M300:267) (null)(null)(null)
[43.432][user]-[Error]-[DjiTest_FlightControlMonitoredTakeoff:1207) Request to take off failed, error code: 0x000000C7
[43.432][user]-[Error]-[DjiTest_FlightControlVelocityControlSample:485) Take off failed
[43.432][user]-[Info]-[DjiTest_FlightControlVelocityControlSample:589) Flight control move-by-velocity sample end
| Available commands: |
| [0] Flight controller sample - control flying with keyboard |
| [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 |
| [6] Flight controller sample - set get parameters |
| [7] Waypoint 2.0 sample - run airline mission by settings (only support on M300 RTK) |
| [8] Waypoint 3.0 sample - run airline mission by kmz file (not support on M300 RTK) |
| [9] Interest point sample - run interest point mission by settings (only support on M3E/M3T) |
| [a] EU-C6 FTS trigger sample - receive fts callback to trigger parachute function (only support on M3D/M3DT) |
```
Is there anything I can do to fix this error? Thank you.
|
|