LibrePilot Forum
General Category => General Discussion => Topic started by: barako 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..
-
Sure baro sensor is used...
You can choose AltitudeHold or AltitudeVario as thrust mode.
(https://forum.librepilot.org/index.php?action=dlattach;topic=468.0;attach=884)
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.
-
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 ?
-
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.
-
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.
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...
-
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.
-
Currently altitude error is also controlled by power.
https://bitbucket.org/librepilot/librepilot/src/cefcacbbcf7d7fbfa27aaf13c0bae909562ec869/flight/modules/PathFollower/fixedwingflycontroller.cpp?at=next&fileviewer=file-view-default#fixedwingflycontroller.cpp-375
Not sure how react with a fixed rpm engine
-
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!
-
What is the code you sent me ?
Librepilot code ?
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... :)
-
But as the name of this project implies it for pilot's.. :D
Maybee we will make it happend for aircrafts?
Regrds,
Barak.
-
Or start with simulation ?
https://www.youtube.com/watch?v=iDRYvlnoatk
-
Hi f5sho.
Thanks for the great Video ...!
-
does the attitude hold mode useful for helicopter?
-
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.
-
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.
-
You may need a build environment and compile firmware and Gcs
https://librepilot.atlassian.net/wiki/display/LPDOC/Developer+Manual
-
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.
Thanks , I will carefully have a try.
-
Sure baro sensor is used...
You can choose AltitudeHold or AltitudeVario as thrust mode.
(https://forum.librepilot.org/index.php?action=dlattach;topic=468.0;attach=884)
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.
Does the Baro sensor need to be calibrate? I means the Baro' s attitude and the actual height are much different ,tThanks
-
If you want a calibrated altitude you may need to calibrate every day...
For altitude calculation, we assume ambient pressure is 1013.25hPa
-
A little clarification in an old thread.
ALtitude Hold and ALtitude Vario (throttle modes) basically don't need calibration. When you switch to one of these modes, they see the current altitude and use that. One day it may think it is 300 meters and another day it may think 310 meters for the same aLtitude, 301 meters is still the same "one meter up" that 311 meters is the next day...
-
Thanks. I have tested. The Baro's attitude(-88m) is different with actual height(10m), but the attitude hold function is ok.
-
is there a way to setup the baro as variometer for glider that feeds back to Taranis? thinking of saving $$ on vario.
-
is there a way to setup the baro as variometer for glider that feeds back to Taranis? thinking of saving $$ on vario.
Two options that I know of are: a) send telemetry over oplink b) display telemetry on osd.
So there is no support for FrSky telemetry (Taranis) at the moment, only UAVTalk. FrSky would require hardware inverter probably.
In short, no such a option involving Taranis to my knowledge.
-
Hi,
LP2Go shows current Altitude.
See Image below.
You can even "calibrate" it (set it to 0).
Maybe that would work for you?
(One Intention of LP2Go is to show telemetry for people with cheap transmitters, like myself.)
Best regards,
Marc