Unable to Perform Sample V2 Waypoint 2.0 - Run Airline Mission on M300 RTK
已完成I encountered the following error while attempting to perform the Sample V2 Waypoint 2.0 - run airline mission:
[14.543][user]-[Info]-[DjiTest_WaypointV2RunSample:96) Waypoint V2 sample start
[14.543][user]-[Info]-[DjiTest_WaypointV2RunSample:99) --> Step 1: Init Waypoint V2 sample
[14.543][user]-[Info]-[DjiTest_WaypointV2RunSample:108) --> Step 2: Subscribe GPS fused data
[14.596][user]-[Info]-[DjiTest_WaypointV2RunSample:117) --> Step 3: Register waypoint V2 event and state callback[14.600][user]-[Info]-[DjiTest_WaypointV2StateCallback:377) [Waypoint Index:0]: State: Ground station not started, velocity: 0.00 m/s
[15.596][user]-[Info]-[DjiTest_WaypointV2RunSample:131) --> Step 4: Upload waypoint V2 mission[15.600][user]-[Info]-[DjiTest_WaypointV2StateCallback:377) [Waypoint Index:0]: State: Ground station not started, velocity: 0.00 m/s
[16.601][user]-[Info]-[DjiTest_WaypointV2StateCallback:377) [Waypoint Index:0]: State: Ground station not started, velocity: 0.00 m/s
[17.700][user]-[Info]-[DjiTest_WaypointV2StateCallback:377) [Waypoint Index:0]: State: Ground station not started, velocity: 0.00 m/s
[17.946][user]-[Info]-[DjiTest_WaypointV2RunSample:140) --> Step 5: Start waypoint V2 mission[18.034][user]-[Info]-[DjiTest_WaypointV2EventCallback:341) [Stop Event]: Mission exit reason is 0x23
[18.701][user]-[Info]-[DjiTest_WaypointV2StateCallback:377) [Waypoint Index:0]: State: Ground station not started, velocity: 0.00 m/s
[18.740][user]-[Info]-[DjiTest_WaypointV2EventCallback:341) [Stop Event]: Mission exit reason is 0x23
[19.460][user]-[Info]-[DjiTest_WaypointV2EventCallback:341) [Stop Event]: Mission exit reason is 0x23
[19.801][user]-[Info]-[DjiTest_WaypointV2StateCallback:377) [Waypoint Index:0]: State: Ground station not started, velocity: 0.00 m/s
[20.900][user]-[Info]-[DjiTest_WaypointV2StateCallback:377) [Waypoint Index:0]: State: Ground station not started, velocity: 0.00 m/s
[21.900][user]-[Info]-[DjiTest_WaypointV2StateCallback:377) [Waypoint Index:0]: State: Ground station not started, velocity: 0.00 m/s
[22.900][user]-[Info]-[DjiTest_WaypointV2StateCallback:377) [Waypoint Index:0]: State: Ground station not started, velocity: 0.00 m/s
[23.900][user]-[Info]-[DjiTest_WaypointV2StateCallback:377) [Waypoint Index:0]: State: Ground station not started, velocity: 0.00 m/s
[26.284][user]-[Info]-[DjiTest_WaypointV2StateCallback:377) [Waypoint Index:0]: State: Ground station not started, velocity: 0.00 m/s
[27.301][user]-[Info]-[DjiTest_WaypointV2StateCallback:377) [Waypoint Index:0]: State: Ground station not started, velocity: 0.00 m/s
[28.399][user]-[Info]-[DjiTest_WaypointV2StateCallback:377) [Waypoint Index:0]: State: Ground station not started, velocity: 0.00 m/s
[29.400][user]-[Info]-[DjiTest_WaypointV2StateCallback:377) [Waypoint Index:0]: State: Ground station not started, velocity: 0.00 m/s
[30.401][user]-[Info]-[DjiTest_WaypointV2StateCallback:377) [Waypoint Index:0]: State: Ground station not started, velocity: 0.00 m/s
[31.415][user]-[Info]-[DjiTest_WaypointV2StateCallback:377) [Waypoint Index:0]: State: Ground station not started, velocity: 0.00 m/s
[32.500][user]-[Info]-[DjiTest_WaypointV2StateCallback:377) [Waypoint Index:0]: State: Ground station not started, velocity: 0.00 m/s
[33.501][user]-[Info]-[DjiTest_WaypointV2StateCallback:377) [Waypoint Index:0]: State: Ground station not started, velocity: 0.00 m/s
[34.501][user]-[Info]-[DjiTest_WaypointV2StateCallback:377) [Waypoint Index:0]: State: Ground station not started, velocity: 0.00 m/s
[35.501][user]-[Info]-[DjiTest_WaypointV2StateCallback:377) [Waypoint Index:0]: State: Ground station not started, velocity: 0.00 m/s
[36.501][user]-[Info]-[DjiTest_WaypointV2StateCallback:377) [Waypoint Index:0]: State: Ground station not started, velocity: 0.00 m/s
[37.501][user]-[Info]-[DjiTest_WaypointV2StateCallback:377) [Waypoint Index:0]: State: Ground station not started, velocity: 0.00 m/s
[37.951][user]-[Info]-[DjiTest_WaypointV2RunSample:149) --> Step 6: Set global cruise speed[38.600][user]-[Info]-[DjiTest_WaypointV2StateCallback:377) [Waypoint Index:0]: State: Ground station not started, velocity: 0.00 m/s
[38.955][user]-[Info]-[DjiTest_WaypointV2RunSample:159) --> Step 7: Get global cruise speed[38.961][user]-[Info]-[DjiTest_WaypointV2RunSample:166) Current global cruise speed is 1.500000 m/s
[39.600][user]-[Info]-[DjiTest_WaypointV2StateCallback:377) [Waypoint Index:0]: State: Ground station not started, velocity: 0.00 m/s
[39.961][user]-[Info]-[DjiTest_WaypointV2RunSample:169) --> Step 8: Pause waypoint V2 for 5 s[39.970][waypoint]-[Error]-[DjiWaypointV2_Pause:439) Ground station(GS) is not started(used by break/restore)
[39.970][user]-[Error]-[DjiTest_WaypointV2RunSample:173) Pause waypoint V2 failed, error code: 0x00010024
[39.970][user]-[Info]-[DjiTest_WaypointV2RunSample:195) Waypoint V2 sample end
The logs indicate that the ground station did not start, which resulted in the mission not being executed. The error code `0x00010024` suggests a failure in pausing the mission because the ground station was not started. This might be due to incorrect mission parameters, a failure to upload the mission correctly, or issues with the drone's state. Further investigation is required to identify the root cause.
To perform the sample mission successfully, do I need to change anything? If yes, what should be the process for performing the airline mission successfully?
-
Dear Developer, Could you please verify the following: 1. Whether the simulator has been activated to initiate the simulation. 2. Whether the latitude and longitude coordinates on the simulator match the values specified in the sample. 3. Whether the remote controller is turned on and connected to the aircraft. If you wish to operate without the remote controller, you need to obtain control authority before executing the waypoint mission: DjiFlightController_ObtainJoystickCtrlAuthority -
Hello, you can call DjiFlightController_Init and DjiFlightController_ObtainJoystickCtrlAuthority before the DjiTest_WaypointV2Init function. Since obtaining control authority is a function in the flight control function, you also need to initialize the relevant function modules before using them. You can refer to the Payload-SDK-release-v3.9.1\samples\sample_c\module_sample\flight_control\test_flight_control.c file. -
I'm encountering the following error:
```
[12.462][waypoint]-[Error]-[DjiWaypointV2_Start:377) Use rtk_data but rtk is not connected or rtk_data is invalid
[12.462][user]-[Error]-[DjiTest_WaypointV2RunSample:144) Start waypoint V2 mission failed, error code: 0x00020005
```What should I do if I want to perform the mission without using RTK?
请先登录再写评论。
评论
7 条评论