dev20120219 and new features... info?
dev20120219 and new features... info?
Hi I noticed in dev20120219 a new set of features like Passthru, Headfree, Beeper... could someone give more info?
Thanks.
Thanks.
-
- Posts: 1630
- Joined: Wed Jan 19, 2011 9:07 pm
Re: dev20120219 and new features... info?
passthru is for static wing config (like flying wing) to be able to control directly servos via bypassing the IMU
headfree is like mikrokopter carefree
beeper is something that will make your buzzer beeps in case you loose the multi
headfree is like mikrokopter carefree
beeper is something that will make your buzzer beeps in case you loose the multi
Re: dev20120219 and new features... info?
Thank Alex.
Good job!
Good job!
Re: dev20120219 and new features... info?
I see that proper acc-Z based althold has been ripped out again, are there any plans to bring it back?
This is the only solution to proper althold - if you think Naza/etc rev up the engines immediately as you knock it off position because they're using an overpriced pressure sensors, you're dead wrong, man. It's because they're using AccZ.
This is the only solution to proper althold - if you think Naza/etc rev up the engines immediately as you knock it off position because they're using an overpriced pressure sensors, you're dead wrong, man. It's because they're using AccZ.
-
- Posts: 1630
- Joined: Wed Jan 19, 2011 9:07 pm
Re: dev20120219 and new features... info?
Hi,
Yes, I know this. AccZ is mandatory for short term ALT correction. It's probably useful to counter wind gusts.
You can notice VEL PID is still there, even if the code was commented
The plan is to bring it back once pure baro alt hold is confirmed to work on many setups.
Yes, I know this. AccZ is mandatory for short term ALT correction. It's probably useful to counter wind gusts.
You can notice VEL PID is still there, even if the code was commented
The plan is to bring it back once pure baro alt hold is confirmed to work on many setups.
Re: dev20120219 and new features... info?
Hi,
maybe I am wrong, but please check the follwing code:
void getEstimatedAltitude(){
...
BaroLow+=BaroHistTab[(BaroHistIdx + temp32 + 1 + BARO_TAB_SIZE)%BARO_TAB_SIZE]; //sum older samples
I think the existing code has the latest value in the older samples.
Best regards
Peter
maybe I am wrong, but please check the follwing code:
void getEstimatedAltitude(){
...
BaroLow+=BaroHistTab[(BaroHistIdx + temp32 + 1 + BARO_TAB_SIZE)%BARO_TAB_SIZE]; //sum older samples
I think the existing code has the latest value in the older samples.
Best regards
Peter
Re: dev20120219 and new features... info?
I installed the latest dev released on my mini quad and I am finally able to fly in regular mode (gyro only). However, the stable mode seems to be really unstable. The quad is gradually oscillating more and more in stable mode and on bench test in GUI the motor commands do not look accurate. Is is something others are experiencing as well?
I am using ITG3200, BMA180 and HMC5883L sensors with cycle times at around 2700+ ms.
I am using ITG3200, BMA180 and HMC5883L sensors with cycle times at around 2700+ ms.
-
- Posts: 21
- Joined: Fri Feb 24, 2012 3:12 pm
Re: dev20120219 and new features... info?
I installed the latest dev released on my quadri bat now I can not change more parameters with my LCD (three-wire, with the 1.8p2 works perfectly).
There is a bug?
On the LCD I can see MultiWii parameters confused with strange characters and seems that there is an overflow.
Thanks in advance
Sergio
There is a bug?
On the LCD I can see MultiWii parameters confused with strange characters and seems that there is an overflow.
Thanks in advance
Sergio
Re: dev20120219 and new features... info?
Wrong terminal type?
-
- Posts: 21
- Joined: Fri Feb 24, 2012 3:12 pm
Re: dev20120219 and new features... info?
I think no, I have a three wire serial LCD with Gnd / +5 V / Rx that i use for other quadri with 1.8p2 and work fine.
I enabled # define LCD_SERIAL3W.
I enabled # define LCD_SERIAL3W.
Re: dev20120219 and new features... info?
Could somebody help activate AUX3 to D12 port in dev_20120219?
More detailed infos here:
viewtopic.php?f=6&t=1256
More detailed infos here:
viewtopic.php?f=6&t=1256
Re: dev20120219 and new features... info?
Just want to know
EstAlt
is in ...meter?...mm? cm?
EstAlt
is in ...meter?...mm? cm?
Re: dev20120219 and new features... info?
Changed to cm in latest code. It's also not accurate since it uses generic Pa->meters formula without correction by GPS or etc.
Re: dev20120219 and new features... info?
I know, but its to be displayed into my OSD, so I needed to know what range it is
thanks
thanks
Re: dev20120219 and new features... info?
I loaded dev_20120219 onto my new Radio Shack Mega2560 yesterday, aligned the ACCs, Gyros and MAG. This morning I got a chance to fly it.
Everything was as expected and the new altitude hold is unbelievable.
Even in today’s cold wind the BARO held, even with a little forward flight.
Thanks to all that had input with this dev.
That being said I loaded dev_20120225 tonight, the eprom settings stayed but the MAGs orientation had to be changed in the sketch between -0219 and -0225.
Anyone else had to do this?
Everything was as expected and the new altitude hold is unbelievable.
Even in today’s cold wind the BARO held, even with a little forward flight.
Thanks to all that had input with this dev.
That being said I loaded dev_20120225 tonight, the eprom settings stayed but the MAGs orientation had to be changed in the sketch between -0219 and -0225.
Anyone else had to do this?
Re: dev20120219 and new features... info?
What are improvements in 20120225 dev?
Re: dev20120219 and new features... info?
Hi,
as far as i know:
- new Sensor orientation rage (viewtopic.php?f=8&t=1259)
- better alt hold (viewtopic.php?f=8&t=562)
- motor 1-6 is now 11 bit PWM for mega (viewtopic.php?f=8&t=1219)
- arduino promicro(atmega32u4) support (viewtopic.php?f=8&t=1145)
- some bugfix on software PWM for Promini (motor 5-8) (viewtopic.php?f=8&t=1246)
regards
Felix
as far as i know:
- new Sensor orientation rage (viewtopic.php?f=8&t=1259)
- better alt hold (viewtopic.php?f=8&t=562)
- motor 1-6 is now 11 bit PWM for mega (viewtopic.php?f=8&t=1219)
- arduino promicro(atmega32u4) support (viewtopic.php?f=8&t=1145)
- some bugfix on software PWM for Promini (motor 5-8) (viewtopic.php?f=8&t=1246)
regards
Felix
Re: dev20120219 and new features... info?
Hi,
Loaded dev 20120225, and as others have reported, baro works marvelous (BMP-085)..... Thanks !
However, there seems to be a problem with camstab (already since 20120203 I think it was)....
Camstab light comes on in GUI, but no response from servo's....
Earlier versions (before 0203) were OK.
My setup: Flyduino Mega board, with WM+, BMA-020, 5883 & BMP-085 on a Tri.
Also noticed, I had to change the mag orientation in this revision
Loaded dev 20120225, and as others have reported, baro works marvelous (BMP-085)..... Thanks !
However, there seems to be a problem with camstab (already since 20120203 I think it was)....
Camstab light comes on in GUI, but no response from servo's....
Earlier versions (before 0203) were OK.
My setup: Flyduino Mega board, with WM+, BMA-020, 5883 & BMP-085 on a Tri.
Also noticed, I had to change the mag orientation in this revision
Re: dev20120219 and new features... info?
Hi Wilco, I've the same setup as yours.
What exactly do you have to change for the mag (I haven't tried this latest one) its easier as looking for myself.
Thanks.
What exactly do you have to change for the mag (I haven't tried this latest one) its easier as looking for myself.
Thanks.
Re: dev20120219 and new features... info?
hey wilco1967, i have same problem with camstab, no working servos....
also i loaded 20120225, and i see many problems for configure sensors, i have itg3205 and bma020,BMP085, and baro works like shit for me, i go back to 20120219...
regards.
also i loaded 20120225, and i see many problems for configure sensors, i have itg3205 and bma020,BMP085, and baro works like shit for me, i go back to 20120219...
regards.
wilco1967 wrote:Hi,
Loaded dev 20120225, and as others have reported, baro works marvelous (BMP-085)..... Thanks !
However, there seems to be a problem with camstab (already since 20120203 I think it was)....
Camstab light comes on in GUI, but no response from servo's....
Earlier versions (before 0203) were OK.
My setup: Flyduino Mega board, with WM+, BMA-020, 5883 & BMP-085 on a Tri.
Also noticed, I had to change the mag orientation in this revision
Re: dev20120219 and new features... info?
I had to change from #define MAG_ORIENTATION(X, Y, Z) {magADC[ROLL] = -Y; magADC[PITCH] = X; magADC[YAW] = Z;}
To #define MAG_ORIENTATION(X, Y, Z) {magADC[ROLL] = X ; magADC[PITCH] = Y; magADC[YAW] = -Z;}
So Y became -X, X became Y, and Z became -Z. But I think it depends on how your sensor is mounted.
ACC and Gyro orientation remained the same. Only the MAG has changed
Better check yours is correct before flying at http://www.multiwii.com/faq#How_should_ ... directions
EDIT....
On the quad, I noticed also the gyro and ACC need changing.....
To #define MAG_ORIENTATION(X, Y, Z) {magADC[ROLL] = X ; magADC[PITCH] = Y; magADC[YAW] = -Z;}
So Y became -X, X became Y, and Z became -Z. But I think it depends on how your sensor is mounted.
ACC and Gyro orientation remained the same. Only the MAG has changed
Better check yours is correct before flying at http://www.multiwii.com/faq#How_should_ ... directions
EDIT....
On the quad, I noticed also the gyro and ACC need changing.....
Last edited by wilco1967 on Mon Feb 27, 2012 8:49 pm, edited 1 time in total.
Re: dev20120219 and new features... info?
Thanks, I use the stock settings, for this I check whats wright for me.
Re: dev20120219 and new features... info?
wilco1967 wrote:Hi,
Loaded dev 20120225, and as others have reported, baro works marvelous (BMP-085)..... Thanks !
However, there seems to be a problem with camstab (already since 20120203 I think it was)....
Camstab light comes on in GUI, but no response from servo's....
Earlier versions (before 0203) were OK.
My setup: Flyduino Mega board, with WM+, BMA-020, 5883 & BMP-085 on a Tri.
Also noticed, I had to change the mag orientation in this revision
Not sure if reported somewhere already, but I think I found the problem with camstab not working...
In MultiWii_dev tab, the following is defined.
#define BOXACC 0
#define BOXBARO 1
#define BOXMAG 2
#define BOXCAMSTAB 3
#define BOXCAMTRIG 4
It looks like this means, camSTAB is supposed to be on the 4rd row (0,1,2,3, i.e. 4th) row from the GUI)
CamTRIG is supposed to be on the 5th row....
However, in the GUI, they are just reversed...
When I configure the GUI to activate canTRIG on a switch, the camstab starts to work....
So it seems like it is just a text error in the GUI.....
-
- Posts: 1630
- Joined: Wed Jan 19, 2011 9:07 pm
Re: dev20120219 and new features... info?
Hi,
nice find
thanks
nice find
thanks