PSDK kill motor command no longer works
412 0 2023-7-5
Uploading and Loding Picture ...(0/1)
o(^-^)o
FantasticMrFox
lvl.1

Australia
Offline

In PSDK 3.4, the command:

  std::string message = "Cmd Kill";

    DjiFlightController_EmergencyStopMotor(
        DJI_FLIGHT_CONTROLLER_ENABLE_EMERGENCY_STOP_MOTOR, message.data()
    );



would successfully kill the motors on the drone. Now in PSDK 3.5 we get the following output:


[INFO ] [DJI_LOG] | [692157.952][linker]-[Warn]-[DjiCommand_SendAsyncHandle:875) Command async send retry: index = 0, retryTimes = 3, cmdSet = 3, cmdId = 14
[INFO ] [DJI_LOG] | [692158.953][linker]-[Warn]-[DjiCommand_SendAsyncHandle:875) Command async send retry: index = 0, retryTimes = 2, cmdSet = 3, cmdId = 14
[INFO ] [DJI_LOG] | [692159.954][linker]-[Warn]-[DjiCommand_SendAsyncHandle:875) Command async send retry: index = 0, retryTimes = 1, cmdSet = 3, cmdId = 14
[INFO ] [DJI_LOG] | [692160.955][linker]-[Error]-[DjiCommand_SendAsyncHandle:887) Command async send error 0
[INFO ] [DJI_LOG] | [692160.955][linker]-[Error]-[DjiCommand_SendSync:488) sendSync callback timeout
[INFO ] [DJI_LOG] | [692160.955][flight]-[Error]-[DjiFlightController_EmergencyStopMotor_M350:856) Request emergency stop motor failed, error:0x000000E1.
[INFO ] [DJI_LOG] | [692160.955][flight]-[Error]-[DjiFlightController_EmergencyStopMotor_M350:857) Execution timeout. Suggestion : Please contact DJI for help.


Did something break?

2023-7-5
Use props
Advanced
You need to log in before you can reply Login | Register now

Credit Rules