1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2024-11-29 07:24:13 +01:00
Commit Graph

1256 Commits

Author SHA1 Message Date
Cliff Geerdes
d8e07b090e LP-76 fix drops out of sky in AutoTune mode 2016-06-18 14:08:05 -04:00
Cliff Geerdes
aa06b1793f LP-76 update copyrights 2016-06-18 14:08:05 -04:00
Cliff Geerdes
fd22011bfa LP-76 get ready for PR uncrustify and comments 2016-06-18 14:08:05 -04:00
Cliff Geerdes
b48ed29fc5 LP-76 easier to understand yaw PID limiting 2016-06-18 14:08:04 -04:00
Cliff Geerdes
a217d0015f LP-76 better yaw-calc yaw by default-yaw overrides-cleanup for review 2016-06-18 14:08:04 -04:00
Cliff Geerdes
ab50008e07 LP-76 fix no control first time during 2 second startup 2016-06-18 14:08:04 -04:00
Cliff Geerdes
78dffae5a1 LP-76 disable stabHandler for AutoTune mode 2016-06-18 14:08:04 -04:00
Cliff Geerdes
faf2fffb5a LP-76 smooth quick PIDs via accessory0-3 and mode switch toggle 2016-06-18 14:08:04 -04:00
Cliff Geerdes
db07550303 LP-76 smooth to quick slider on accessoryx untested 2016-06-18 14:08:03 -04:00
Cliff Geerdes
3312d9892c LP-76 write calculated PIDs to requested stab bank 2016-06-18 14:08:03 -04:00
Cliff Geerdes
2105a49ca9 LP-76 add UAV defaults and remove UAV inits 2016-06-18 14:08:03 -04:00
Laurent Lalanne
fee9f7e071 LP-339 Only allow switching to AutoTakeOff if disarmed state 2016-06-18 19:10:41 +02:00
Laurent Lalanne
2001e00b26 LP-325 Reduce AlwaysStabilizedWhenArmed accessory threshold. 2016-05-30 15:11:22 +02:00
Laurent Lalanne
afb32d3090 LP-72 Uncrustify after rebase 2016-05-25 13:51:40 +02:00
Cliff Geerdes
5d5968c186 LP-72 channelgroup dsmrcvrport nano 2016-05-25 13:51:37 +02:00
Lalanne Laurent
e79e44bb36 Merged in mindnever/librepilot/LP-309-accessory-switch-arming-timeout-fix (pull request #242)
LP-309 accessory switch arming timeout fix
2016-05-15 22:26:37 +02:00
Vladimir Zidar
e12967e45a Merge remote-tracking branch 'upstream/next' into LP-291_port_UAVOMSPBridge_from_dRonin 2016-05-15 22:16:47 +02:00
Lalanne Laurent
c6cf612bf4 Merged in corvusvcorax/librepilot/LP-295_OP-1900_fixedwingautotakeoff_rebasenext (pull request #234)
LP-295 fixedwingautotakeoff
2016-05-15 18:42:53 +02:00
Vladimir Zidar
9571960939 LP-291 Fixed PID mapping 2016-05-11 14:54:10 +02:00
Vladimir Zidar
240b299a14 LP-291 Added MSP_PIDNAMES in good hope that mwosd will once implement it. Added pid tuning for Attitude PI. msp_set_pid() will now commit changes to same bank msp_send_pid() got data from. Implemented saving of settings bank data in disarmed state. 2016-05-11 13:35:40 +02:00
Vladimir Zidar
ce14c68a7f LP-309 uncrustified 2016-05-11 12:05:44 +02:00
Vladimir Zidar
5205d95a8c LP-309 skip edge detection if not transitioning from fully ARMED/DISARMED state 2016-05-11 12:02:36 +02:00
Vladimir Zidar
633d8d4969 LP-309 Arming should be done at armingInputLevel edge (crossing ARMED_THRESHOLD) instead of level to avoid unwanted re-arming after timeout. 2016-05-10 23:18:57 +02:00
Lalanne Laurent
c3f0d693b5 Merged in alessiomorale/librepilot/amorale/LP-150_slower_attittude_est_cc (pull request #239)
LP-150 slower attittude estimation for CC/CC3D
2016-05-09 12:21:56 +02:00
Alessio Morale
e14e5febe2 LP-150 - prevent stab error conditions 2016-05-03 01:00:28 +02:00
Alessio Morale
6bd6ef5be1 LP-150 - Run attitude estimation at a configurable fraction of gyro sample rate for CC/CC3D 2016-05-03 01:00:06 +02:00
Laurent Lalanne
214ae849a2 LP-233 Add MultiShot 5 - 25µs pulses 2016-05-02 20:24:03 +02:00
Laurent Lalanne
2bda2e2901 LP-233 Simplify, same clock used for all OneShot modes 2016-05-02 20:24:03 +02:00
Laurent Lalanne
78be10ff28 LP-233 Multiply / factor instead of scale 2016-05-02 20:24:03 +02:00
Laurent Lalanne
49107e4007 LP-233 Increase Oneshot output resolution 2016-05-02 20:24:03 +02:00
Laurent Lalanne
32a6de6b79 LP-233 Support OneShot42 2016-05-02 20:24:03 +02:00
Vladimir Zidar
6e2ec8aecc LP-291 Minor cosmetic change - added missing break in msp_send_alarms(). 2016-04-26 11:56:58 +02:00
Vladimir Zidar
2a668d0615 LP-291 Fixed alert severity translation to MSP alarm levels. 2016-04-26 11:54:47 +02:00
Corvus Corax
e1394febb0 LP-295 fixed file headers for all touched files 2016-04-25 18:45:35 +02:00
Corvus Corax
bf80ede401 LP-295: fixed comments and formatting 2016-04-25 18:12:31 +02:00
Corvus Corax
47d2746fba LP-295: uncrustify 2016-04-25 17:37:06 +02:00
Vladimir Zidar
7925f115df LP-291 fix coptercontrol build. Oplink uavos are not available there. 2016-04-25 15:15:03 +02:00
Vladimir Zidar
35ccc6a169 LP-291 removed unused msp_send_ident() function 2016-04-25 14:58:46 +02:00
Vladimir Zidar
8dbf9e7d31 LP-291 Changed noise floor level to -110 to be closer to real noise level instead of absolute -127 2016-04-25 13:28:10 +02:00
Vladimir Zidar
84886cbce4 LP-291 fixed typo &acc2 should be &acc3 2016-04-25 12:55:23 +02:00
Vladimir Zidar
33eb434862 LP-291 add missing includes. Uncrustification. 2016-04-24 01:50:41 +02:00
Vladimir Zidar
69a51956e8 LP-291 msp_send_comp_gps(): calculate distance and direction to home using PositionState and TakeOffLocation, same way it is done in GCS. 2016-04-24 01:49:09 +02:00
Vladimir Zidar
fec3924ee0 LP-291 msp_send_altitude(): use PositionState instead of BaroSensor and add VelocityState to provide climb rate 2016-04-24 01:46:13 +02:00
Vladimir Zidar
bb0f15024b LP-291 msp_send_channels(): include Accessory3 2016-04-24 01:41:42 +02:00
Vladimir Zidar
5d72a9671c LP-291 msp_send_analog(): Use OPLinkStatus.RSSI if applicable 2016-04-24 01:38:30 +02:00
Corvus Corax
5285689541 Merge branch 'next' into corvuscorax/OP-1900_fixedwingautotakeoff_rebaserc6 2016-04-23 02:08:13 +02:00
Vladimir Zidar
26d63ee7ac LP-291 fixed @author tags 2016-04-22 22:53:16 +02:00
Vladimir Zidar
f04d44de30 LP-291 Added MSP support to all boards (revolution, revonano, revoproto, discoveryf4bare and coptercontrol) 2016-04-22 03:30:38 +02:00
Vladimir Zidar
365354ea74 LP-291 Changed AlarmString() arguments 2016-04-22 03:30:35 +02:00
Vladimir Zidar
1a870f0c0f LP-291 Added proper float rounding before casting to uint8_t 2016-04-22 03:30:19 +02:00
Vladimir Zidar
d281d8ce0c LP-291 Added MSP_SET_PID command. 2016-04-22 03:30:09 +02:00
Vladimir Zidar
db5807e54c LP-291 Cleaned up flight modes and additional icons. Implemented MSP_PID message. 2016-04-22 03:29:38 +02:00
Vladimir Zidar
d8bdd8bfcf LP-291 Added TaskInfo entry for UAVOMSPBridge task 2016-04-22 03:26:50 +02:00
Vladimir Zidar
6b5e43a57d LP-291 Changed default baudrate to 115200 2016-04-22 03:26:47 +02:00
Vladimir Zidar
1e32ccb1d0 LP-291 Initial port 2016-04-22 03:26:41 +02:00
Lalanne Laurent
e6ada50587 Merged in alessiomorale/librepilot/amorale/LP-276_measurement_based_d_term (pull request #218)
[LP-276] Support D Term calculation on measurement only
2016-04-14 11:44:39 +02:00
Alessio Morale
f83c9e2c73 [LP-276] some perf improvements (mainly for f1 targets)
(authored by Lalanne Laurent <f5soh@free.fr>)
2016-04-08 22:18:01 +02:00
Philippe Renon
bde5648f51 Merged in mindnever/librepilot/LP-268-OPLink_add-tx-and-rx-packet-rates (pull request #210)
Lp 268 oplink_add tx and rx packet rates
2016-04-04 21:28:25 +02:00
Philippe Renon
d916fde887 Merged in f5soh/librepilot/LP-273_Reset_Mag_Alarm (pull request #214)
LP-273 Reinit Mag alarm while switching to Complementary
2016-04-04 21:26:38 +02:00
Alessio Morale
a513b2c675 [LP-276] Support D Term calculation on measurement only 2016-04-03 21:49:44 +02:00
Laurent Lalanne
b1747c58c2 LP-273 Reinit Mag alarm while switching to Complementary 2016-04-02 00:11:01 +02:00
Vladimir Zidar
8c1b008da1 LP-268 Uncrustified. 2016-03-28 16:03:16 +02:00
Vladimir Zidar
4159449021 LP-268 This adds TX and RX data rates to OPLinkStatus UAVO and fixes small issue in rfm22b driver with rx_seq not being updated. 2016-03-28 16:02:28 +02:00
Laurent Lalanne
3f344bde4d LP-228 Treat Gimbal outputs only if CamStab module is enabled. 2016-03-16 15:58:38 +01:00
Lalanne Laurent
feee98b305 Merged in f5soh/librepilot/LP-206_AlwaysStabilizeWhenArmed_switch (pull request #190)
LP-206 Add Always stabilized accessory switch
2016-03-12 20:34:00 +01:00
Laurent Lalanne
593cf7bc61 Typo PIOS_RFM22B_GetPairStats() 2016-03-12 17:56:05 +01:00
Laurent Lalanne
6735314852 Uncrustify all 2016-03-12 17:30:24 +01:00
Harold Hankins
315d9ee98d LP-252 remove extra sendbuffer call 2016-03-10 16:33:12 -05:00
Harold Hankins
fd235d8aa5 LP-252 correct buffer handling 2016-03-10 16:33:12 -05:00
Harold Hankins
352d2c27f0 LP-252 allow compile without watchdog 2016-03-10 16:33:12 -05:00
Harold Hankins
aca8a4db13 LP-252 fix reuse of buffer expected to retain data between calls 2016-03-10 16:33:12 -05:00
Laurent Lalanne
406c381071 LP-206 Add Always stabilized accessory switch - Fix: Allow Accessory3 for arming 2016-03-07 18:26:10 +01:00
Alessio Morale
089c224514 Merged in alessiomorale/librepilot/amorale/LP-96_cpu_idle_counter (pull request #37)
LP-96 Updated CPU idle counter / LP-97 unify CopterControl and Revolution init process
2016-02-19 20:19:05 +01:00
Cliff Geerdes
ed0e879b7c LP-212 extra parenthesis, throw compile error if local defines are already defined 2016-02-16 16:14:39 -05:00
Cliff Geerdes
a73b7720c5 LP-212 save time and space if PIOS_GPS_MINIMAL 2016-02-16 15:36:08 -05:00
Cliff Geerdes
fac0213987 LP-212 readable #ifs and dji compile for cc3d 2016-02-16 15:36:08 -05:00
Cliff Geerdes
2826cb5cd7 LP-212 forgot to lower camel case GpsTime 2016-02-16 15:36:08 -05:00
Cliff Geerdes
baeb379a82 LP-212 changes from code review 2016-02-16 15:34:59 -05:00
Cliff Geerdes
fad0e9f24c LP-212 uncrustify and remove junk comments 2016-02-16 15:32:56 -05:00
Cliff Geerdes
2ae1f9c63d LP-212 DJI GPSMag support 2016-02-16 15:23:36 -05:00
Lalanne Laurent
b3151602b2 Merged in TheOtherCliff/librepilot/theothercliff/LP-145_CC3D_GPS_issue (pull request #123)
LP-145 CC3D GPS issue
2016-02-16 19:13:10 +01:00
Cliff Geerdes
dae9052686 finish renaming load_mag_settings to include hardware type 2016-02-02 09:39:53 -05:00
Cliff Geerdes
f4a088bcfa change forward error gotos into breaks 2016-02-02 09:17:56 -05:00
Fredrik Arvidsson
e17d809120 Merge branch 'next' into thread/LP-104_LP-196_HoTT_and_Ex.Bus_Support 2016-01-24 21:11:35 +01:00
Lalanne Laurent
da884f5432 Merged in f5soh/librepilot/LP-214_Camera_tilt_compensation (pull request #158)
LP-214 Camera tilt compensation
2016-01-24 17:56:59 +01:00
Laurent Lalanne
580ef50efb LP-214 Calc changes 2016-01-24 16:35:40 +01:00
Laurent Lalanne
f20adf00f5 LP-214 Add Fpv Camera tilt compensation 2016-01-24 16:35:32 +01:00
Laurent Lalanne
cd94047619 LP-205 Rate trainer : add Attitude stabilizaton at max angle 2016-01-24 16:26:28 +01:00
Fredrik Arvidsson
d32cc0e7fb Merge branch 'thread/LP-104_LP-196_HoTT_and_Ex.Bus_Support_15.09' into thread/LP-104_LP-196_HoTT_and_Ex.Bus_Support 2016-01-09 19:18:48 +01:00
Fredrik Arvidsson
02c981388a Merge branch 'thread/LP-196_Jeti_Ex_Bus_15.09' into thread/LP-104_LP-196_HoTT_and_Ex.Bus_Support_15.09
# Conflicts:
#	flight/targets/boards/coptercontrol/board_hw_defs.c
#	flight/targets/boards/coptercontrol/firmware/pios_board.c
#	flight/targets/boards/revolution/board_hw_defs.c
#	flight/targets/boards/revolution/firmware/inc/pios_config.h
#	flight/targets/boards/revolution/firmware/pios_board.c
#	flight/targets/boards/revonano/firmware/inc/pios_config.h
#	flight/targets/boards/revonano/firmware/pios_board.c
#	shared/uavobjectdefinition/hwsettings.xml
#	shared/uavobjectdefinition/manualcontrolsettings.xml
#	shared/uavobjectdefinition/receiveractivity.xml
2016-01-09 16:59:24 +01:00
Fredrik Arvidsson
c48c46b8ef LP-196 Cleaned up some configuration. Ex.Bus only available on Flexiport. 2016-01-09 16:07:13 +01:00
Fredrik Arvidsson
6a3a822c87 LP-104 Cleaned up configuration. Only Allow HoTT on flexi port. 2016-01-09 15:50:52 +01:00
Lalanne Laurent
4fabce011a Merged in f5soh/librepilot/LP-204_Fast_invsqrtf_issue (pull request #147)
LP-204 Replace fast_invsqrtf() with invsqrtf() : 1.0f / sqrtf()
2016-01-09 12:59:47 +01:00
Fredrik Arvidsson
bc80c66c2b LP-196 Removed some leftover code and definitions. 2016-01-07 14:22:52 +01:00
Fredrik Arvidsson
359266ab7a LP-104 Removed support for HoTT on Main port on coptercontrol target since it does not work. 2016-01-07 13:01:46 +01:00
Philippe Renon
6b39fc0800 uncrustify 2016-01-04 21:41:45 +01:00
Laurent Lalanne
71a0a563f1 LP-204 Replace fast_invsqrtf() with invsqrtf() : 1.0f / sqrtf() 2015-12-26 14:26:36 +01:00
Fredrik Arvidsson
3e920bc5bc LP-196 Added driver for Jeti EX.Bus protocol. Added support for CopterControl target on Main and Flexi port. This is WIP and not tested yet. 2015-12-26 12:29:04 +01:00
Fredrik Arvidsson
7a95050381 LP-104 Added missing code to receiver.c to detect receiver activity. This probably caused a crash on any activity of the HoTT receiver.
Added 40 bytes to the receiver stack.
Added options to receiver activity.xml uavo definition.
2015-12-20 13:36:45 +01:00
Laurent Lalanne
309f5db956 LP-191 Receiver activity : Increase min range value and allow all Sbus
channels scanning.
2015-12-04 20:36:51 +01:00