Daniel Agar
29b3950747
move geo and geo_lookup to PX4/ecl
2018-03-26 23:16:55 -04:00
Daniel Agar
ac7242987c
delete unused tailsitter_recovery library ( #9103 )
2018-03-21 14:09:36 -04:00
Daniel Agar
2ce8b6a984
delete VT_FW_PITCH_TRIM parameter ( #9014 )
2018-03-07 09:08:59 -05:00
Roman
ac2b3ccadc
vtol_att_control: default front transition throttle to 100%
...
- the main idea is to prevent airspeed less systems to stall after a
transition
Signed-off-by: Roman <bapstroman@gmail.com >
2018-03-07 14:01:51 +01:00
Roman
e4ea7262fd
tailsitter.cpp: small cosmetic fix
...
Signed-off-by: Roman <bapstroman@gmail.com >
2018-03-07 14:01:51 +01:00
Roman
03338935e0
vtol_att_control: make sure blending airspeed is smaller than transition airspeed
...
Signed-off-by: Roman <bapstroman@gmail.com >
2018-03-07 14:01:51 +01:00
Roman
e0ca38e794
standard vtol: fix mc weight calculation
...
Signed-off-by: Roman <bapstroman@gmail.com >
2018-03-07 14:01:51 +01:00
Roman
23257bf6ee
standard vtol: simplify blending weight calculation
...
Signed-off-by: Roman <bapstroman@gmail.com >
2018-03-07 14:01:51 +01:00
Roman
b66bc712af
tailsitter: avoid doing same calculation twice
...
Signed-off-by: Roman <bapstroman@gmail.com >
2018-03-07 14:01:51 +01:00
Roman
1d8f588d37
vtol_att_control: switch from division to multiplication for variable
...
calculation
Signed-off-by: Roman <bapstroman@gmail.com >
2018-03-07 14:01:51 +01:00
Roman
9e16543dbe
tiltrotor: represent time since transition in seconds
...
- more intuitive
- avoids tons of divisions
Signed-off-by: Roman <bapstroman@gmail.com >
2018-03-07 14:01:51 +01:00
Roman
ae2e6c7a18
tailsitter: represent time since transition in seconds
...
- more intuitive
- avoids tons of divisions
Signed-off-by: Roman <bapstroman@gmail.com >
2018-03-07 14:01:51 +01:00
Roman
bf22f02567
tailsitter: removed usage of hrt_elapsed and small cleanup
...
- do not call hrt_elapsed_time since it's expensive
- remove P2 front transition phase (was not even used)
Signed-off-by: Roman <bapstroman@gmail.com >
2018-03-07 14:01:51 +01:00
Roman
196d0e40b4
standard vtol: use time in second since transition start instead of using
...
microseconds
- seconds is more intuitive
- avoids tons of divisions by 1e6f
Signed-off-by: Roman <bapstroman@gmail.com >
2018-03-07 14:01:51 +01:00
Roman
5a2a5127fa
tailsitter: removed common vtol parameters
...
Signed-off-by: Roman <bapstroman@gmail.com >
2018-03-07 14:01:51 +01:00
Roman
07a84f2246
tiltrotor: removed common vtol parameters
...
Signed-off-by: Roman <bapstroman@gmail.com >
2018-03-07 14:01:51 +01:00
Roman
6900f97b72
vtol_att_control: use airspeed_disabled flag instead of airspeed mode
...
Signed-off-by: Roman <bapstroman@gmail.com >
2018-03-07 14:01:51 +01:00
Roman
daa6c6ffc8
vtol_att_control: consolidated standard parameters & fix usage of hrt_elapsed time
...
- standard vtol was implementing many custom parameters although they
are generic and should be shared between the vtol types
- removed heavy usage of hrt_elapsed_time() which is a system call and
could be computationally expensive
2018-03-07 14:01:51 +01:00
Sander Smeets
2ef9c4ec35
VTOL force land even when transitioning to FW ( #8958 )
2018-03-01 16:51:50 -05:00
Daniel Agar
3b0b5645e1
vtol_att update poll fd before poll call
2018-03-01 18:27:57 +01:00
Roman
ea3586cfd9
tailsitter: stop fiddling with thrust during transition and just let
...
the mc pos controller handle it for now
Signed-off-by: Roman <bapstroman@gmail.com >
2018-03-01 12:16:27 -05:00
Roman
ee2163ce69
vtol_att_control: prevent segfault when no command line args given
...
Signed-off-by: Roman <bapstroman@gmail.com >
2018-03-01 11:35:34 -05:00
bresch
aca30fc612
VTOL standard - Remove pitch trim
2018-01-29 09:32:51 -05:00
bresch
920cb7a1a1
VTOL standard - Group multicopter weights in update_vtol_state()
2018-01-29 09:32:51 -05:00
bresch
d34767b871
VTOL standatd - Simplify multicopter weight in update_transition_state()
2018-01-29 09:32:51 -05:00
Daniel Agar
137a2444a8
VTOL standard respect VT_ELEV_MC_LOCK
2018-01-11 16:18:47 -05:00
Daniel Agar
66f614435f
vtol_att avoid unnecessary work and delete unused
2018-01-02 01:35:57 +01:00
Daniel Agar
d3a220f807
vtol_att only set fw_permanent_stab on param change
2018-01-02 01:35:57 +01:00
Sander Smeets
b21af471ac
QuadChute monitor tecs height rate ( #8395 )
2017-12-04 13:12:44 -05:00
Daniel Agar
fedc9abb02
vtol_att_control increase stack by 30 Bytes (1200 -> 1230)
2017-11-29 16:01:40 -05:00
Julian Oes
585b03898f
vtol_att_control: ack transition commands
...
Previously transition commands were not acked at all which meant that a
mavlink consumer such as a ground station would not get feedback if the
command arrived.
This solution is not optimal because it does not take into account if
the transition actually happened but at least it is feedback that the
command has arrived at the destination.
2017-11-13 09:56:11 -05:00
sanderux
dd9179efc9
Adaptive QuadChute disabled in manual modes
2017-10-30 20:57:47 +01:00
sanderux
fc16a31f89
Adaptive quadchute
2017-10-30 20:57:47 +01:00
Daniel Agar
4416c4ddb3
navigator move parameters out of MissionBlock
...
- MissionBlock is an interface with > 10 implementations
2017-10-26 22:43:53 +02:00
Daniel Agar
b4755297ec
delete control_state and cleanup vehicle_attitude ( #7882 )
2017-09-21 16:24:53 -04:00
Matthias Grob
5bea264a5f
Matrix Quaternions: Apply simpler call for constructor and copying to all remaining modules
2017-09-21 17:44:57 +02:00
sanderux
b5c3bc7b0f
Remove thrust_sp from pusher assist calculation
2017-09-20 10:51:06 +02:00
Daniel Agar
545ce9ae24
modules remove extra semicolons
2017-09-16 21:29:52 +01:00
sanderux
07a995a621
Code style
2017-09-11 12:08:39 +02:00
sanderux
1d2a08bd2d
VTOL back transition: check only forward velocity
2017-09-11 12:08:39 +02:00
sanderux
595d706eaf
Reverse pusher delay
...
Thist adds a delay for the reverse thrust to allow the motor to brake and avoid sync issues.
2017-08-30 08:08:25 +02:00
Jasmine
8bf12f512b
vtol tailsitter attitude control ( #7841 )
...
* revise pitch transition start and actuator_out_1 in transition
* update with new matrix math library
2017-08-26 12:05:17 +02:00
sanderux
33e67fd527
Disable PA during landing
2017-08-16 08:19:06 +02:00
sanderux
e6c942033b
Disable pusher assist when descending
2017-08-16 08:19:06 +02:00
sanderux
8f5293d7b0
Remove explicit pusher throttle setting
2017-08-16 08:19:06 +02:00
sanderux
33efd89ef8
Disable pusher assist for quadchute failsafe
2017-08-16 08:19:06 +02:00
sanderux
66bb7adc4c
simplify back transition throttle scaling
2017-08-16 03:06:13 +02:00
sanderux
6b9a8daceb
Correctly name b_trans_thr and remove contraint
2017-08-16 03:06:13 +02:00
sanderux
ff669ee645
Move vtol standard params
2017-08-16 03:06:13 +02:00
sanderux
7a8d3c4ab2
Correctly check reverse thrust conditions
2017-08-16 03:06:13 +02:00