1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2024-12-13 20:48:42 +01:00
Commit Graph

6234 Commits

Author SHA1 Message Date
Laurent Lalanne
2872a3467a LP-345 Simplify xtalcap callback check, reuse PIOS_RFM22B_SetXtalCap at boot 2016-12-23 14:39:09 +01:00
Laurent Lalanne
340d304558 LP-345 Changes from review - Typos - Initialize previousOPLinkSettings 2016-12-23 14:39:09 +01:00
Laurent Lalanne
1e920ec67c LP-346 RFM22 tuning: Allow XtalCap value changes without reboot. 2016-12-23 14:39:09 +01:00
Laurent Lalanne
8e1d6f6d86 LP-346 RFM22 tuning: Missing AFCCorrection update for OPLink 2016-12-23 14:39:08 +01:00
Laurent Lalanne
ea377973fc LP-346 RFM22 tuning: Add XtalCap value for fine tuning 2016-12-23 14:39:08 +01:00
Laurent Lalanne
7800f49705 LP-346 RFM22 tuning: Add AFC value to OplinkStatus 2016-12-23 14:39:08 +01:00
Laurent Lalanne
f332d48e9b LP-345 RFM22: Add frequency band selection. 433, 868 and 915Mhz band 2016-12-23 14:38:50 +01:00
Jan NIJS
e5ca71052a LP-452 Added Galileo as a GNSS configuration option to the GCS.
System -> Settings -> GPSSettings -> UbxGNSSMode

The options GPS+Galileo and GPS+GLONASS+Galileo have been added.

