alexmos wrote:LuFa wrote:Hi Alexmos ,
i have see that you know move your code to 2.0
I have a idea :
What do you think about a Opticalflow and GPS Positionhold fusion ? somethink like :
Code: Select all
PositionHold_Angle = (GPS_Anlge + OpticalFlow_Angle) / 2
what do you think about this idea ?
There is no fusion in your example: these angles are summed right now, and you can set weight of 1/2 (or any you want) for each sensor by PIDs.
And some news:
1. I have merged all my code with 2.0 and tested in flight. All seems to be working.
2. I have implemented ADNS-3080. See config.h for details. Latest code in /branches/v20/MultiWii: http://code.google.com/p/multiwii-alexm ... 2FMultiWii
I have not tested it because have not ADNS-3080 sensor, so try debug it yourself
can you tell me were i have to paste this code "idea" ?
i like to test optical flow and gps at the same time
i think i have found a bug in your code , normaly if the copter hover at 1meter high the gui display "1.0"
but with your code the gui show "10.0" , is that right or a bug =?
thanks so mutch !!!!!!!