Search found 11 matches

by ziojos
Wed May 30, 2012 8:31 am
Forum: Software development
Topic: Barometer fix - PETITION
Replies: 46
Views: 30696

Re: Barometer fix - PETITION

This is a test of GPS Position Hold from take Off to Landing + Altitude Hold (from 1:00 to 1:35) actiated with Throttle stick in middle position No Roll,Pitch and Yaw during the test the wind was quite strong SW is MWii 1.9 + JJ-copter Customization (GPS+Altitude)+JJ-Easy Fly http://www.youtube.com/...
by ziojos
Wed May 30, 2012 8:06 am
Forum: Software development
Topic: Barometer fix - PETITION
Replies: 46
Views: 30696

Re: Barometer fix - PETITION

Sorry

I missunderstand ;) , I'm Agree with You
by ziojos
Wed May 30, 2012 7:50 am
Forum: Software development
Topic: Barometer fix - PETITION
Replies: 46
Views: 30696

Re: Barometer fix - PETITION

....... Properly protect the sensor from wind/sunlight and althold works as good as it ever will without integrating accelerometer into it. Absolutely false, the speed evaluation (Dterm or Vel PTerm) cannot be accurate without zAcc evaluation and fusion with baro data, the dinamic of altitude contr...
by ziojos
Tue Apr 10, 2012 10:17 pm
Forum: Software development
Topic: Bug in MAG-routine?
Replies: 14
Views: 4435

Re: Bug in MAG-routine?

I'm on a 1.9 modified. I'm using the old style calibration that seems give good results adding declination and mounting error : in my SW (1.9) I have this in config.h: #define MAG_MOUNTING_CORRECTION -60 //Jos add 28/03/2012 ERROR IN MAG ALLIGN ON THE BOARTD (e.g. -80 = -8°) #define DECLINATION -27 ...
by ziojos
Tue Apr 10, 2012 7:58 pm
Forum: Software development
Topic: Bug in MAG-routine?
Replies: 14
Views: 4435

Re: Bug in MAG-routine?

Same for me. Heading under mag Does not withstand gusts of wind. I think default MAG P is less than you need I suggest a more high value , more I suggest to add a bit of I and D in YAW PID to help stability This work for me (BTW I use a more accurate angle estimation see my previous post) Ciao Josè
by ziojos
Sun Apr 08, 2012 3:12 pm
Forum: Ideas
Topic: Attemp to integrate sonar (ultrasonic sensor)
Replies: 265
Views: 223914

Re: Attemp to integrate sonar (ultrasonic sensor)

To avoid the Hula Hop you need the derivative term (on altitude speed) to brake the oscillation Hi, "derivative" is the D-Parameter, right? I'll try this - had removed it, because I didn't understood the D-calculation of the baro-control of MWii 2.0, but I implemented it for sonar now - b...
by ziojos
Sat Apr 07, 2012 11:03 pm
Forum: Ideas
Topic: Attemp to integrate sonar (ultrasonic sensor)
Replies: 265
Views: 223914

Re: Attemp to integrate sonar (ultrasonic sensor)

Hi, Sonar-Results are very good - about 99% of the altitude-values of the sonar are valid But altitude control is not really good. Before mixing sonar and baro, I first want to get a stable alt-control only with sonar. But the copter is oscillating all the time. If I increase P to maximum, the copt...
by ziojos
Sun Apr 01, 2012 10:32 am
Forum: Software development
Topic: Bug in MAG-routine?
Replies: 14
Views: 4435

Re: Bug in MAG-routine?

..... then magHold will be modified, although it shouldn't.. Why shoudn't ? I think if you enter a rcCommand[YAW] > HEADINGBAND you want change the head direction <-> you want a new magHold . If you input a rcCommand[YAW] < HEADINGBAND it has only a little effect btw HEADINGBAND is small and this e...
by ziojos
Sat Mar 31, 2012 5:31 pm
Forum: Software development
Topic: Bug in MAG-routine?
Replies: 14
Views: 4435

Re: Bug in MAG-routine?

I'm using this and it seem to work with different PID from default: if(MAG) { #define HEADINGBAND 25 //Jos add:05/02/2012 if (abs(rcCommand[YAW]) < HEADINGBAND && magMode) { //Jos modified 01/02/2012 (more accurate heading tenth of degrees instead degrees) band was 70 rcCommand[YAW] = 0; int...
by ziojos
Sun Mar 11, 2012 7:52 pm
Forum: Software development
Topic: MultiWii 2.0 serial.print error
Replies: 8
Views: 3138

Re: MultiWii 2.0 serial.print error

I use this simple metod to add the function Debugprint(): in multiwii.ino: char LF[2] = {10,0} ; char TAB[2] = {9,0} ; char itoabuff[16]; void Debugprint(const char *s) { while (*s) SerialWrite(0, *s++ ); } /* Debugprint Sample Debugprint(itoa(attitudethrottleadj,itoabuff,10)); Debugprint(" &qu...
by ziojos
Mon Feb 20, 2012 7:35 am
Forum: Ideas
Topic: Loop time optimization
Replies: 11
Views: 5369

Re: Loop time optimization

Ciao This is my first post on MultiWii Forum I had this style of scheduling on JJ-copter (one of few Wii sensor AeroQuad since may 2010 ) and the loop is stable close to 6.5 ms whith WMP,NK, GPS,Ultrasonic,Compass. IT was very nice to use the 3ms Wii sensor delay to make someting of usefull and to s...