Also corrected PRN mask for EGNOS SBAS information. Active PRN: 120 & 136 , 123
Ref: https://egnos-user-support.essp-sas.eu/new_egnos_ops/index.php
2016-12-17 00:04:44 +01:00
Philippe Renon
d21e880345 uncrustify 2016-12-15 22:44:43 +01:00
Philippe Renon
33188bd78e Merge remote-tracking branch 'upstream/master' into next
# Conflicts:
#	ground/gcs/src/plugins/coreplugin/connectionmanager.cpp
2016-12-13 00:56:32 +01:00
Laurent Lalanne
76c0f3f350 LP-444 Update SystemHealth for I2C alarms and more. 2016-12-11 18:15:02 +01:00
Vladimir Zidar
1207968362 LP-444 Do not touch i2c alarm in case it is uninitialised. This will keep the gcs field grey when I2C is not in use. 2016-12-05 13:47:17 +01:00
Vladimir Zidar
e603f9f3fe LP-444 Improved I2C alarm handling by monitoring error count changes returned by PIOS_I2C_GetDiagnostics(). 2016-12-05 13:02:36 +01:00
Vladimir Zidar
64bf884f96 LP-391 Changed PIOS_COM_Init buffer len parameters to uint16_t type. Fixed simposix pios_board.c GPSPORT_GPS init incorrectly passing -1 to PIOS_Board_configure_com() which was on some platforms converted to large unsigned value. 2016-11-26 21:51:29 +01:00
Laurent Lalanne
762b1c1ef1 LP-401 Scan only active flightmodes 2016-11-15 21:41:26 +01:00
Cliff Geerdes
27d6b04b58 LP-411 AutoTune limit outer PID - dRonin PR 1283 2016-11-15 21:41:26 +01:00
Cliff Geerdes
47bbf2cd33 LP-401 Autotune init improvments 2016-11-15 21:41:26 +01:00
Lalanne Laurent
81c5551be4 Merged in filnet/librepilot/LP-429_flight_mode_changes_dont_trigger_configuration_check (pull request #345)
LP-429 flight mode changes dont trigger configuration check
2016-10-23 14:19:19 +00:00
Vladimir Zidar
68414cf648 LP-431 Get only necessary data from ManualControlSettings to save on stack usage. 2016-10-10 00:29:11 +02:00
Philippe Renon
abfe95095d LP-429 manualcontrol: first register config change callbacks and only then do a initial configuration check 2016-10-09 19:30:25 +02:00
Philippe Renon
c289dd3a1a LP-429 manualcontrol: make sure that flight mode changes trigger a configuration check 2016-10-09 19:29:28 +02:00
Laurent Lalanne
52fe2578f2 LP-428 Reduce Arming threshold 2016-10-09 01:44:19 +02:00
Philippe Renon
aef6d65b1f Merged in mindnever/librepilot/LP-413_add_PIOS_COM_RegisterAvailableCallback (pull request #333)
LP-413 This commit adds PIOS_COM_RegisterAvailableCallback() function.
2016-10-05 21:45:32 +02:00
Lalanne Laurent
01de16657d Merged in paul_jewell/librepilot/LP-423_fix_HMC5x83_driver_dereferences_null_pointer (pull request #338)
LP-423 - Modified IRQHandler
2016-10-01 19:36:57 +02:00
Lalanne Laurent
79b0acb2e2 Merged in paul_jewell/librepilot/LP-424_fix_pios_openlrs_reference (pull request #339)
LP-424 - Corrected copy error - in pios_openlrs.c
2016-10-01 19:36:14 +02:00
paul Jewell
21383908a4 LP-424 Corrected copy error - s.,$:rfm22b_id/openlrs_id/g 2016-10-01 15:35:21 +02:00
paul Jewell
d8cbc6684b LP-423 - Modified IRQHandler 2016-09-30 23:24:09 +02:00
Brian Webb
f8c69646b7 LP-417 Blink link LED on OPLink when not connected. 2016-09-25 09:56:51 -07:00
Vladimir Zidar
5d8274357d LP-413 This commit adds PIOS_COM_RegisterAvailableCallback() function. 2016-09-24 01:10:31 +02:00
Vladimir Zidar
87035d953c LP-412 Allow access to rx & tx callbacks through pios_com device API. 2016-09-24 01:07:01 +02:00
Philippe Renon
2b8e5e78f6 LP-406 remove space from Windows USB directory name 2016-09-21 22:33:27 +02:00
Philippe Renon
6221ddd9b4 LP-406 revert changes to inf file (i.e. remove sparky and version bump) 2016-09-21 22:33:27 +02:00
Alessio Morale
5dbdaaa904 Merged in f5soh/librepilot/LP-407_Add_RSSI_Channel_input (pull request #325)
LP-407 Add Rssi channel input
2016-09-21 21:24:43 +02:00
Lalanne Laurent
553448abad Merged in alessiomorale/librepilot/LP-385_cameracontrol (pull request #309)
Lp 385_cameracontrol
2016-09-21 21:24:05 +02:00
Philippe Renon
039200b403 Merged in f5soh/librepilot/LP-333_I2C_Pullups_rel-16.09 (pull request #326)
LP-333 I2C Pullups for flexiport and i2cport
2016-09-21 21:12:12 +02:00
Cliff Geerdes
8cfc867e1d LP-333 I2C Pullups for flexiport and i2cport 2016-09-18 20:27:23 +02:00
Laurent Lalanne
aaf30e7fad LP-407 Changes from review - Cleannup 2016-09-16 19:46:31 +02:00
Laurent Lalanne
72aabd30fd LP-407 Pios_Sbus: Set quality to minimum after a failsafe 2016-09-16 19:45:23 +02:00
Laurent Lalanne
cff5dac088 LP-407 Add Rssi input value - ReceiverActivity: Ignore Rssi channel if already set 2016-09-14 15:23:20 +02:00
Alessio Morale
25b2a22122 LP-385 - Add Image Index 2016-09-08 02:29:33 +02:00
Vladimir Zidar
4e427f69db LP-401 Add sanity check for FlightModeSettings to bring up reboot-required alarm if flightmode has autotune, but no autotune modules started. 2016-09-07 00:58:46 +02:00
Lalanne Laurent
bf5cff319a Merged in mindnever/librepilot/LP-382_fix_MSP_stack_overflow_on_PID_save (pull request #314)
LP-382 Use ObjectPersistence UAVO instead of stack hungry UAVObjSave()
2016-09-04 19:53:22 +02:00
Lalanne Laurent
f182931c6b Merged in paul_jewell/librepilot/LP-330_fix_copyright_symbol (pull request #313)
Changed (c) to (C) for consistency
2016-09-04 12:44:17 +02:00
Alessio Morale
493a48ba2b LP-385 - fixes from review 2016-09-03 21:44:41 +02:00
Corvus Corax
1af73aad8a fixed length type in pios/posix pios_com.c to size_t (was still uint16_t) 2016-09-02 21:28:23 +02:00
Vladimir Zidar
27146b6dcd LP-382 Use ObjectPersistence UAVO instead of stack hungry UAVObjSave() 2016-09-01 13:47:46 +02:00
paul Jewell
0517258834 LP-330 Changed (c) to (C) for consistency 2016-08-31 19:47:40 +02:00
Philippe Renon
52a9aa37c8 Merged in mindnever/librepilot/LP-391_fix_Some_CC3D_ports_cause_a_boot_issue_and_re_init_to_defaults (pull request #307)
LP-391 This fixes issue with negative size (-1) passing from PIOS_Board_configure_com() to PIOS_COM_Init().
2016-08-30 09:56:53 +02:00
Philippe Renon
c363e126fc Merged in mindnever/librepilot/LP-322_USB_ComBridge_functionality_on_OPLink (pull request #302)
Lp 322_usb_combridge_functionality_on_oplink
2016-08-30 09:55:57 +02:00
Vladimir Zidar
107aa2170e LP-391 This fixes issue with negative size (-1) passing from PIOS_Board_configure_com() to PIOS_COM_Init(). 2016-08-30 02:03:10 +02:00
Vladimir Zidar
a5a45576a1 LP-322 Added USB ComBridge functionality to OPLink. Updated GCS code. 2016-08-30 01:52:59 +02:00
Vladimir Zidar
cb53094843 LP-377 Remove references to HwSettings object. This is not needed anymore. 2016-08-30 01:39:53 +02:00
Vladimir Zidar
b1f7f5e4bf LP-377 Implement handling of USB_CDC_REQ_SET_LINE_CODING control request for F4 and F1 targets. Removes UsbComBridgeSpeed from hwsettings object. Removes GCS combo boxes related to UsbComBridgeSpeed. Fixes few places where UsbComBridgeSpeed was used for DebugConsole speed config. 2016-08-30 01:22:57 +02:00
Alessio Morale
6c8dafec3c LP-385 - Add support for all revo class boards 2016-08-29 21:16:52 +02:00
Alessio Morale
44f1c76ef9 Merge branch 'next' into LP-385_cameracontrol 2016-08-29 21:04:55 +02:00
Alessio Morale
b04a3929be LP-385 - Get system timestamp coherently with system module 2016-08-29 20:35:11 +02:00
Alessio Morale
d000dd63c6 LP-385 - Add MinimumTimeInterval which define a hard minimum limit between two consecutive shots in auto mode. This is needed to ensure camera can keep up with trigger without loosing shots 2016-08-29 20:24:58 +02:00
Alessio Morale
8114d7771e LP-385 - Fix manual trigger 2016-08-29 19:58:39 +02:00
Alessio Morale
7ed8e63689 LP-385 - Fix Actuator support for CameraControl 2016-08-29 19:57:55 +02:00
Alessio Morale
9bb9086167 LP-385 - Convert local coordinates to LL 2016-08-29 19:57:34 +02:00
Alessio Morale
4e78da41d3 LP-368 - Add coordinate conversion functions, perform some cleanup/optimization 2016-08-28 22:44:53 +02:00
Alessio Morale
b356408e16 LP-385 - Manage time/distance trigger, picture trigger pulse duration 2016-08-28 22:42:56 +02:00
Philippe Renon
1647982fca Merged in f5soh/librepilot/LP-387-Sparky_analog_port (pull request #305)
LP-387 Analog port: Add DAC pin as input - Fix pin mapping.
2016-08-28 18:48:22 +02:00
Philippe Renon
2ccabe27e7 Merged in alessiomorale/librepilot/LP-381_log_buffers (pull request #303)
LP-381 - Adds circular buffer and run writes within a separate callback
2016-08-28 18:47:40 +02:00
Philippe Renon
45f791742d Merged in mindnever/librepilot/LP-239_GPS_on_Revo_FlexiIO (pull request #299)
LP-239 gps_on_revo_flexiio
2016-08-28 18:46:12 +02:00
Laurent Lalanne
798248ef24 LP-387 Analog port: Add DAC pin as input - Fix pin mapping. 2016-08-21 04:57:15 +02:00
Alessio Morale
3bd8d48068 LP-385 - use fractional part of second in camera activity 2016-08-18 19:27:30 +02:00
Alessio Morale
8f5ec2679c LP-385 - add supports for fractional part of second in gps time 2016-08-18 19:27:06 +02:00
Alessio Morale
88a8e767c4 LP_385 - Implement activation/manual override logic, Camera activity "publishing" 2016-08-18 19:25:55 +02:00
Alessio Morale
c7e060c04a LP-385 - Initial CameraControl module commit 2016-08-18 12:40:34 +02:00
Alessio Morale
22969c5e17 LP-385 - Implement camera trigger output handling 2016-08-18 12:10:14 +02:00
Alessio Morale
cba2184caf LP-381 - Adds circular buffer and run writes within a separate callback 2016-08-17 19:57:29 +02:00
Fredrik Arvidsson
226f8c4c3d Merged in f5soh/librepilot/LP-298_Ibus_support_Dronin (pull request #298)
LP-298 IBus support dRonin
2016-08-17 12:40:41 +02:00
Vladimir Zidar
51151e6290 LP-239 This commit adds missing com protocols (GPS) to Revo Flexi IO (rcvrport) including proper GCS handling 2016-08-06 03:20:35 +02:00
Lalanne Laurent
a979287bb7 Merged in alessiomorale/librepilot/LP-367_set_rtl_velocity (pull request #293)
LP-367 - Set Return to home velocity
2016-08-06 00:50:54 +02:00
Laurent Lalanne
34f55ffbe2 LP-298 Use PIOS_Board_configure_ibus() for all boards - Missing define for RevoNano 2016-08-05 20:49:34 +02:00
Laurent Lalanne
e52d2636f0 LP-298 Use PIOS_IBUS_NUM_INPUTS like other inputs 2016-08-03 19:52:34 +02:00
Laurent Lalanne
5895468f08 LP-298 Port Ibus Input driver from dRonin - Not tested 2016-08-03 19:09:05 +02:00
Alessio Morale
e7f15e31d0 LP-369 - Fix cdc availability condition 2016-07-26 02:15:04 +02:00
Vladimir Zidar
12c6c9b2fe LP-364 Cosmetic changes including (in)famous uncrustify. 2016-07-24 22:26:34 +02:00
Vladimir Zidar
5b8d168a12 LP-364 This commit adds MAVLink to revoproto target 2016-07-24 22:26:34 +02:00
Vladimir Zidar
b0dd2649bc LP-364 remaining conflict fixes 2016-07-24 22:26:34 +02:00
Vladimir Zidar
873950b071 LP-364 Added MAVLink support to remaining target boards: sparky2, revonano and coptercontrol. 2016-07-24 22:26:29 +02:00
Vladimir Zidar
ba6ebba29c LP-364 CC3D related fixes. Added missing AttitudeStateYawGet(). 2016-07-24 22:21:30 +02:00
Vladimir Zidar
b8b9d31c07 LP-364 Initial MAVLink bridge port from dRonin 2016-07-24 22:21:30 +02:00
Alessio Morale
08b960549a LP-367 - Set homelocation velocity 2016-07-24 17:04:51 +02:00
Vladimir Zidar
a0e7859dd1 LP-365 replace com port boilerplate code with calls to PIOS_Board_configure_com() 2016-07-21 23:52:23 +02:00
Lalanne Laurent
2de896818e Merged in alessiomorale/librepilot/LP-361_notification_improvements (pull request #283)
Lp 361_notification_improvements
2016-07-21 20:05:54 +02:00
Alessio Morale
6b1f4e52be Merged in TheOtherCliff/librepilot/theothercliff/LP-340_AutoTune_fix_some_time_measurement_issues_in_original_code (pull request #282)
LP-340 Autotune fix some time measurement issues in original code
2016-07-21 19:53:33 +02:00
Cliff Geerdes
a13de1e62b LP-340 Add 100 bytes of stack because Nano needs 156 more than Sparky2 2016-07-20 02:56:10 -04:00
Cliff Geerdes
447dff6fc9 LP-340 cosmetic type of issues requested in PR 2016-07-19 19:04:40 -04:00
Cliff Geerdes
792aae6f9b LP-340 stop NAN propagation at the start of tuning 2016-07-19 17:41:58 -04:00
Alessio Morale
02d04ddf43 LP-361 - Cleanup sequences to make alarms easier to understand
Error sequence:
  pause, RED, <item color> x 2, pause;
warn sequence:
  pause, ORANGE, <item color>, pause;

ITEM COLOR:
- GPS = GREEN;
- MAG = PURPLE;
- CONFIG = RED;
- RECEIVER = YELLOW.

BATTERY ALARM:
- warning 5x ORANGE blinks
- critical 5x RED blinks

DISARMED: short white blinks
2016-07-17 17:19:34 +02:00
Alessio Morale
fa041ecf05 LP-361 - Don't lose notifications when more than an alarm is active
, fix time between notifications condition, cleanup
2016-07-17 17:13:09 +02:00
Cliff Geerdes
a365578385 LP-340 dont export nan pids and new setting for d-term oscillation 2016-07-16 00:42:20 -04:00
Brian Webb
9fdde98ff9 LP-190: Adds OPLink configuration GUI cleanup from filnet. 2016-07-12 18:01:03 -07:00
Brian Webb
586af77267 LP-190: Fixes an issue with uninitialized OPLink receiver channels. 2016-07-12 17:49:29 -07:00
Brian Webb
a65492b589 LP-190: Removes RFM22B register definitions from pios_rfm22b_priv.h and switches to using pios_rfm22b_regs.h. Alos addresses a few issues brought up in review. 2016-07-12 17:49:28 -07:00
Brian Webb
02b5a9bd78 LP-190: ppm_mode must be true if either 'control' or 'data and control' are set even if no PPM ports are configured, otherwise the data link doesn't work. 2016-07-12 17:49:26 -07:00
Brian Webb
2e2bb1b20b LP-190: Removed rfm22breceiver UAVO. 2016-07-12 17:49:16 -07:00
Brian Webb
0738c8a78a LP-190: Final testing and bug fixes. 2016-07-12 17:47:16 -07:00
Brian Webb
91ea8966da LP-190: Addes support for OpenLRS receiver protocol to the OPLinkMini. Also updates the OPLink configuration to better support OpenLRS. 2016-07-12 17:47:16 -07:00
Brian Webb
aa21761f4c LP-190: Adds support for OpenLRS protocol to OPLinkMini 2016-07-12 17:47:16 -07:00
Brian Webb
021eb21008 LP-190: Moved openlrsstatus UAVO to OPLinkStatus 2016-07-12 17:46:15 -07:00
Brian Webb
dc17bd9ad8 LP-190: Adds support for OpenLRS receiver to Sparky2 target. 2016-07-12 17:46:15 -07:00
Brian Webb
a0279b272f LP-190: Initial checkin that adds OpenLRS receiver support to Revolution and OPLinkMini. 2016-07-12 17:45:33 -07:00
Cliff Geerdes
06193c60ac LP-340 reduce stack allocation 2016-07-12 18:39:44 -04:00
Cliff Geerdes
69f1964b12 LP-340 uncrustify 2016-07-12 14:48:11 -04:00
Cliff Geerdes
f2f8d8e712 LP-340 code changes 2016-07-12 14:48:11 -04:00
Cliff Geerdes
7553eb4f32 LP-340 Quick code with both timing fixes 2016-07-12 14:48:10 -04:00
Lalanne Laurent
4aba28c296 Merged in alessiomorale/librepilot/LP-327_gyro_cal_steady (pull request #270)
Lp 327_gyro_cal_steady
2016-07-05 19:44:25 +02:00
Alessio Morale
f4bc8e0c33 Merged in f5soh/librepilot/LP-354_Ublox_AssistNowAutonomous (pull request #273)
LP-354 Add Ublox AssistNowAutonomous setting
2016-07-05 19:41:43 +02:00
Laurent Lalanne
9dd894f4a9 LP-354 Add comments and use byte shift. 2016-07-03 20:02:03 +02:00
Laurent Lalanne
1a6b0a4d70 LP-354 Define Nav5 and Navx5 constants in UBX.h 2016-07-03 18:44:45 +02:00
Alessio Morale
6214c0ea30 Uncrustify 2016-07-03 17:10:46 +02:00
Alessio Morale
036dcbaa21 Merged in f5soh/librepilot/LP-352_Rate_super_expo (pull request #272)
LP-352 Increase expo effect
2016-07-03 17:05:48 +02:00
Philippe Renon
c2c4dae628 Merged in alessiomorale/librepilot/LP-349_pathplanner_warning (pull request #271)
LP-349 - Remove warning if pathplanner has no defined plan
2016-07-03 17:01:19 +02:00
Alessio Morale
ad0cf537f5 LP-327 - fixes from review 2016-07-03 16:51:36 +02:00
Alessio Morale
c9188fc5a2 Merged in TheOtherCliff/librepilot/theothercliff/LP-76_Port_Autotune_from_dRonin (pull request #198)
Theothercliff/lp 76_port_autotune_from_dronin
2016-07-03 16:09:30 +02:00
Alessio Morale
ad1fbaec3f Merged in f5soh/librepilot/LP-339_AutoTakeOff_only_on_ground (pull request #265)
LP-339 Only allow switching to AutoTakeOff if disarmed state
2016-07-03 16:05:29 +02:00
Alessio Morale
a2d2e81220 Merged in mindnever/librepilot/LP-342-pios_exti-improvement (pull request #266)
Lp 342 pios_exti improvement
2016-07-03 16:05:03 +02:00
Alessio Morale
2b9a255dac Merged in mindnever/librepilot/LP-343_extend_PIOS_COM_Available (pull request #267)
LP-343 Change return type from PIOS_COM_Available() to give extended status about RX and TX availability on given COM device.
2016-07-03 16:03:25 +02:00
Alessio Morale
31cdda4c71 Merged in f5soh/librepilot/LP-241_CruiseControl_Rate_stab (pull request #259)
LP-241 Allow CruiseControl + Rate
2016-07-03 15:57:51 +02:00
Laurent Lalanne
831f8265e7 LP-354 Add Ublox AssistNowAutonomous setting, file heading typos 2016-07-03 04:01:31 +02:00
Laurent Lalanne
273fa60c84 LP-352 Increase expo effect like 'superExpo' 2016-07-01 15:30:19 +02:00
Alessio Morale
134bcff0df LP-349 - Remove warning if pathplanner has no defined plan 2016-06-28 23:20:39 +02:00
Alessio Morale
c090b8df38 LP-327 - Raise an alarm to prevent arming if gyro is not yet calibrated (implement the same Revo behaviour) 2016-06-28 23:11:03 +02:00
Alessio Morale
f42c33a922 LP-327 - CC/CC3D Implementation 2016-06-28 23:11:03 +02:00
Alessio Morale
52c2bc6f4a LP-327 - Configurable max allowed variance parameter 2016-06-28 23:11:03 +02:00
Alessio Morale
4cf1af58da LP-327 - Add a parameter to opt-out the board steady logic 2016-06-28 23:11:03 +02:00
Alessio Morale
2ce258e365 LP-327 - Determine if copter is steady checking gyro variance before calibrating its bias 2016-06-28 23:11:03 +02:00
Alessio Morale
9774045699 LP-327 - implement some kind of pseudo variance to be used to determine if copter is steady 2016-06-28 23:10:56 +02:00
Vladimir Zidar
27cc48b362 LP-343 Change return type from PIOS_COM_Available() to give extended status about RX and TX availability on given COM device. 2016-06-22 01:57:08 +02:00
Vladimir Zidar
4aebc7cc5e LP-342 Added EXTI_Init(DISABLE) to PIOS_EXTI_DeInit. 2016-06-22 00:32:56 +02:00
Vladimir Zidar
fabc3e8d69 LP-342 Simplify pios_exti configuration, allow dynamic configuration and reconfiguration. adds PIOS_EXTI_DeInit() 2016-06-22 00:32:47 +02:00
Cliff Geerdes
0d0adae6f7 LP-76 uncrustify all 2016-06-18 14:15:46 -04:00
Cliff Geerdes
ec80904cb2 LP-76 remove a comment from 2 UAVObjects.inc files 2016-06-18 14:15:46 -04:00
Cliff Geerdes
9b6d7b263f LP-76 change (c) to (C) in copyright comments 2016-06-18 14:15:46 -04:00
Cliff Geerdes
f17f44982f LP-76 remove comment about a Nano issue that was probably caused by bad Nano hardware 2016-06-18 14:15:45 -04:00
Cliff Geerdes
63452e45ec LP-76 add blank lines in switch 2016-06-18 14:15:45 -04:00
Cliff Geerdes
e880ce6822 LP-76 remove unneeded and commented out code 2016-06-18 14:15:45 -04:00
Cliff Geerdes
039e95ac4f LP-76 fix MSP merge conflict sort OPTMODULES in alphabetical order 2016-06-18 14:14:04 -04:00
Cliff Geerdes
68c3d5030a LP-76 auto module enable, more sanity checks, SmoothQuick tweaks 2016-06-18 14:08:06 -04:00
Cliff Geerdes
03b06daef6 LP-76 SmoothQuick fixes consilidate settings uncrustify 2016-06-18 14:08:06 -04:00
Cliff Geerdes
f05b733434 LP-76 minor cleanup 2016-06-18 14:08:06 -04:00
Cliff Geerdes
4240c8ea5c LP-76 implement new dRonin yaw calculation PR and fix a TL spelling error 2016-06-18 14:08:06 -04:00
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
7ce2d7562e LP-241 Allow CruiseControl + Rate stabilization 2016-06-08 22:40:32 +02:00
Philippe Renon
be3be734b5 Merged in f5soh/librepilot/LP-326_16_PPM_Channels_support (pull request #256)
LP-326 16 PPM channels support
2016-06-08 21:59:08 +02:00
Philippe Renon
7e51749e24 Merged in f5soh/librepilot/LP-325_Reduce_ASWA_threshold (pull request #255)
LP-325 Reduce AlwaysStabilizedWhenArmed accessory threshold.
2016-06-08 21:58:11 +02:00
Lalanne Laurent
b1cc1332ec Merged in mindnever/librepilot/LP-328_hmc5x83_init_fix (pull request #257)
LP-328_hmc5x83_init_fix
2016-06-04 16:50:51 +02:00
Vladimir Zidar
77a28f2066 LP-328 Moved i2c operation PIOS_HMC5x83_ReadMag() from _driver_fetch() to _driver_poll() so that fetch() always get good data 2016-06-02 14:34:38 +02:00
Vladimir Zidar
f27db8b65c LP-328 uncrustified 2016-06-02 12:47:31 +02:00
Vladimir Zidar
10637550d7 LP-328 hmc5x83 learns how to reinitialize after it gets reconnected to the bus 2016-06-02 12:44:45 +02:00
Laurent Lalanne
b6ed0d9c9c LP-326 Increase CC3D Receiver stask size 2016-05-31 08:05:12 +02:00
Laurent Lalanne
fc07b26547 LP-326 Support up to 16 PPM channels 2016-05-31 08:04:41 +02:00
Laurent Lalanne
6f3bcf817e LP-326 Reduce minimal sync pulse lenght to 2700µs 2016-05-31 08:03:15 +02:00
Laurent Lalanne
2001e00b26 LP-325 Reduce AlwaysStabilizedWhenArmed accessory threshold. 2016-05-30 15:11:22 +02:00
Vladimir Zidar
c79f85560d LP-324 Fixed MSP support for Sparky2 target 2016-05-28 23:23:34 +02:00
Laurent Lalanne
713a30a6a1 LP-72 Uncrustify 2016-05-28 18:02:15 +02:00
Cliff Geerdes
4ee65d26f8 LP-72 allow others who have old b01 sparky2 ID to upgrade without using SBL 2016-05-28 17:33:09 +02:00
Cliff Geerdes
c54b88d0f0 LP-72 fixed comments 2016-05-27 17:19:14 +02:00
Laurent Lalanne
e776441c49 LP-72 Fix for receiverPort / Hott 2016-05-26 20:15:57 +02:00
Cliff Geerdes
f5e5ee18bf LP-72 fix MSP on MainPort 2016-05-26 20:01:11 +02:00
Laurent Lalanne
25a95d7ae2 LP-72 Fix for FlexiPort I2C configuration 2016-05-26 06:30:01 +02:00
Cliff Geerdes
32e4354e4b LP-72 fix aux mag orientation so GPSV9 DJI are 0 0 0 2016-05-25 23:22:53 +02:00
Laurent Lalanne
0b5a779bb9 LP-72 Increase driver version 2016-05-25 15:26:09 +02:00
Laurent Lalanne
8616742559 LP-72 USB Hid/Vcp : Windows and Linux support 2016-05-25 13:51:41 +02:00
Laurent Lalanne
2138516dfe LP-72 Various typo fixes - Set PPM input as default 2016-05-25 13:51:41 +02:00
Cliff Geerdes
0628949afd LP-72 uncrustify 2016-05-25 13:51:41 +02:00
Cliff Geerdes
fdc8b10ddf LP-72 use TauLabs USB IDs for Sparky2 so users can cross flash LP and TL without SBL. 2016-05-25 13:51:41 +02:00
Vladimir Zidar
2b760f9d39 LP-72 Fix MS5611 driver to allow booting with unpowered i2c devices hanging the bus 2016-05-25 13:51:41 +02:00
Vladimir Zidar
05d6d983ae LP-72 Fix for f2aa171 that broke revonano build - stm32f411 has no TIM8 2016-05-25 13:51:41 +02:00
Cliff Geerdes
0695e6acb2 LP-72 final update of old sparky2 ID that is not TL compatible 2016-05-25 13:51:41 +02:00
Vladimir Zidar
1d3d784f8b LP-72 Fixes PPM input on receiver port. Added extra interrupt channel init for TIM1 & TIM8. Removed TIM8_UP_IRQHandler, as there is no such irq in stm32f4 line. 2016-05-25 13:51:40 +02:00
Vladimir Zidar
bcea35a8e1 LP-72 Added EX.Bus,HoTT SUMD and HoTT SUMH to RCVRPORT. 2016-05-25 13:51:40 +02:00
Laurent Lalanne
afb32d3090 LP-72 Uncrustify after rebase 2016-05-25 13:51:40 +02:00
Vladimir Zidar
a1a6b130b8 LP-72 Cleaned up SPK2_RcvrPort: removed MSP from hwsettings, added SRXL rcvr port uart definition and initialization. 2016-05-25 13:51:39 +02:00
Cliff Geerdes
c7f450f82e LP-72 move flexi from rm_ to spk2_ port msp wizard and sbus fixes usagetracker 2016-05-25 13:51:39 +02:00
Cliff Geerdes
2e65449dcc LP-72 rename revolution.cpp rename revo defines rename revo comments 2016-05-25 13:51:38 +02:00
Cliff Geerdes
acab5c93f1 LP-72 small or cosmetic for PR - more to come 2016-05-25 13:51:38 +02:00
Alessio Morale
b603b10be8 LP-72 - Uncrustify 2016-05-25 13:51:38 +02:00
Alessio Morale
65d2046ccd LP-72 - fix servo definition 2016-05-25 13:51:37 +02:00
Alessio Morale
2e008884f3 LP-72 - Fix bootloader compilation 2016-05-25 13:51:37 +02:00
Alessio Morale
b88cba80ee LP-72 - HW definition cleanup 2016-05-25 13:51:37 +02:00
Alessio Morale
cbe52f3f51 LP-72 - Enable link LED 2016-05-25 13:51:37 +02:00
Alessio Morale
620a3c0c12 LP-72 - fix and cleanup timer mapping 2016-05-25 13:51:37 +02:00
Cliff Geerdes
5d5968c186 LP-72 channelgroup dsmrcvrport nano 2016-05-25 13:51:37 +02:00
Cliff Geerdes
0c76379f0a LP-72 hott exbus DjiGps systemmod comms stacksize 2016-05-25 13:51:37 +02:00
Cliff Geerdes
9450b13fde LP-72 BL wouldnt build because it didnt know DSM structs 2016-05-25 13:51:36 +02:00
Cliff Geerdes
8e9e3c72b4 LP-72 Remove FlexiIO ports from WS2811LED table 2016-05-25 13:51:36 +02:00
Cliff Geerdes
c142e5fbc4 LP-72 Redo servo-ESC outputs 2016-05-25 13:51:36 +02:00
Cliff Geerdes
38da5fc9a5 LP-72 get board booting PPM doesnt work DSM and ADC need testing 2016-05-25 13:51:36 +02:00
Cliff Geerdes
3115711049 LP-72 DSM PPM Voltage and Current sensors coded but not tested 2016-05-25 13:51:36 +02:00
Cliff Geerdes
c9b2d4d659 LP-72 Get I2CPort working with I2C Aux Mag LP-73 2016-05-25 13:51:36 +02:00
Cliff Geerdes
f230678479 LP-72 handle rcvrport and sbus differences with revo - sparky version of GCS hw tab 2016-05-25 13:51:35 +02:00
Alessio Morale
0c0b04233b LP-72 initial GCS support needs xml limits and firmware tab board image 2016-05-25 13:51:35 +02:00
Cliff Geerdes
8db5b034a2 LP-72 PPM overlooked setting but PPM is still broken 2016-05-25 13:51:35 +02:00
Cliff Geerdes
8add346167 LP-72 change BOARD TYPE and REVISION different than Revo 2016-05-25 13:51:34 +02:00
Cliff Geerdes
2286dbcdc2 LP-72 get sbus and maybe ppm working on rcvr input 2016-05-25 13:51:34 +02:00
Cliff Geerdes
9bb95e3a84 LP-72 initial sparky2 support needs GCS, 9250 orientation, testing 2016-05-25 13:51:34 +02:00
James Duley
46b4f4ff40 put flight link arguments in a file
to avoid going over windows command limit
2016-05-20 21:38:52 +01:00
James Duley
5e02fb2da7 simposix don't #define false in c++ 2016-05-20 21:30:53 +01: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
1d3569daba Merged in alessiomorale/librepilot/LP-304_perf_counter_improvements (pull request #238)
LP-304 performance counters improvements
2016-05-09 12:23:50 +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
4cbd4ea926 Merged in f5soh/librepilot/LP-233_OneShot42 (pull request #236)
LP-233 Support OneShot42
2016-05-09 10:53:12 +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
Alessio Morale
5156c0c911 LP-304 - Allow further info to be added to PERF_INIT_COUNTER for future feature support.
This may allow in future to extract the counters id list with grep to be handled by gcs or other custom tools
Proposed usage:
PERF_INIT_COUNTER(counterVariable, id, "MODULE NAME","COUNTER DESCRIPTION","UNIT OF MEASURE");
i.e.:
PERF_INIT_COUNTER(counterExecutionTime, 0xAC700001, "ACTUATOR", "Actuator update execution time", "uS");
2016-05-03 00:07:35 +02:00
Alessio Morale
1b254e4182 LP-304 - Prevent errors when dealing with variables used only for instrumentation 2016-05-03 00:07:10 +02:00
Alessio Morale
bf639b486d LP-304 - declare counters as static 2016-05-03 00:06:24 +02:00
Alessio Morale
b00ac8a55a Merged in mindnever/librepilot/LP-293-add-alarmstring-to-alarms-library (pull request #231)
Lp 293 add alarmstring to alarms library
2016-05-02 22:42:46 +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
Laurent Lalanne
c9fff7e16e LP-151 OPLink: Allow custom Device ID or auto generated. 2016-05-01 21:56:50 +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
1f0bf155ce LP-293 make use of NELEMENTS() macro instead of defining own version NELEM() 2016-04-24 02:03:50 +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