i did some more tweaking on the math and got a better result. I have also hanged the drone freely. Attached is a videoclip of the measurement while the drone is hanging freely and rotating around the Z-axis. The single measurement points are mean and not as dense as in the incoming data stream. With a little fantasy it looks more like a circle now :)
Good morning Phil, it helps a little but not really. If I have a brainstorm, I'll get back to you here. Thanks for the prompt reply :) wally
Hello, with the ApI it was easy to read out the magnetometer data. After evaluating this data, I found that when the drone rotates around the Z-axis, the measurement data does not describe a circle, but an ellipse. A calibration of the magnetic sensor is probably necessary. Can someone tell me how to calibrate the drone using the PS-DRONE API if possible? Thank You wally
Hi, where can I find the "quick and dirty" files mentioned in https://www.playsheep.de/drone/quickdirty.html "Matador.py", "searchFollow.py" and "followBall.py" thanks wally
Hi Loke, sounds very interesting. Especially because you used the psdrone API. Have you published anything about path planning? Is there any demo code ? wally
The above code works absolutely satisfactorily and outputs the correct GPS data. I had a hardware issue, sorry.
Hello Daniel, Hello Philipp, I also tried to read the GPS data and replaced [wifi] with [zimmu_3000] but did not have the success Daniel reported. My output after waiting for minutes still looks like this: [0.0, 0.0, 0]. (see output end of code) I use ArDrone 2.0 (fw; 2.4.8), PS-Drone3.py, Python3.8 and the little red FleightController attached and blinking white: Here is my code, with the request for a hint what is wrong there: ######### # getNavData.py (modified) ########### ##### Suggested clean...
Hello Daniel, Hello Philipp, I also tried to read the GPS data and replaced [wifi] with [zimmu_3000] but did not have the success Daniel reported. My output after waiting for minutes also looks like this: [0.0, 0.0, 0]. (see output end of code) I use ArDrone 2.0 (fw; 2.4.8), PS-Drone3.py, Python3.8 and the little red FleightController attached and blinking white: Here is my code, with the request for a hint what is wrong there: ######### # getNavData.py (modified) ########### ##### Suggested clean...