Closed fernando-s97 closed 3 years ago
I've just done the following test:
From there, I could see all my waypoints properly loaded, but speed was set to 0. Once I pulled the slider to increase the speed, the aircraft started moving and following the waypoints as expected, but I have no clue on why this is happening.
As seen in the WaypointMission object, the autoFlightSpeed is set to 0. I've fixed this issue by changing the autoFlightSpeed from 0 to the speed defined in the first waypoint, and now everything works as expected.
According to the docs, when the autoFlightSpeed is set to 0, the "Actual speed is controlled only by the remote controller joystick", which is weird, because it was the same code I had one month ago, and I could fly without touching the joystick. This explains why the only thing I thought I could do was "to take the drone drone higher, or lower". Probably if I'd keep pushing the left joystick forward, the aircraft would have completed its path.
The only question remaining is: why my one month old code used to work without touching the joysticks.
Problem
When starting a new Waypoint Mission, the drone takes off up to 2 meters, and keeps hovering in that position. Also, when this happen, I'm only able to take the drone drone higher, or lower (up to those 2 meters).
Expected behaviour
When starting a new Waypoint Mission, the drone completes its path as specified by the mission.
Environment
Tested hypotesis
More info
My app logs and DJI logs shows no error, exception or anything alike.
If necessary, I can provide the flight records.
The WaypointMission object