Could you please test if the same exists with the official r1348 release? If yo, than I can't help...

dramida wrote:Hi Adrian, I guess i disabled your mood regarding gimbal. I reattach the config.h file
Bug: when i tilt the copter in front (pitch), camera gimbal works as expected and compensate, but when reaching a 40 drgrees angle or so (depending on Aux 3 ch for pitch control), the pitch servo does a full reverse. I checked the servo with a tester and works ok, also gimbal works fine on previous R15 version.
Tazzy wrote:THANKS Adrian for your grate works on this release i LOVE IT(r17)
The vario function is so nice out off the box with std pidsthe only thing i need to find out is why it oscillate little when i activate pos hold ....
Dramida do you have some adjustments tips on the ph oscillation ?
// Tazzy
Alexinparis wrote:dramida wrote:Hi Adrian, I guess i disabled your mood regarding gimbal. I reattach the config.h file
Bug: when i tilt the copter in front (pitch), camera gimbal works as expected and compensate, but when reaching a 40 drgrees angle or so (depending on Aux 3 ch for pitch control), the pitch servo does a full reverse. I checked the servo with a tester and works ok, also gimbal works fine on previous R15 version.
I think the response is here:
#define TILT_PITCH_MIN 1000 //servo travel min, don't set it below 1020
flyboy_____ wrote:If we use 5 baros in the board, kill the 2 most off values and take the average of the closest value, dosn't this give a more precise altitude reading??
nhadrian wrote:That's interresting with your tri. I'll check config!!! The interresting is that there is nothing frame-specific in my code... :S
About beep issue, it would need deeper modification in the code for proper beep working.
I can't see the benefit of spending many hours on this function. Because if the copter is close, it "feels' where is the hovering point.
If the copter is far during FPV flight or filming, beep can't be heared.
BR
Adrian
jy0933 wrote:it also behave a bit wired on my hexa...
ver R17....
when stick is above middle dead band.. it suddenly jump up half meter... (and caused battery alarm)... my quad was using r15 w/o this problem... might be i set too much D for alt hold (D=60) in R 17? (D=60 on quad for r15..working fine...but I will start wondering what is the conversion factor between old pid and new pid)
Code: Select all
/********** developer tunable parameters - PID correction for rising/descending ************/
#define VARIOALTP_CORR 40 // For test and developer purposes only!!! - ALT-P correction during rising
#define VARIOALTI_CORR 20 // For test and developer purposes only!!! - ALT-I correction during rising
#define VARIOALTD_CORR 20 // For test and developer purposes only!!! - ALT-D correction during rising
nhadrian wrote:.........
The reason why I differentiated rising from descending is that copter behaves not the same for rising/descending.
...........
Generally speaking, for rising we must have higher gains to follow the AltHold value changing, but if the same would applied in descending would lead to low rpms which possibly cause wobbling and uncontrolled falling. (....
BR
Adrian
nhadrian wrote:Hi All,
I attached my latest revision, r19:
-the WP altitude injection works great with EZ-GUI (thanks to EZIO!!!), I posted a sample video earlier.
BR
Adrian
Leon11t wrote:I just got out of the field! Tested your firmware. Alt Hold works just fine. I did not feel the difference compared to the other versions. EZIO staff, could not to test.
Leon11t wrote:This is my PIDs.
They from Mahowik firmware. I thing for FPV its good PIDs.
scanman wrote:Hi it tried the failsafe on the bench with the props off, it works fine without the NHA defines - motors spin for 30 seconds then disarm, however with the NHA defines, the motors only spin for 3 seconds then disarm, is this correct behaviour?
my settings are attached.
jy0933 wrote:Adrian... about sonar...
how about the SR-04? it's much cheaper and working
ardufriki wrote:Sorry, I am a little bit confused. I have a I2C NAV with CRIUS GPS v2. It seems to work PH and RTH modes. But....
- Would this "mod" work with my card or only with ATmega2560 proccessor?
- Are you going to release a new versión merged with MW v2.2?
- Is this a mod to be included in future versions of MultiWii (i.e. v2.3 or development releases)?
Goetz wrote:first of all: congratiulations, this mod is great, many good ideas, and they are working, very good work.
Safety for the Copter in mind, I have two Ideas:
...
nhadrian wrote:...About last copterposition, there is far small memory for continous recording the flight.
If you have a signal loss, it can be the trigger but what is the guarantee of having signal back at that point?
I think the home is the most relevant target in Failsafe because when copter is closer and closer signal will be back (unless battery problem in TX...)
About second one, maybe you should start a topic in Ideas...
BR
Adrian
Eric wrote:Ignore my post. I did not see the modifications in GPS.ino. sorry for this.
Goetz wrote:[
I don#t think of recording whole Flight, only last position, overwriting next time again. I think with FPV Orientation is not so easy and there is easily something between RX+TX like Hill / House. Failsave with direkt Line return would end in an Crash, because there is something in between (Hill / House...)
Isn't there an RSSI-measuring in new MW... ...as an crteria "only record new Position if RSSI is good"?
nhadrian wrote:Eric wrote:Ignore my post. I did not see the modifications in GPS.ino. sorry for this.
Hi,
no problem!
BUT!
There is a new option in BART's EZ-GUI android app. It lets you send new WP for HOME/HOLD+altitude, via MSP.
It works great in the air with serial GPS, but is not implemented to I2C_GPS.
If you are interrested, you could try it for the community...
BR
Adrian
ezio wrote:nhadrian wrote:Eric wrote:Ignore my post. I did not see the modifications in GPS.ino. sorry for this.
Hi,
no problem!
BUT!
There is a new option in BART's EZ-GUI android app. It lets you send new WP for HOME/HOLD+altitude, via MSP.
It works great in the air with serial GPS, but is not implemented to I2C_GPS.
If you are interrested, you could try it for the community...
BR
Adrian
actually setting Home position works with i2c gps.
I'm still not sure about setting position hold, but looking in to the code it should work too.
Eric wrote:Ok, I added setting home/hold from serial support for I2C gps.
https://github.com/Smartype/MultiWii/co ... 85497f22f6
nhadrian wrote:Eric wrote:Ok, I added setting home/hold from serial support for I2C gps.
https://github.com/Smartype/MultiWii/co ... 85497f22f6
Thanks.
I'll look after soon.
BTW, I have success with ADNS 3080 motion sensor and with demo application!!!
With the python-based image grabber I can see the grabbed pictures now!!!
So I think now I would be able to add the 3080 handling to your I2C_GPS code.
BR
Adrian