Andreas Antener
4f19d457c4
ekf, control: make sure mag fusion doesn't start anymore when we have GPS heading fusion active
2019-09-18 09:27:24 +10:00
Andreas Daniel Antener
95a0803b14
Adding AK09916 driver to support the Here2 GNSS emulated mag (I2C) ( #11837 )
...
* drivers, magnetometer: added ak09916 driver to support the mag driver emulated by the Here2 gps
* boards: set yaw 270 rotation for external ak09916 driver and only start it for the PH21
* drivers: only start ak09916 when icm20948 is not available on a ph21 setup
2019-04-11 12:43:50 -04:00
Andreas Antener
e0dc5ae7f4
px4iofirmware: only set mixer trims when they got updated
2018-08-05 23:24:57 +02:00
Andreas Antener
5500dfc550
px4iofirmware: moved the simple register updates down to the fall-through block, moved the sbus rate update up so it doesn't get called on each of the other updates which would set the wrong value
2018-08-05 23:24:57 +02:00
Andreas Antener
4db149f6e7
mixer: set/get_trim needs to return the amount of channels consumed by the mixer even if the mixer doesn't support trims (or is empty)
2018-08-05 23:24:57 +02:00
Andreas Antener
f298d4bb4f
mixer: use global new line check for parsing the heli mixer
2018-08-05 23:24:57 +02:00
Andreas Antener
198708ba2e
rotation: updated board rotation meta data
2018-02-28 10:08:58 +01:00
Andreas Antener
ab9ee3aa6c
conversion: added -45 deg pitch rotation
2018-02-28 10:08:58 +01:00
Andreas Antener
add20389f6
conversion: added rotation +45 degree in pitch
2018-02-28 10:08:58 +01:00
Andreas Antener
98441ac100
Log rate controller integrators (FW + MC)
2018-01-29 09:10:56 -05:00
Andreas Antener
9e16e51d3a
attitude_fw: constrain integrator properly to prevent building it up over the specified maximum
2018-01-13 16:17:01 +01:00
Andreas Antener
ee57908911
Provide access to FW integrators
2017-11-26 15:33:34 +01:00
Andreas Antener
4f5d70bbe5
Increase fixed-wing l1 navigation radius limit
2017-11-26 14:43:25 +01:00
Andreas Antener
4ea49242d3
SDP3x pitot compensation: fixed the compensation and protect agains negative compensation values
2017-09-19 09:01:11 -07:00
Andreas Antener
00efbffea9
UAVCAN: disable ESCs when in VTOL fixed-wing
2017-04-23 14:59:24 +02:00
Andreas Daniel Antener
18293875b7
Old style switches: changed the loiter switch to have priorit over main switch ( #6764 )
2017-04-16 10:10:31 -04:00
Andreas Antener
11484b0d51
Rattitude: set default threshold for multicopter rattitude mode to 0.8 which enables it right away when selecting it
2017-02-18 08:03:19 +01:00
Andreas Antener
44d05bac55
Rattitude: enable for FW in old style switch mapping
2017-02-18 08:03:19 +01:00
Andreas Antener
bd0cd35ff8
Convergence: fix motor output meta data
2017-02-18 08:03:19 +01:00
Andreas Antener
998427f821
ECL: updated to proper commit
2017-02-18 08:03:19 +01:00
Andreas Antener
8683739fec
Convergence: updated tuning
2017-02-18 08:03:19 +01:00
Andreas Antener
459b8b7c7e
FW att: removed unused fields again
2017-02-18 08:03:19 +01:00
Andreas Antener
e04fe593e0
Tiltrotor: option to enable differential thrust in forwards flight
2017-02-18 08:03:19 +01:00
Andreas Antener
b19cd19411
FW Acro: udpate ECL and implemented fixed-wing Acro
2017-02-18 08:03:19 +01:00
Andreas Antener
2f3b1edbd4
Convergence: increase yaw output in mixer
2017-02-18 08:03:19 +01:00
Andreas Antener
986fa1d52f
Sublime: exclude build folders
2017-02-18 08:03:19 +01:00
Andreas Antener
a5f3f65c2b
Switch assignment: added manual and stabilized switch for a default stabilized switch scheme, let FW go into Acro
2017-02-18 08:03:19 +01:00
Andreas Antener
66b8f7ec5b
Removed obsolete fields from ECL control data
2017-02-12 11:40:14 +01:00
Andreas Antener
5363e8d307
Wheel controller: use library function to wrap pi
2017-02-12 11:40:14 +01:00
Andreas Antener
338804606a
Fixed-wing: allow mission takeoff
2017-01-13 00:18:08 -08:00
Andreas Antener
272f1dd4b9
Firefly6: config meta data update and some small param changes
2017-01-05 06:47:40 +01:00
Andreas Antener
cc1989b180
Convergence: updated param from todays flights
2017-01-03 20:32:33 -05:00
Andreas Antener
2416e523e4
Convergence: normalize the mixer
2017-01-03 20:32:33 -05:00
Andreas Antener
1de7636fad
Tiltrotor: gradually reduce roll control with time or airspeed instead of simply switching it off
2017-01-03 20:32:33 -05:00
Andreas Antener
f2db8d0106
VTOL: added missing open loop time parameter
2017-01-03 20:32:33 -05:00
Andreas Antener
364a57016f
VTOL: added config for the E-flite Convergence
2017-01-03 20:32:33 -05:00
Andreas Antener
c416fc3fa0
Tiltrotor:
...
- added open-loop transition time for airspeed-less flying
- added ramping down the back motors during forwards transition
2017-01-03 20:32:33 -05:00
Andreas Antener
35740b0b59
Mixer test: fix paths for nuttx
2017-01-03 20:32:33 -05:00
Andreas Antener
a5a5694a5e
Mixer tests: updated vtol2 test mixer to the one that actually failed before
2017-01-03 20:32:33 -05:00
Andreas Antener
7dcba260a7
Fix meta data for added boolean parameters
2016-12-28 11:53:19 +01:00
Andreas Antener
e0fc0a847c
Mission:
...
- weathervane on takeoff
- separate cruising speeds for VTOL in MC and FW
- cruising speed resets
- mission work item logic is more clear
- fixed double execution of certain work item states
- enable cruise speed change on the fly by command
- moved VTOL transition target position generation to mission code and set always
2016-12-28 11:53:19 +01:00
Andreas Antener
1f72068de3
Integrationtests: updated script to properly handle log uploads
2016-12-13 10:20:14 +01:00
Andreas Antener
14f75bc8a3
SITL CI: Remove log upload from test script and move into separate one
2016-12-13 10:20:14 +01:00
Andreas Antener
be2451cfc7
SITL: use logger for standard_vtol and upload *.ulg files after integrationtests
2016-12-13 10:20:14 +01:00
Andreas Antener
3ff0609f26
Integrationtests: upload test logs to flight review
2016-12-13 10:20:14 +01:00
Andreas Antener
30445ebd68
log upload: ignore error if we cannot get git email, really be quiet with -q except for printing the URL in the end
2016-12-13 10:20:14 +01:00
Andreas Antener
17f49ec8cb
Integration tests: use separate commands to set mode and arm
2016-12-11 17:00:09 +01:00
Andreas Antener
64778b9540
Load monitor: added parameter to disable stack check
2016-12-09 21:12:12 +01:00
Andreas Antener
72f52c920c
Load monitor: reduce scope of scheduler locking
2016-12-09 21:12:12 +01:00
Andreas Antener
806b8d3a67
Load monitor: free counter
2016-12-09 21:12:12 +01:00
Andreas Antener
a0cf938ced
Load monitor: lock scheduler for stack check and added performance counter for stack checking
2016-12-09 21:12:12 +01:00
Andreas Antener
dda0de09dd
Load monitor: optimize performance of stack checking
2016-12-09 21:12:12 +01:00
Andreas Antener
a74269ec60
Load monitor: adding stack logging to logger
2016-12-09 21:12:12 +01:00
Andreas Antener
c0c75d07c9
Removed 'degree' character that caused python3 to act up while pruning the mixer file
2016-12-09 21:12:12 +01:00
Andreas Antener
62103be7ba
Load monitor: report and log processes low on stack
2016-12-09 21:12:12 +01:00
Andreas Antener
64657900de
SITL CI: use tagged docker image instead of latest
2016-12-03 09:42:54 +01:00
Andreas Antener
ef495d26b8
Airspeed calibration: wait on filter before preflight check
2016-12-02 22:56:48 +01:00
Andreas Antener
e9737d6f7a
Preflight checks: made sure pre-flight check results are always reported first thing on the console and always on new or re-established telemetry links AFTER waiting for the hotplug timeout
...
(leads to double publishing on the console when a new link is established, but this is the best compromise between fixing and completely restructuring)
2016-12-02 22:56:48 +01:00
Andreas Antener
c069264752
Preflight check: initialize VTOL flag before it is used
2016-12-02 22:56:48 +01:00
Andreas Antener
b531e65f6a
Airspeed check: updated message and explained test parameters
2016-12-02 22:56:48 +01:00
Andreas Antener
f772fc2d02
Airspeed: preflight check for bad offset, fixed calls to preflight checks (vtol & airspeed)
2016-12-02 22:56:48 +01:00
Andreas Antener
a94c8d7812
Log download: try to use file modification date for log list if it makes sense
2016-11-19 14:51:30 +01:00
Andreas Antener
dd8d178168
MAVLink Streams: added collision stream
2016-11-19 14:46:20 +01:00
Andreas Antener
0eadf26d34
Log download: fix memory leak in generating the list
2016-11-18 16:27:47 +01:00
Andreas Antener
1999ed2601
Testing: use return value to check if controllib tests failed
2016-10-26 08:41:21 +02:00
Andreas Antener
f3b5c243e5
UT: added method to test float values
...
MC pos control tests: added tests to all configs that include them
2016-10-10 23:05:44 +02:00
Andreas Antener
9a219da9c2
Refactored cross sphere line tracking and added a unittest to verify correct operation
2016-10-10 23:05:44 +02:00
Andreas Antener
c2e0246650
MC pos control: realize when we are on the trajectory but passed the target waypoint
2016-10-10 23:05:44 +02:00
Andreas Antener
e7d90b1cd3
reduced the wait time at the end of the motor ramp to not unnecessary stress the system
2016-09-21 08:53:15 +02:00
Andreas Antener
3b58caa32a
Updated motor RAMP timing to match slew rate limiter
2016-09-21 08:53:15 +02:00
Andreas Antener
5825b8c3e7
Geofence: renamed action on flag, reset only if none of the possible warning actions is set
2016-09-18 21:14:18 +02:00
Andreas Antener
6c7e5651ce
Geofence: moved rtl_on reset up so it always happens when falling out of RTL
2016-09-13 14:32:01 +02:00
Andreas Antener
5a7046027c
added rattitude to geofence exit condition
2016-09-13 14:32:00 +02:00
Andreas Antener
a59038e3cb
Geofence: fix reset after violation and also if RTL/Loiter switches are not assigned
2016-09-13 14:32:00 +02:00
Andreas Antener
e1e410783a
tailsitter: correctly use roll/pitch inputs when optimal recovery is enabled
2016-09-13 14:32:00 +02:00
Andreas Antener
8c9f4e8ab8
added which transition the vtol is in to vehicle status
2016-09-13 14:32:00 +02:00
Andreas Antener
46105f735e
finish back transition when a mode change from manual to auto happens during the back transition
2016-09-13 14:32:00 +02:00
Andreas Antener
c6e4926d4e
prevent instant transition to fixed-wing while already in back transition, prevents unsafe flying state
2016-09-13 14:32:00 +02:00
Andreas Antener
3163cf90c9
FW: simplified flap/flaperon logic and always move them at the same rate (don't jump)
2016-09-07 19:29:32 +02:00
Andreas Antener
cbbf5e2e7c
filtering files for code check seperately to enable fast use of git pre-commit hook to check code style
...
ask user to install pre-commit hook when code style is checked
2016-09-07 11:25:51 +02:00
Andreas Antener
06bfecd829
Geofence: use correct types for float params
2016-09-07 08:05:28 +02:00
Andreas Daniel Antener
9ea4c33ede
Battery: directly evaluate critical battery state if set, wait longer for USB detection to happen ( #5460 )
2016-09-07 07:26:06 +02:00
Andreas Daniel Antener
02029882db
SITL CI: gracefully fail tests early ( #5405 )
2016-08-28 21:56:31 +02:00
Andreas Antener
2e44fe9edd
update previous waypoint before transition command
2016-08-12 11:50:38 +02:00
Andreas Antener
5eaf104318
fixed optimal recovery condition
2016-08-10 22:47:26 +02:00
Andreas Antener
853a5b77fd
disabled attitude setpoint change in MC controller when optimal recovery is active
2016-08-10 22:47:26 +02:00
Andreas Antener
9087ef5990
only recalculate rotation matrix and quaternion when not in velocity control
2016-08-10 22:47:26 +02:00
Andreas Antener
ae533b01b6
removed unused code
2016-08-10 22:47:26 +02:00
Andreas Daniel Antener
9f4a91ab19
initialize waypoint transfer sequence with -1 ( #5274 )
2016-08-10 08:39:54 +02:00
Andreas Antener
2dd29ec4a1
VTOL: publish stabilized FW attitude to correct topic
2016-08-06 20:43:49 +02:00
Andreas Daniel Antener
f3c5c2c5a9
use thrust scale parameter for vtol pusher support ( #5207 )
2016-08-03 23:41:01 +02:00
Andreas Antener
579d420db1
VTOL: enable MC motors after instant back transition
2016-08-03 13:56:07 +02:00
Andreas Antener
86d1488e52
added missing const keyword
2016-08-02 21:09:45 +02:00
Andreas Antener
d089c427ec
quadchute code style fix
2016-08-02 21:09:45 +02:00
Andreas Antener
6f1eda2b18
added single point to decide if we need quadchute, let the reason be passed from the source where we know what's going on
2016-08-02 21:09:45 +02:00
Andreas Antener
92ddc30b69
moved min alt param
2016-08-02 21:09:45 +02:00
Andreas Antener
92185945bc
make quadchute work during transitions
2016-08-02 21:09:45 +02:00
Andreas Antener
bae5416819
removed duplicate memset
2016-08-02 21:05:00 +02:00
Andreas Antener
50175ca7ea
manual condition includes threshold values
2016-07-25 08:56:19 +02:00
Andreas Antener
f069880504
VTOL: don't wait on TECS in FW state if TECS is not running
2016-07-25 08:56:19 +02:00