Moderator

UAV Seagull 2200

Now my Seagull 2200 are ready for first testflight. I have uploaded the ArduPilot_EasyStar_WP code on the board so I "hope" it can make a testflight so I can optimize here and there...The seagull 2200 is a very stabel mashine modified with a stronger motor and a bigger prob.

Offcause I will post opdate on the comming up testflight and changes on boardcode for this model. Hope to make some videodokumentation also.I have one problem with the pre test- I installed the FMA sensor just like instruction. But when I point the nose down the pitch also going down.. so I need to reverse the settings. I'm using code 2.0 and not the new 2.1How to do?
Find more videos like this on DIY Drones
Here is the solution:In the 2.0 code, try this:Reverse IR sensor-old code-return constrain((int)(((infrared0-511)*90)/max_ir),-60,60);new code-return -constrain((int)(((infrared0-511)*90)/max_ir),-60,60);Reverse IR sensor pitch-old code-return -constrain((int)(((infrared1-511)*90)/max_ir),-60,60);new code-return constrain((int)(((infrared1-511)*90)/max_ir),-60,60);Just reverse the sign in front of "constrain".
E-mail me when people leave their comments –

You need to be a member of diydrones to add comments!

Join diydrones

Comments

  • trifasico : buy here
  • Where can i order a Z sensor?
  • Moderator
    I'm ordering the Z sensor right now......
  • Moderator
    If you have the Z sensor you wont needed to recalibrate, not usre how that fits in with ardupilot.
  • Moderator
    Thanx alot..
  • Hello

    For do that, you have to change the source code.
    In the code:

    int get_pitch(void)
    {
    return -constrain((int)(((infrared1-511)*90)/max_ir),-60,60);
    }

    you have to put

    int get_pitch(void)
    {
    return constrain((int)(((infrared1-511)*90)/max_ir),-60,60);
    }

    it should work

    About the FMA sensor, i believe, every time you fly, you need to calibrate the sensor. If you don't do that, you can have wrong angles. Because in a sunny day, the max_ir is much more high than in a cloudy day.

    I really don't know if in high altitude, like when the plane is flying, if this differences are minimal.
  • Moderator
    I have one problem with the pre test- I installed the FMA sensor just like instruction. But when I point the nose down the pitch also going down.. so I need to reverse the settings. I'm using code 2.0 and not the new 2.1
    How to do?

    Also having problem making the FMA sensor working first time, can see other having same problem.

    Please don't tell me to reverse the FMA sensor.
  • we are anxiously looking forward to read/see/watch the results of your flight tests and whishing you all the best.
  • Hey Hooks, good looking e-glider with nice span. I really hope those are going to be successful first flights. We await your reports.
  • Admin
    Hooks,

    Nice looking plane and a nice Ardupilot installation!

    Regards,
    TCIII
This reply was deleted.