barako

  • *
  • 8
Altitude sensor
« on: December 22, 2015, 12:59:52 pm »
Hello All!!

I am new to this but thinking of an application for a real ultralight aircraft auto pilot...

Is the altitude (barometer) sensor on the board of the revolution is used by the firmware right now ?
is there a altitude hold mode enabled by using this sensor ?

Thanks for your great help!

Barak..

f5soh

  • *****
  • 4572
    • LibrePilot
Re: Altitude sensor
« Reply #1 on: December 22, 2015, 01:22:02 pm »
Sure baro sensor is used...

You can choose AltitudeHold or AltitudeVario as thrust mode.

Remember you should arm/hover in manual Thrust mode first and switch to one stabilization using AltitudeVario for example. At this point the Throttle stick position becomes the neutral position.

barako

  • *
  • 8
Re: Altitude sensor
« Reply #2 on: December 22, 2015, 01:50:55 pm »
Thanks Very much for your answer !

I also , if you please ...would like to ask if there is a way to operate the board without the receiver inputs ?

Something like fail safe mode  maybee ?

barako

  • *
  • 8
Re: Altitude sensor
« Reply #3 on: December 22, 2015, 02:16:56 pm »
Hi f5sho!

the application i am interested is fixed wing ..therefor there is no throttle control  .
only option to use the elevator .
is there such a mode?

Thanks-Barak.


f5soh

  • *****
  • 4572
    • LibrePilot
Re: Altitude sensor
« Reply #4 on: December 22, 2015, 02:35:50 pm »
I also , if you please ...would like to ask if there is a way to operate the board without the receiver inputs ?

RcInputs are not optional, you need inputs for arming.

Quote
the application i am interested is fixed wing ..therefor there is no throttle control  .
only option to use the elevator .
is there such a mode?

Not sure i understand... so a glider ? You can stabilize a glider without motor but for autonomous features you need a motor.
The altitudehold thrust mode applies to multirotors, not fixed wing...

barako

  • *
  • 8
Re: Altitude sensor
« Reply #5 on: December 22, 2015, 02:52:37 pm »
Hi f5sho..

Of course there is a motor (an engine to be precise...) but no way to have a servo controlling it so the only controllable channel  is the elevator ...

Is there a altitude hold mode supporting that ?

Thanks!
Barak.

f5soh

  • *****
  • 4572
    • LibrePilot

barako

  • *
  • 8
Re: Altitude sensor
« Reply #7 on: December 22, 2015, 03:12:16 pm »
I see...

What is the code you sent me ?

So to my understanding there are  two issues for this application (real aircraft auto pilot):

1. needing ppm inputs from rc receiver .

2. unknown behaviour  when no throttle control is given(only elavator for fixed wing type..)

Am i correct ?

Thanks again for your help!

f5soh

  • *****
  • 4572
    • LibrePilot
Re: Altitude sensor
« Reply #8 on: December 22, 2015, 03:47:08 pm »
What is the code you sent me ?

Librepilot code ?

Quote
So to my understanding there are  two issues for this application (real aircraft auto pilot):

The biggest issue : Librepilot is not intended for real aircraft use... :)


barako

  • *
  • 8
Re: Altitude sensor
« Reply #9 on: December 22, 2015, 10:45:06 pm »
But as the name of this project implies it for pilot's.. :D

Maybee we will make it happend for aircrafts?

Regrds,
Barak.

f5soh

  • *****
  • 4572
    • LibrePilot
Re: Altitude sensor
« Reply #10 on: December 22, 2015, 11:18:14 pm »
Or start with simulation ?


barako

  • *
  • 8
Re: Altitude sensor
« Reply #11 on: December 23, 2015, 10:56:43 am »
Hi f5sho.

Thanks for the great Video ...!

xfce

  • **
  • 91
Altitude sensor
« Reply #12 on: December 23, 2015, 12:50:22 pm »
does the attitude hold mode useful for helicopter?

Re: Altitude sensor
« Reply #13 on: December 23, 2015, 11:58:33 pm »
If you find someone that has done this, start with their suggestions.  :)

It is used on quadcopters all the time.
But helis must be set up so that the 'thrust' controls collective, not throttle.  I'm afraid that no one has played with that in a long time.  It would be much simpler if a single channel controlled both throttle and collective like with a governor? then it would be just like a quad.

For a heli:
System -> Settings -> SystemSettings -> ThrustControl
and press the red up arrow at the top of the screen to save it.

Be very careful.  Test thoroughly with motor disconnected / off.  Be aware that you might crash a heli.  :(

If you were using a fixed pitch heli the answer would be that it is easy, but that the vertical motion is so slow to react that the vertical PIDs would need to be retuned.

barako

  • *
  • 8
Re: Altitude sensor
« Reply #14 on: December 24, 2015, 12:32:39 pm »
Hi F5soh.

Regarding the code you showed me , is it the actual firmware of the board ?
if so , can i modify it ? and how do i "burn" it back to the board (revo,cc3d etc...)

Thanks for clarifying ..

barak.