GPS_TYPE = NO_GPS and this is for
the purpose of stabilizing the model only.
I guess I can hardcode flags._.nav_capable = 0
in states.c but I think people who don't want to fly courses
but want to play with stabalization would like to
use this feature..
Allan
#define GPS_TYPE NONE
// If there is no gps, and so no speed information, the firmware will use this speed as a fall back to
// attempt to calculate centripetal forces and maintain stability in long turns.
// Set this speed to the normal average flying speed of your plane in metres / second. Example 10.0
#define NORMAL_FLIGHT_SPEED 10.0
I guess my only concern is what happens when the plane starts to travel much faster than the assumed speed.
In the case of my Twinstar it has normal flight speeds that vary from 10m/s to 20m/s . So the assumed flight speed
could be out by a factor of 2 in normall level flight.
I wonder whether anyone that is reading this, has the full simulation of our current firmware in MatLab, and could answer
the question with an authorative qanitative answer ?
When do the assumptions above result in loss of stabilisation, and the plane spiral out of the sky ?
Pete
I can run a few simulations next week end if you like.
Just tell me exactly what you want.
Try DCM without GPS and find a "good" constant airspeed for
centrifugal compensation ?
Regards,
Paul
On 7 mar, 16:25, Peter Hollands <peter.holla...@gmail.com> wrote:
> Volunteer required. Mentoring will be supplied. Add new Feature;. #define
> GPS_TYPE None.
>
> I'm traveling at the moment on business so I don't have my UDB or my plane
> with me. But I do have my code and compiler tool set.u
>
> So I'm wondering whether there is anyone who would like to try a small
> project, and make the changes with my help and mentoring. We would discuss
> the code areas that need changing, and then your job would be to actually
> make the detailed code changes, and test the results in your plane. I would
> help you through the entire process, including things like making patches.
> I will review the final code and propose it for the main repository.
> Generally, we always fly the changes for final testing purposes.
>
> So the qualifiers for a volunteer would be:-
> You have a UDB and have flown with it. You are currently able to fly.
> You can capture telemetry either via Xbee or OpenLog when flying
> You have some experience of writing in C .
> You are motivated to be able to fly in stabilized mode without a GPS.
> You are prepared to be on the leading edge and crash your plane.
>
> If anyone is interested, then please write to my personal Gmail address.
>
> Best wishes,
>
> Pete
>
> On Sun, Mar 7, 2010 at 2:41 PM, Peter Hollands <peter.holla...@gmail.com>wrote:
>
>
>
> > Bill,
>
> > Thsi could be an easy new feature. It just depends on what assumptions we
> > made about the GPS serial input always arriving when the plane is flying.
> > The GPS code calls estYawDrift.c, navigate(). So we just need to be sure
> > that we don't need any of those routines or we will have to re-think how
> > they are called.
>
> > I think that now we drive the telemetry fom servoOut rather than the GPS
> > common code, we probably could do something quite easily.
>
> > So we would have something like this in options.h
>
> > #define GPS_TYPE NONE
>
> > // If there is no gps, and so no speed information, the firmware will use this speed as a fall back to
> > // attempt to calculate centripetal forces and maintain stability in long turns.
> > // Set this speed to the normal average flying speed of your plane in metres / second. Example 10.0
> > #define NORMAL_FLIGHT_SPEED 10.0
>
> > I guess my only concern is what happens when the plane starts to travel much faster than the assumed speed.
>
> > In the case of my Twinstar it has normal flight speeds that vary from 10m/s to 20m/s . So the assumed flight speed
> > could be out by a factor of 2 in normall level flight.
>
> > I wonder whether anyone that is reading this, has the full simulation of our current firmware in MatLab, and could answer
>
> > the question with an authorative qanitative answer ?
>
> > When do the assumptions above result in loss of stabilisation, and the plane spiral out of the sky ?
>
> > Pete
>
> > On Sun, Mar 7, 2010 at 2:20 PM, William Premerlani <wpremerl...@gmail.com>wrote:
>
> >> Peter,
>
> >> It is true that airspeed is needed for the centrifugal compensation
> >> calculation.
>
> >> However, one of the ideas that we have talked about, but never got around
> >> to testing, is to eliminate the GPS and use an assumed airspeed for
> >> calculations. It will not be quite as good as using the actual airspeed, but
> >> I think it would work well enough. I think that it is a potentially good
> >> idea, so someone should try it out.
>
> >> It is on my list of things to do, but there are other things that are
> >> competing for my attention just now.
>
> >> Best regards,
> >> Bill
>
> >>>> Allan- Masquer le texte des messages précédents -
>
> - Afficher le texte des messages précédents -
We had winds of 130 km/h in Sully. But on the atlantic coast they had
a sort of mini "New Orlean disaster", because the land is under the
water level in some places.
Regards,
Paul
On 7 mar, 17:26, William Premerlani <wpremerl...@gmail.com> wrote:
> Hi Paul,
>
> Yes, it would be great if you could find a "good" constant assumed airspeed
> for centrifugal compensation so that the roll, pitch, and yaw stabilization
> feedback controls are stable.
>
> Mostly, what we do not want is for a plane with ailerons to go into a death
> spiral.
>
> We understand that there might be some errors in the direction cosines, but
> that does not matter if the overall effect is to make it easier for a new
> pilot to fly.
>
> Best regards,
> Bill
>
> PS: A few days (weeks?) ago I read in the news that France had some
> unpleasant weather. Were you affected?
>
> On 3/7/10, Paul Bizard <bizard.p...@neuf.fr> wrote:
>
>
>
>
>
> > Hi Peter,
>
> > I can run a few simulations next week end if you like.
> > Just tell me exactly what you want.
>
> > Try DCM without GPS and find a "good" constant airspeed for
> > centrifugal compensation ?
>
> > Regards,
> > Paul- Masquer le texte des messages précédents -
Ben
I agree with Bill. It looks like we should be stable with
overcompensation. I'll check that out.
I'll close the loop with a simple proportional / derivative aileron
command, the same one programmed in matrixpilot.
I'll try that next saturday.
Regards,
Paul
> > > - Afficher le texte des messages précédents -- Masquer le texte des messages précédents -
I've sent Bill a document. I don't know how to upload it here.
I found that:
1- the death spiral is not that deadly if the constant speed is lower
than the flying speed
2- a compensation exists if the constant speed is greater than the
flying speed
3- the apparent efficiency of the stick command is greater in the
first case and lower in the second
4- mean flying speed +10m/s is a very good value IMO.
Regards,
Paul