Search found 8 matches

by aydineser
Tue Mar 18, 2014 4:18 pm
Forum: Ideas
Topic: Airplane mode RTH
Replies: 824
Views: 330626

Re: Airplane mode RTH

Hi Patrik, As I have seen on above posts, you are using a gps emulator. Are you using a flight simulator (xplane etc.) for Hardware in Loop testing ? Or you just feed GPS data from serial port ? If there is a way, I want to try HIL testing of your code ?. As I have seen from EOS videos on GPS NAV th...
by aydineser
Thu Mar 06, 2014 11:06 am
Forum: Ideas
Topic: Airplane mode RTH
Replies: 824
Views: 330626

Re: Airplane mode RTH

by aydineser
Thu Nov 14, 2013 10:30 am
Forum: Ideas
Topic: Airplane mode RTH
Replies: 824
Views: 330626

Re: Airplane mode RTH

Hi Roman, I am using GPS_ALTCORR=3 and its quite sucessfull. But there is another problem, when you used automatic control booth on throttle and elevator. In some conditions, for example RTH against wind, your plane gain altitude rapidly, then autopilot reduce throttle ( even use IDDLE THROTTLE ) wh...
by aydineser
Wed Nov 13, 2013 12:55 pm
Forum: Ideas
Topic: Airplane mode RTH
Replies: 824
Views: 330626

Re: Airplane mode RTH

Hi patrik, I am not good at PID theory too. But as far as I know when you accumulate differantial error it becomes something else. Because differantial error shows how quickly the system recovers the error and behaves like a brake. I have lested with following line... line 1527 naverrorD = ((dif - o...
by aydineser
Tue Nov 12, 2013 3:03 pm
Forum: Ideas
Topic: Airplane mode RTH
Replies: 824
Views: 330626

Re: Airplane mode RTH

Hi Patrik, I have noticed a few things in your code ... Firstly roll compansation in gps.cpp line 1478 GPS_angle[PITCH]+=(abs(att.angle[ROLL]) * ELEVATORCOMPENSATION /100); // Compensate elevator compared with rollAngle then later line 1546 // Compensate elevator compared with rollAngle GPS_angle[PI...
by aydineser
Tue Jun 25, 2013 12:00 pm
Forum: Ideas
Topic: Airplane mode RTH
Replies: 824
Views: 330626

Re: Airplane mode RTH

Hi patrik,

Does your RTH code including Crostracking ?

Aydin
by aydineser
Mon Jun 17, 2013 3:56 pm
Forum: Ideas
Topic: Airplane mode RTH
Replies: 824
Views: 330626

Re: Airplane mode RTH

Hi Roman,
Thank you very much,

I have solved the problem by enabling #define MEGA_HW_PWM_SERVOS
and updating output.ino from latest regular Multiwii code from git.
Then it works now, D3:Thr, D6:Rud, D7:Elv, D11/D12:Ail

Aydin
by aydineser
Mon Jun 17, 2013 12:04 pm
Forum: Ideas
Topic: Airplane mode RTH
Replies: 824
Views: 330626

Re: Airplane mode RTH

Hi All,

I am trying to test multiwii airplane code too. I am using a Crius AIOP V2.0 board. I uploaded the firmware,
But I could find pin for second aileron servo (wing 2). Any idea ? connection diagram etc ...

Aydin