1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2024-12-02 10:24:11 +01:00
Commit Graph

5542 Commits

Author SHA1 Message Date
Alessio Morale
86571a804d OP-1683 - Switch to the same schema used by cleanflight.
Running in repetitive mode, clearing CCRx after manually triggering update event.
2015-01-30 21:22:14 +01:00
Alessio Morale
632051c0ac OP-1683 - Increase resolution for OneShot125 running timer at 8MHz, setup automatically rates for OneShot 2015-01-30 21:22:00 +01:00
Erik Gustavsson
1b94f178e8 OP-1691 Remove busy-wait and add yeild points in rfm22_init() 2015-01-28 20:55:36 +01:00
Alessio Morale
1ad4a01b75 OP-1682 - Fixes for review 2015-01-25 21:51:37 +01:00
Alessio Morale
7955f63c98 OP-1683 - Clenaup, trigger update in setfailsafe, Fix standard pwm operation 2015-01-25 21:25:14 +01:00
Corvus Corax
7e421b99a4 uncrustificationization 2015-01-25 15:48:45 +01:00
Alessio Morale
5f034dfd3e OP-1683 - Missing uncrustification for f1 stubs. 2015-01-24 15:41:04 +01:00
Alessio Morale
dcc9a5b7dc OP-1683 - Actuator uses "standard" 1000-2000 range and remap it to 125-250 just before sending to servo to prevent any impact on gcs and other blocks 2015-01-24 13:37:00 +01:00
Alessio Morale
2a10d9d481 OP-1683 - fixes to PIOS_Servo, added code to prevent overflows 2015-01-24 13:35:41 +01:00
Alessio Morale
ec69941c30 OP-1683 - Fix compilation for other targets 2015-01-24 13:08:56 +01:00
Laurent Lalanne
7a24fc62a6 Merge branch 'laurent/OP-1674_GUI_display_oplm_frequency' into next 2015-01-24 01:28:28 +01:00
Laurent Lalanne
5d4b1df85c OP-1652 Fix comment 2015-01-24 00:56:31 +01:00
Alessio Morale
411416d2a1 OP-1683 - Fix compilation for CC (not yet supported) 2015-01-24 00:18:20 +01:00
Alessio Morale
73c6ae2055 OP-1683 - Add revolution and other f4 targets support 2015-01-23 23:56:39 +01:00
Alessio Morale
47e1312982 OP-1683 - Implement oneshot/oneshot125 mode to actuator module 2015-01-23 23:51:53 +01:00
Alessio Morale
1f95332ff4 OP-1683 - Implement servo synchronous update mode for F4 2015-01-23 23:50:51 +01:00
Laurent Lalanne
c506fc93d6 OP-1674 Revert changes from previous commit in flight side, keep comments changes 2015-01-22 19:49:06 +01:00
Laurent Lalanne
68f9763e73 OP-1652 Typo FlexiIOPin 2015-01-21 14:32:21 +01:00
Laurent Lalanne
bc178b8a95 OP-1652 WS281x pins : Update flight side for revo 2015-01-21 14:12:36 +01:00
Alessio Morale
caa51253db OP-1682 - Workaround overflow issue with pwm receiver inputs on shared timers. 2015-01-19 21:55:40 +01:00
Laurent Lalanne
4c27a78072 OP-1674 Allow channel 250 2015-01-12 12:57:01 +01:00
Fredrik Arvidsson
c8c3a46735 Uncrustify 2015-01-09 21:49:03 +01:00
abeck70
2b6d79467c gpsassist:code review comments
1. Defines
2. Name of adjustments changed to vtolSelfTuningStats
2015-01-09 07:51:37 +11:00
abeck70
b1c94e83d0 gpsassist: One commit new branch
Collapsed into one branch for a new code review.  Some unnecssary committed files removed.
2015-01-08 13:20:47 +11:00
Mathieu Rondonneau
acc124cacb OP-1625: DSM: more robust detection of resolution
This allows switching back and forth between 10 and 11 bit
code which prevents getting locked up in one or the other.
It also avoids a situation that can cause an infinite
recursion.

This changeset is cherry-picked from TauLabs (b7eaf87502085666d9738ae16c66170f187f3981).
Thanks to Taulabs for improving OpenPilot's DSM autodetect feature.
2014-12-30 21:29:06 -08:00
Fredrik Larsson
4f7fc1bac7 Merge remote-tracking branch 'origin/corvuscorax/OP-1599_positionvario-reworks' into next 2014-12-14 23:45:57 +11:00
Mathieu Rondonneau
6844f8351d run uncrustify. 2014-12-04 20:17:29 -08:00
Mathieu Rondonneau
4b00f6039d OP-1626: Allow binding to happen within satellite binding window.
- This is working for satellite 22ms (genuines and clones).
 - This change only affect revo.
2014-11-29 19:59:18 -08:00
Alessio Morale
99d73426b8 Uncrustify 2014-11-27 12:05:59 +01:00
Fredrik Larsson
1687ef7e8f Merge remote-tracking branch 'origin/rel-14.10' into next 2014-11-23 12:15:32 +11:00
Fredrik Larsson
cd94410468 DSM Protocol removed flight firmware 2014-11-22 08:32:00 +11:00
Fredrik Larsson
1942d2ee30 Remove protocol enum 2014-11-22 07:44:55 +11:00
Fredrik Larsson
a45e28afa9 Merge remote-tracking branch 'origin/rel-14.10' into next 2014-11-22 03:39:30 +11:00
Mathieu Rondonneau
b0cc9ce021 OP-1625: DSM2/DSMX autodetection of channel resolution. 2014-11-20 19:58:34 -08:00
Fredrik Larsson
141cf194f1 Signed cats 2014-11-21 11:53:47 +11:00
Fredrik Larsson
8b3ae66932 New cat files after bump 2014-11-21 11:48:17 +11:00
Fredrik Larsson
9480c6efe6 Bump driver version 2014-11-21 11:47:36 +11:00
Fredrik Larsson
17c0102d34 Remove old cat files 2014-11-21 11:47:00 +11:00
Mathieu Rondonneau
1c6ac29218 OP-1625: DSM2/DSMX autodetection of channel resolution. 2014-11-18 19:35:57 -08:00
Laurent Lalanne
4fdcceda65 Merge branch 'laurent/OP-1601_CC_Ram' into next 2014-11-17 03:30:45 +01:00
Laurent Lalanne
357f091f0f Merge branch 'laurent/OP-1601_CC_Ram' into rel-14.10 2014-11-17 03:29:47 +01:00
Werner Backes
4b68deb878 Disable the "preamble invalid" interrupt for the RFM22b module. It causes
high CPU load and isn't used anyway.
2014-11-16 20:16:02 +11:00
Laurent Lalanne
8d08223e8a OP-1601 Don't use new PVT messages with CC/CC3D 2014-11-15 22:39:17 +01:00
Laurent Lalanne
9e0ede3386 OP-1601 barosensor.c and airspeedstate.c removed from Makefile 2014-11-15 22:17:08 +01:00
Werner Backes
d9a3fac502 Disable the "preamble invalid" interrupt for the RFM22b module. It causes
high CPU load and isn't used anyway.
2014-11-15 11:37:06 +01:00
Corvus Corax
5f352f54a3 OP-1599 updated defaults for position roam mode settings, do not low pass filter throttle 2014-11-10 19:06:27 +01:00
Corvus Corax
8fe21ed297 OP-1599 removed autotune from all flight code 2014-11-08 16:17:39 +01:00
Corvus Corax
c0e66a8acf OP-1599 renamed flightmodes 2014-11-08 16:01:59 +01:00
Corvus Corax
3e5c5bd140 OP-1599 added new mode "courselock" in handlers where missing 2014-11-08 14:04:00 +01:00
Corvus Corax
db0ba763bf OP-1599 add low pass filter to control input in vario mode to possibly reduce rubber-band effect - needs test and tuning 2014-11-08 13:32:40 +01:00
Corvus Corax
7d2ca3d92f OP-1599 added course lock mode, renamed other position vario modes 2014-11-08 12:59:55 +01:00
Corvus Corax
c21d3d8a67 uncrustification! 2014-11-08 12:59:16 +01:00
Fredrik Larsson
e7d183b5e6 Merge branch 'rel-14.10' into next 2014-11-07 14:58:41 +11:00
Alessio Morale
6a2666381f OP-1588 - Improve manualcontrol assumptions to be easier to mantain 2014-11-01 17:54:54 +01:00
Alessio Morale
e04825e7b7 OP-1588 - Remove *relay flight modes 2014-11-01 16:11:11 +01:00
Alessio Morale
b3b2d1ef02 OP-1584 - Remove some unused big UBX messages when running with GPS_MINIMAL 2014-11-01 16:00:03 +01:00
Alessio Morale
71d30a7521 OP-1584 - reduce telemetry queue size 2014-10-31 20:39:52 +01:00
Alessio Morale
c0ca20f661 OP-1584 - Remove auxmagsupport from cc3d for now as it is unused, remove other stuffs from ubx when GPS_MINIMAL is selected 2014-10-31 19:56:38 +01:00
Fredrik Larsson
0ea56989e7 Merge branch 'rel-14.10' into next 2014-10-31 10:12:50 +11:00
Fredrik Larsson
2dc777304e Merge remote-tracking branch 'origin/abeck/OP_1503v3-yaffs' into next 2014-10-31 10:09:39 +11:00
Corvus Corax
d0417dda84 OP-1573 fix armhandler to not timeout-disarm when flying autonomously 2014-10-29 21:12:57 +01:00
Alex Beck
e2b38d0d7d Yaffs or dosfs now conditional linkage for simposix yaffs testing 2014-10-28 08:48:38 +11:00
Alex Beck
b4e3fe137b Removed unrequired signals from handler 2014-10-25 20:01:32 +11:00
Alex Beck
c6aa4ed1d6 Added signal handler that on ctrl-c will unmount the yaffs device(s) and save to the em-norsim file 2014-10-25 19:55:56 +11:00
abeck70
942945850b Merge branch 'next' into abeck/OP_1503v3-yaffs 2014-10-23 21:25:54 +11:00
a*morale
7c1265ee30 OP-1548 - Change Fusion algorithm names to make clear their pourpose 2014-10-21 00:49:00 +02:00
a*morale
d1a229a9cb OP-1553 OPLink does not work as non coordinator
Revert "OP-1535 - SPI:Use pio for small blocks"

This reverts commit 823a1afad2.
2014-10-20 21:46:14 +02:00
Karl Knutsson
5ab924c07e Revert "OP-1522 Robustness of OPLink radio"
This reverts commit 00d9c66867.
2014-10-16 08:23:10 +02:00
Karl Knutsson
5ef8d3803d Revert "OP-1530 Use rfm22b_dev->num_channels"
This reverts commit 4e365f6dff.
2014-10-16 08:23:10 +02:00
Karl Knutsson
b69e222456 Revert "OP-1532 fix non-ppm mode"
This reverts commit 9fd4fb26b9.
2014-10-16 08:23:10 +02:00
Alessio Morale
a9f35e2afe Merge branch 'amorale/OP-1535_mpu_overhaul' into next 2014-10-16 00:51:02 +02:00
Alessio Morale
3ac2874687 OP-1540 - sha1sum was not sent correctly by GPS V9 2014-10-15 00:58:34 +02:00
Alessio Morale
15cd40a907 Merge remote-tracking branch 'origin/skarlsso/OP-1534_add_expo_and_acro_insanity_factor_to_txpid' into next 2014-10-14 21:43:59 +02:00
Alessio Morale
7968bcdb00 Merge remote-tracking branch 'origin/skarlsso/OP-1528_telemetry_on_flexi-io' into next 2014-10-14 21:17:37 +02:00
Alessio Morale
f4ef36f66c Merge remote-tracking branch 'origin/skarlsso/OP-1536_revo_combridge_garbage' into next 2014-10-14 21:16:52 +02:00
abeck70
de68e0179f First round review comments 2014-10-14 17:17:59 +11:00
Alessio Morale
fe20e39d5c OP-1535 - uses union in fast_invsqrt 2014-10-14 05:39:11 +02:00
Alessio Morale
5d074063d1 OP-1535 - Add board specific sensor update rate constant 2014-10-14 05:38:57 +02:00
Fredrik Arvidsson
0fd9758e0c OP-1525 Gaah. 2014-10-12 15:01:34 +02:00
Fredrik Arvidsson
118209e40d OP-1525 Updated comment. 2014-10-12 14:59:41 +02:00
Alessio Morale
f2fc5f5616 OP-1513 - Fix time constants, set initial temperature as first sample value 2014-10-11 23:54:21 +02:00
Alessio Morale
823a1afad2 OP-1535 - SPI:Use pio for small blocks 2014-10-11 09:57:25 +02:00
Alessio Morale
9499cf9abc OP-1535 - Some optimizations for attitude module 2014-10-11 09:57:07 +02:00
Stefan Karlsson
3285519380 OP-1536 Send only the available bytes, not the entire buffer, to the USB CDC RX callback function 2014-10-10 23:51:04 +02:00
Alessio Morale
4a8cfe3f86 OP-1535 - Refactor MPU6k driver to allow direct and fifo access based on configuration 2014-10-10 22:33:50 +02:00
Alessio Morale
28274cdb6b OP-1535 - Fixes CC3D sensor SPI configuration 2014-10-10 22:33:49 +02:00
Alessio Morale
9350bd65d9 OP-1535 - change sensor rate to 1KHz with software downsample to 500Hz
Allow per board SPI prescaler settings
2014-10-10 22:33:49 +02:00
Alessio Morale
c1062124af OP-1531 - Add temperature filtering for baro compensation 2014-10-10 22:33:47 +02:00
Alessio Morale
46fee43487 OP-1531 Filter temperatures for gyro and accel calibration. calculate new bias every 30 samples 2014-10-10 22:33:42 +02:00
Stefan Karlsson
c03d390269 OP-1534 Update both roll and pitch with TxPID Roll+Pitch.Expo option 2014-10-10 18:49:18 +02:00
Stefan Karlsson
bedb749f72 OP-1534 Add expo and acro insanity factor to TxPID 2014-10-10 17:57:24 +02:00
m_thread
19a7f4cd22 OP-1525 Changed some boundaries in firmware code. 2014-10-10 13:56:11 +02:00
m_thread
bb4d271799 OP-1525 Made the Expo magic number a constant and changed it to 1.00695f.
Changed n the firmware code to match the GCS side.
2014-10-10 12:26:22 +02:00
abeck70
948d6546af yaffs simposix ready for review
All yaffs changes for library inclusion, arm compilation, and simposix integration.
2014-10-10 13:21:06 +11:00
Fredrik Arvidsson
9fb474d930 Merge remote-tracking branch 'origin/next' into thread/OP-1525_Acro_GUI 2014-10-09 20:08:19 +02:00
Karl Knutsson
9fd4fb26b9 OP-1532 fix non-ppm mode
Always send packets from the coordinator.
Previously the coordinator only always sent packets
on channel 0. This scheme doesn't work with
with the change to use 32 channel.
2014-10-08 20:59:51 +02:00
m_thread
b794c87d3b Merge remote-tracking branch 'origin/next' into thread/OP-1525_Acro_GUI 2014-10-08 00:56:24 +02:00
Stefan Karlsson
aaebc25eff OP-1528 Fix Telemetry-only over the Flexi-IO port 2014-10-08 00:31:31 +02:00
Fredrik Larsson
cb6e9fda6d Merge remote-tracking branch 'origin/havyan/oplink-0' into next 2014-10-08 08:02:48 +11:00
Karl Knutsson
4e365f6dff OP-1530 Use rfm22b_dev->num_channels
Use the number of allocated channel from the num_channels field
in the pios_rfm22b_dev struct rather than from the maximum number
of possible of channels given the configured speed.
2014-10-07 22:50:52 +02:00
Stefan Karlsson
004f5a32a9 OP-1528 Enable Telemetry on the Flexi-IO (receiver) port on the Revo 2014-10-06 21:28:09 +02:00
Corvus Corax
270f6d87cd OP-1516 changed handling of integrals in acrop 2014-10-06 17:47:16 +02:00
Corvus Corax
b05bd2fb34 OP-1516 fixed boundf mistake 2014-10-05 21:07:06 +02:00
Corvus Corax
9525398deb OP-1516 use fastPow implementation for expo - to make it work on cc3d 2014-10-05 01:25:15 +02:00
Karl Knutsson
00d9c66867 OP-1522 Robustness of OPLink radio
Increase number of channels to 32 for all bit rates.
Synchronize clock on all channels.
Go into failsafe after 4 or 8 (one_way_link) missed packets.
Don't stay on channel 0 if we dropped a packet.
2014-10-03 22:20:11 +02:00
Karl Knutsson
1c6e9b3cc4 OP-1510 don't hard code tx_power to 100mW 2014-10-03 22:20:11 +02:00
Corvus Corax
bdb5c88d08 OP-1516 added bank configurable expo to stick to allow snappier rate response 2014-10-03 19:07:47 +02:00
Corvus Corax
ac0fccc10a OP-1516 re-introduce sanity to Acro+ 2014-10-03 15:44:02 +02:00
Corvus Corax
17f187468c Merge remote-tracking branch 'origin/next' into corvuscorax/OP-1516_acro+ 2014-10-03 12:34:35 +02:00
Alessio Morale
8e2e534c60 Uncrustify/clean commented code 2014-10-03 11:41:26 +02:00
Alessio Morale
21156dbb9e Merge remote-tracking branch 'origin/amorale/OP-1515_fix_attitude_fifo_fixed' into next 2014-10-03 11:12:10 +02:00
Alessio Morale
55402880bc Revert "Merge remote-tracking branch 'origin/amorale/OP-1515_fix_attitude_fifo' into next"
This reverts commit 316f7fcf02, reversing
changes made to cfa0ef4671.
2014-10-03 11:11:27 +02:00
Alessio Morale
e553014596 Merge branch 'amorale/OP-1476_1477_1275_GPSV9_pios_firmware_bootloader' into next 2014-10-03 00:37:55 +02:00
Alessio Morale
9cfd55d006 Merge branch 'amorale/OP-1507_gps_module_cpu_optimization' into next 2014-10-03 00:37:39 +02:00
Corvus Corax
a12e2708a2 OP-1516 fixed obvious issues 2014-10-02 23:38:06 +02:00
Corvus Corax
dcb354b0b1 OP-1516 Enable PiroComp per setting 2014-10-02 22:42:08 +02:00
Corvus Corax
3ad47bfa0a OP-1516 added Acro+ stabi mode 2014-10-02 22:13:10 +02:00
Corvus Corax
2586dafa8c OP-1511 added comment to filter code for better readability 2014-10-02 21:18:52 +02:00
Alessio Morale
a5fd040b49 OP-1515 - Attitude module was not reading all gyro/accel fifo items causing it to lag behind by at least a sample 2014-10-01 21:13:44 +02:00
Alessio Morale
ae9f30c729 OP-1477 - Fix mag exti config, set correct rate, set correct SPI speed for hmc5x83. Note: GPIO is disabled as it seems there is some issues with Exti on PB0 2014-10-01 02:07:46 +02:00
Alessio Morale
0ffb99f228 OP-1477 - Fix issue with quick request to DDC port, change baud rate to 57600, fix sys rate, optimize uart tx 2014-10-01 02:06:03 +02:00
Alessio Morale
c1641613ce OP-1515 - Attitude module was not reading all gyro/accel fifo items causing it to lag behind by at least a sample 2014-09-30 15:12:37 +02:00
Fredrik Larson
efde46cf7a Merge branch 'next' into fw_wiz 2014-09-30 15:41:19 +10:00
Alessio Morale
b2aa73acf6 Merge remote-tracking branch 'origin/amorale/OP-1499_autoconfig_retries' into next 2014-09-29 21:30:16 +02:00
Alessio Morale
9e0596c2c5 Merge remote-tracking branch 'origin/amorale/OP-1379_ext_led_notification_module_new' into next
Conflicts:
	Makefile
	flight/targets/boards/discoveryf4bare/firmware/Makefile
	flight/targets/boards/revolution/firmware/Makefile
2014-09-29 21:26:31 +02:00
Alessio Morale
5054bda433 OP-1477 - Fix SYS message rate 2014-09-28 20:29:52 +02:00
Alessio Morale
f2058dfc7f OP-1477 - Remove hardcoded strings for initialization config 2014-09-28 15:01:19 +02:00
Alessio Morale
4c76620402 OP-1507 - Reduce memory usage for CopterControl 2014-09-27 22:40:17 +02:00
Alessio Morale
93cf6b457f OP-1507 - optimize com fifo usage when RX callback receives a single byte 2014-09-27 00:20:15 +02:00
Alessio Morale
d0b37bab28 OP-1507 - Handles GPS data a chunk at time instead of a single byte at time. 2014-09-27 00:17:00 +02:00
Alessio Morale
be747138e1 OP-1275 - Optimize fifo for single char operations 2014-09-25 20:26:35 +02:00
Alessio Morale
7e789ccc69 OP-1379 - Clear output pin at the end of dma cycle 2014-09-25 00:59:39 +02:00
Alessio Morale
78756f6873 OP-1499 - Failed Autoconfig will raise an Error Alarm. When AC does start it will reset any previous ack. Force update to Autoconfig Status in GPSPositionSensor UAVO. Add a small pause between each config step 2014-09-24 06:12:48 +02:00
Alessio Morale
8712a1dfdc OP-1477 - Board support for updated SYS message 2014-09-24 01:06:49 +02:00
Alessio Morale
c772442723 OP-1477 - remove debug infos and add send some relevant informations using SYS message (firmware and board revision/info) 2014-09-24 01:06:41 +02:00
m_thread
7bcdff9f2f Merge remote-tracking branch 'origin/next' into thread/OP-1222_FW_Wizard
Conflicts:
	ground/openpilotgcs/src/plugins/setupwizard/setupwizard.cpp
	ground/openpilotgcs/src/plugins/setupwizard/vehicleconfigurationhelper.cpp
	ground/openpilotgcs/src/plugins/setupwizard/vehicleconfigurationsource.h
2014-09-23 22:30:49 +02:00
Alessio Morale
7e78194e12 OP-1477 - change led rate so that's less annoying 2014-09-23 20:27:10 +02:00
Corvus Corax
ca7a3e4333 Merge branch 'next' into corvuscorax/OP-1483_leaky-integrals-and-post-filtering 2014-09-23 13:54:33 +02:00
Werner Backes
b621df59f2 Merge remote-tracking branch 'origin/D-Lite/OP-1483-PathFollower-DisablePosKi' into next 2014-09-23 13:33:32 +02:00
Fredrik Larsson
5bbd6724d6 Merge remote-tracking branch 'origin/skarlsso/OP-1493_discoveryf4bare_support_in_gcs' into next 2014-09-23 21:11:15 +10:00
m_thread
19aa3ed5a3 Merge remote-tracking branch 'origin/next' into thread/OP-1222_FW_Wizard 2014-09-22 23:05:21 +02:00
Fredrik Larson
c36e9a9122 Merge remote-tracking branch 'origin/thread/OP-1474_PID_Scaling_Banks' into next 2014-09-23 06:20:34 +10:00
Fredrik Larsson
b93a7a9dce Arming for Helis on Revo 2014-09-23 05:35:35 +10:00
Alessio Morale
0885fda926 OP-1499 - CFG-CFG mask was incorrect (nav is 0x02, not 0x01) 2014-09-22 00:56:49 +02:00
Alessio Morale
3c6a8e0395 OP-1379 - Prevent loosing any update to background notification and notifications with priority higher than current 2014-09-21 23:32:52 +02:00
Corvus Corax
41e062373d OP-1483 enable postfilter for indoor mode for filter debugging, change default filter alpha coefficient to 0.999 2014-09-21 19:26:01 +02:00
Alessio Morale
a5ebf36425 OP-1499 - Replay the configuration sequence in case of gps disconnection, add retry logic in case of errors 2014-09-21 16:38:52 +02:00
Alessio Morale
7a9a0868c9 OP-1275 - split persistence handling out of UavobjectManager. stubs are used if target deos not support persistency 2014-09-20 21:02:51 +02:00
Alessio Morale
cedb4f127d OP-1477 - typos and other fixes from review 2014-09-20 20:58:40 +02:00
Corvus Corax
76f94e13ef Revert "OP-1483 implement leaky integral on position control loop in pathfollower (vtol only)"
This reverts commit 1a0ab29050.
2014-09-20 13:45:45 +02:00
Corvus Corax
b315c8f106 OP-1483 Added velocity filter to correct EKF's velocity estimate for static velocity offsets
(caused for example by sensor disagreement or calibration issues)
2014-09-19 16:34:20 +02:00
Corvus Corax
1a0ab29050 OP-1483 implement leaky integral on position control loop in pathfollower (vtol only) 2014-09-19 15:52:11 +02:00
m_thread
226fe186c4 Merge branch 'skarlsso/OP-1474-PID_Scaling_one_factor' of ssh://git.openpilot.org/OpenPilot into thread/OP-1474_PID_Scaling_Banks 2014-09-19 15:15:52 +02:00
Stefan Karlsson
b3e7a23f4f OP-1474 Demultiplex TPS settings when pid banks are updated 2014-09-19 15:12:07 +02:00
Stefan Karlsson
9a21eed71e OP-1474 Make it possible to select axes to scale 2014-09-19 15:11:15 +02:00
m_thread
3b1e67d185 Merge remote-tracking branch 'origin/next' into thread/OP-1474_PID_Scaling_Banks
Conflicts:
	ground/openpilotgcs/src/plugins/config/stabilization.ui
2014-09-19 09:01:02 +02:00
Stefan Karlsson
f0c47976a5 OP-1474 Fix label compile error 2014-09-19 01:29:04 +02:00
Stefan Karlsson
31c5f1c519 OP-1474 Make it possible to select the combination of P, I, and D to scale 2014-09-19 01:16:49 +02:00
Stefan Karlsson
d3e7ef300f OP-1474 Use PID banks for the TPS settings 2014-09-19 01:05:08 +02:00
Werner Backes
c90973cb99 Removed the now unused position Ki from VtolPathFollowerSettings UAVObject 2014-09-18 17:01:50 +02:00
Alessio Morale
46ef59f186 OP-1379 - Rebuild and simplify the queuing mechanism 2014-09-17 01:24:01 +02:00
Alessio Morale
eb15939031 OP-1477 - typo in mallocFailed trap 2014-09-17 00:21:32 +02:00
Alessio Morale
2cca5162f7 OP-1477 - a bit of cleanup, some flash bits moved to a separate file 2014-09-16 23:02:53 +02:00
Alessio Morale
2885a20acb OP-1477 - add watchdog support 2014-09-16 22:51:28 +02:00
Alessio Morale
2f50dbeee5 OP-1477 - Split and cleanup gpssys module 2014-09-16 22:40:55 +02:00
Alessio Morale
cac463e623 OP-1477 - various changes
- move to UBX libraries;
- remove configuration (it will be done by Revo);
- set speed at 115200;
- Change sysmod rate;
2014-09-16 22:40:55 +02:00
Alessio Morale
50d4a97c0c OP-1477 - GPS SYS: for multi device support of HMC5x driver 2014-09-16 22:40:55 +02:00
Alessio Morale
c232985baa OP-1477 - initial framer + autoconfiguration and some fixes
- Added a framing code for gps data to be able to interleave mag sentences.
 - Fix fields definition, set structures used to send UBX data as packed to fix issues with alignments,
 - change axis orientation to match revo when both boards conector sides are are aligned
2014-09-16 22:40:54 +02:00
Alessio Morale
28f3ca9a17 OP-1477 - Use UBX_DDC driver 2014-09-16 22:40:54 +02:00
Alessio Morale
11522ccbb0 OP-1477 - move to PIOS_I2C 2014-09-16 22:40:54 +02:00
Alessio Morale
36bb58755b OP-1477 - add support for SPI/MAG 2014-09-16 22:40:54 +02:00
Alessio Morale
1fa2bfddc6 OP-1477 - Add GPS System Module 2014-09-16 22:40:54 +02:00
Alessio Morale
531d80a69c OP-1476 - Fix other targets for OP_DFU changes 2014-09-16 22:40:54 +02:00
Alessio Morale
b971b713d6 OP-1476 - Fix Bootloader jumpToApp condition and change speed to 57600 2014-09-16 22:40:53 +02:00
Alessio Morale
7e73c59e90 OP-1476 - Fixes for Bootloader
- Allocate 10KBytes for bootloader;
- Replace pios_com_msg with pios_com for ssp support
- Change Speed to 9600 for higher reliability
2014-09-16 22:40:53 +02:00
Alessio Morale
c44dac2447 OP-1476 - fix bootloader for serial support 2014-09-16 22:40:53 +02:00
Alessio Morale
3eca0fefef OP-1477 - Change mag GAIN to 1.3 2014-09-16 22:40:53 +02:00
Alessio Morale
250b7fe962 OP-1477 - Fix mag DRDY/GPIO support 2014-09-16 22:40:52 +02:00
Alessio Morale
14862c687d OP-1477 - Add ubx handling libraries 2014-09-16 22:40:52 +02:00
Alessio Morale
a6fc5c9190 OP-1477 - Fixes for multi device support of HMC5x driver 2014-09-16 22:40:52 +02:00
Alessio Morale
bcb30ecbf3 OP-1477 - enable temp compensation and fix axis orders 2014-09-16 22:40:52 +02:00
Alessio Morale
4890ef3ab0 OP-1477 - Add support for Flash 2014-09-16 22:40:52 +02:00
Alessio Morale
146c1764fd OP-1477 - UBX_DDC driver implementation 2014-09-16 22:40:52 +02:00
Alessio Morale
f2a0daac5c OP-1477 - Add pios_ubx_ddc driver to handle i2c comms with UBlox GPS 2014-09-16 22:40:52 +02:00
Alessio Morale
71af403c9d OP-1477 - some cleanup 2014-09-16 22:40:51 +02:00
Alessio Morale
7e55d6ff41 OP-1477 - add support for SPI/MAG 2014-09-16 22:40:51 +02:00
Alessio Morale
b4f9c7c2b1 OP-1477 - BL fix issue with usart name 2014-09-16 22:40:51 +02:00
Alessio Morale
b3a971e91d OP-1477 - support for mag 2014-09-16 22:40:51 +02:00
Alessio Morale
c28eb4fbca OP-1477 - Add SPI Support 2014-09-16 22:40:51 +02:00
Alessio Morale
46424523b0 OP-1477 - Firmware usart Working 2014-09-16 22:40:51 +02:00
Alessio Morale
1970e0a870 OP-1477 - Fix bootloader 2014-09-16 22:40:50 +02:00
Alessio Morale
9b61fc611b OP-1477 - Add platform support 2014-09-16 22:40:50 +02:00
Alessio Morale
81ae43ac40 OP-1275 - fix Watchdog 2014-09-16 22:40:50 +02:00
Laurent Lalanne
bc9e6b24f9 Merge remote-tracking branch 'origin/laurent/OP-1491_HQuad_mixing_values' into laurent/OP-1222_FW_Wizard
Conflicts:
	ground/openpilotgcs/src/plugins/setupwizard/pages/multipage.cpp
	ground/openpilotgcs/src/plugins/setupwizard/resources/connection-diagrams.svg

Conflicts resolved in artwork, same style as FW branch
2014-09-16 18:55:43 +02:00
Alessio Morale
984a7a675c OP-1275 - add ChangeBaud to PIOS_COM_MSG 2014-09-16 00:42:51 +02:00
Alessio Morale
20273e77aa OP-1275 - Fix CPU usage due to uncleared irq flags 2014-09-16 00:42:51 +02:00
Alessio Morale
94c39caa50 OP-1275 - Fix PIOS_COM to be used with no PIOS_INCLUDE_FREERTOS defined 2014-09-16 00:42:51 +02:00
Alessio Morale
ffac550601 OP-1275 - Optimize fifo for single char operations 2014-09-16 00:42:51 +02:00
Alessio Morale
0c7f4905da OP-1275 - Fix PiOS_EXTI 2014-09-16 00:42:51 +02:00
Alessio Morale
de4180f990 OP-1275 - Reenable usart after init in ChangeBaud 2014-09-16 00:42:51 +02:00
Alessio Morale
212170bcb9 OP-1275 Fix pios_delay DiffuS 2014-09-16 00:42:51 +02:00
Alessio Morale
3c2300ffda OP-1275 Change several parameters const 2014-09-16 00:42:50 +02:00
Alessio Morale
0682e60053 OP-1275 Add a memory barrier before remapping the vector table 2014-09-16 00:42:50 +02:00
Alessio Morale
baad216810 OP-1275 uncrustification 2014-09-16 00:42:50 +02:00
Alessio Morale
55d52ceab0 OP-1275 Working initial PIOS_I2C implementation 2014-09-16 00:42:50 +02:00
Alessio Morale
cd7c76aa13 OP-1275 move implementation specific enums out of common pios_i2c_priv.h 2014-09-16 00:42:50 +02:00
Alessio Morale
5986e72a29 OP-1275 Add SPI Implementation. DMA block transfer needs to be fixed with handling for LDMA_TX and LDMA_RX 2014-09-16 00:42:49 +02:00
Alessio Morale
2ca1adafe5 OP-1275 support HSI oscillator, fix gpio, usart and sys (vector remapping not working yet) 2014-09-16 00:42:49 +02:00
Alessio Morale
ff82d50ee0 OP-1275 add an APP_MINIMAL flag that optionally omits most of the stuffs (flight related stuffs and sensors for example) 2014-09-16 00:42:49 +02:00
Alessio Morale
7a3bc518c2 OP-1275 fixes unused vars in SPL 2014-09-16 00:42:49 +02:00
Alessio Morale
bb7d4aef04 OP-1275 fixes for ld scripts, fix for pios_delay timer setup. pios_sys 2014-09-16 00:42:49 +02:00
Alessio Morale
4d1e8cf5a7 OP-1275 F0 support: fix make scripts, bootloader size, linker scripts, add other missing pios drivers. 2014-09-16 00:42:49 +02:00
Alessio Morale
5ab9806279 OP-1275 add Stack_Change support 2014-09-16 00:42:48 +02:00
Alessio Morale
5a60c254ed OP-1275 copy relevant F1 PiOS drivers (yet unmodified) 2014-09-16 00:42:48 +02:00
Alessio Morale
7eca9f80e3 OP-1275 Initial commit for f0 support: add CMSIS, Std Peripheral drivers 2014-09-16 00:42:48 +02:00
Alessio Morale
b4c1a856c7 OP-1274 Implement 4 bytes aligment for standard malloc (while keeping 8byte alignment for RTOS Stuctures) as done for M3 2014-09-16 00:42:48 +02:00
Alessio Morale
c49497f2e0 Merge branch 'amorale/OP-1434_GPSV9_fc_support' into next 2014-09-15 23:49:54 +02:00
Stefan Karlsson
09a943f17f OP-1493 Make Vehicle and TX Wizards work with the discoveryf4bare target 2014-09-15 23:43:58 +02:00
Stefan Karlsson
dd86e7f9c4 OP-1493 Update BOARD_REVISION for discoveryf4bare and fix AutoUpdate 2014-09-15 23:30:17 +02:00
Laurent Lalanne
48ce38370c OP-1491 HQuad_mixing_values First commit : add QuadH artwork, config tab 2014-09-15 22:25:07 +02:00
Alessio Morale
ece0d64c9f OP-1434 - Update a (old, now wrong) comment 2014-09-15 15:27:19 +02:00
Alessio Morale
3e785cf929 OP-1434 - Use vector_lengthf, fix a typo in a comment 2014-09-14 21:44:41 +02:00
Werner Backes
2f0c43c6e5 Wrong I2C bus used for the onboard magnetometer 2014-09-15 03:11:31 +10:00
Stefan Karlsson
bdbe875a90 OP-1474 Use ActuatorDesiredThrust as default source for TPS 2014-09-14 16:08:21 +02:00
Werner Backes
80b6757ea6 Don't use I-term in the VtolPathFollower's position control loop for now.
See OP-1483 for why it's considered not to work as expected.
2014-09-14 15:39:13 +02:00
Alessio Morale
3fd5ca08cd OP-1434 - Switch to common aux mag support library 2014-09-13 16:15:02 +02:00
Alessio Morale
76b9b1c40f OP-1406 - Create a support library to share common calibration and sample publishing logic 2014-09-13 16:14:34 +02:00
Stefan Karlsson
662b29ac05 OP-1474 Include I in the scaling and let the TPS factor piggyback on the speedScaleFactor 2014-09-10 22:49:49 +02:00
Stefan Karlsson
344172e879 OP-1474 Add missing stdint.h include to mathmisc.h 2014-09-10 01:03:49 +02:00
Stefan Karlsson
7afb211330 OP-1474 Revert TPS debugging code 2014-09-10 00:42:40 +02:00
Stefan Karlsson
0e2af9c654 OP-1474 Extract line and curve functions out to mathmisc.h, nan check and unit tests 2014-09-10 00:34:06 +02:00
Alessio Morale
c777f9e194 OP-1406 - Fixes from review comments 2014-09-08 23:24:18 +02:00
Stefan Karlsson
c0152b7e19 OP-1474 Thrust PID scaling 2014-09-08 00:14:49 +02:00
Fredrik Larrson
d91db0af6f Revert "Merge remote-tracking branch 'origin/proff/OP-1373_DSMFixes' into next"
This reverts commit a39e393274, reversing
changes made to ebfdaf28b5.
2014-09-08 02:31:02 +10:00
Fredrik Larrson
a39e393274 Merge remote-tracking branch 'origin/proff/OP-1373_DSMFixes' into next
Conflicts:
	shared/uavobjectdefinition/hwsettings.xml
2014-09-08 01:54:59 +10:00
Fredrik Larrson
ebfdaf28b5 Merge remote-tracking branch 'origin/havyan/OP-1473_sbus_eof' into next 2014-09-08 01:35:39 +10:00
Corvus Corax
4a19f98c95 OP-1156 hotfix in pathfollower code - use correct VerticalPosPI.Ki and ILimit + uavobject typo 2014-09-06 13:51:30 +02:00
Alessio Morale
cf9329b8ee OP-1440 - Change timing slightly to support also WS2812B 2014-09-06 12:12:11 +02:00
Alessio Morale
233dec6d8d OP-1379 - Various fixes and additions
- Support blocks of led for notification (that is a certain number of leds between a min and a max index);
- Fix an issue with bogus colours on fast updates at LED N°0.
- Add NOTIFY_SEQUENCE_NULL to skip handling a specific alarm status;
- Adjust sequences and add Config and Receiver Alarms;
- fix issue with Alarm trigger/repetition;
- Enables Notify module only if a WS281x output is enabled.
- Add some documentation for sequence/alarm definitions (sequences.h)
- Make sequences more coherent. All GPS related info are now shown in green.
- Revert to original blinking rate for onboard led
- add Notify on DiscoveryF4Bare target
2014-09-06 12:11:53 +02:00
Alessio Morale
e549c71da6 OP-1379 - add unit testing 2014-09-06 12:11:52 +02:00
Karl Knutsson
ec0d44e1b0 OP-1473 Fix EOF handling for R7008SB 2014-09-04 18:15:36 +02:00
Alessio Morale
884f797d61 OP-1370 - Add SBAS configuration options 2014-09-02 21:26:56 +02:00
Alessio Morale
2ddbb72bcf OP-1370 - Fixes parameters name, values and cosmetic issues. 2014-09-02 21:26:43 +02:00
Alessio Morale
78662eb356 OP-1370 - Explicitly disable unneeded messages 2014-09-02 00:36:04 +02:00
Alessio Morale
3157c4e501 OP-1370 - Fix configuration storage on GPS 2014-09-02 00:35:26 +02:00
Alessio Morale
4715219a4b OP-1434 - Enable magFilter for CF as it is needed to get Mag data for initial estimation 2014-08-31 23:39:30 +02:00
Corvus Corax
b64326208e Merge branch 'next' into corvuscorax/OP-1456_struct_to_array_improvement 2014-08-31 18:43:48 +02:00
Philippe Renon
575e89f1a1 OP-1319 fixed minor spelling mistake in firmware code 2014-08-30 18:09:23 +02:00
Alessio Morale
f69e476ed3 Merge branch 'amorale/OP-1452_comusbbridge_improvements' into next 2014-08-29 20:25:29 +02:00
Alessio Morale
10f5d7c531 Merge remote-tracking branch 'origin/skarlsso/OP-922_fix_fw_DEBUG_compile_errors' into next 2014-08-26 01:05:32 +02:00
Alessio Morale
8418804ce4 OP-1406 - Revert magstate to non normalized values 2014-08-25 16:00:33 +02:00
Corvus Corax
551392d6bf OP-1456 fixed macro for uav object field to array casting and added compile time asserts to assure its working 2014-08-24 16:19:15 +02:00
Fredrik Larson
a0fda9a60f Merge branch 'txpid_typo' into rel-14.06.01 2014-08-24 10:24:24 +10:00
Fredrik Larson
35a6807e63 Merge branch 'txpid_typo' into next 2014-08-24 10:23:14 +10:00
Laurent Lalanne
ccb97f014c OP-1241 TxPID_Bank3 : Similar bug while GET data from bank 2014-08-24 02:15:24 +02:00
Corvus Corax
6faf1a73ac OP-1456 get rid of cast_struct_to_array because it is error prone! 2014-08-24 00:16:34 +02:00
Corvus Corax
e7aa12be94 Merge remote-tracking branch 'origin/corvuscorax/OP-1454_weakleveling-hotfix' into next 2014-08-23 15:25:24 +02:00
Alessio Morale
1d3f9399c3 OP-1370 - Fix sensortype not shown for non PVT GPSs 2014-08-22 23:35:13 +02:00
Alessio Morale
5a3ea5fde0 OP-1370 - Add an option to store the configuration onto GPS 2014-08-22 23:16:38 +02:00
Corvus Corax
c5e0e58e6a OP-1454 - fix weak leveling bug 2014-08-22 22:42:12 +02:00
Alessio Morale
5bf866c96e OP-1370 - Remove autoconfig from CC (removing sat info to spare some ram and adding autoconfig does not make much sense), fixed compilation for all other targets 2014-08-22 22:34:52 +02:00
Alessio Morale
c4d5234ee6 OP-1370 - Show AutoConfig status in GPSPositionSensor 2014-08-22 22:32:57 +02:00
Alessio Morale
69b76b665c OP-1370 - Add automatic sentence rate configuration based on HW version (llh+velned etc. vs PVT) 2014-08-22 21:27:50 +02:00
Alessio Morale
f430af83c5 OP-1370 - Add configuration support for nav rate and dynamic model.
Added stub for sentence rate configuration (enable_sentences(...))
2014-08-22 19:00:46 +02:00
Alessio Morale
1846806d17 OP-1370 - Refactor AutoConfig code out of UBX.* 2014-08-22 10:10:21 +02:00
Alessio Morale
903a77669e OP-1370 - Add "management tasks" support for UBX, used for self configuration.
Initial state machine asking for gps version. Configuration messages definition
2014-08-22 02:43:30 +02:00
Alessio Morale
e64ab1f1ff OP-1370 - Configure bidirectional COM port for GPS 2014-08-22 02:41:36 +02:00
Stefan Karlsson
070c2569ff OP-922 Add pios_user_fs_id to oplinkmini to fix DEBUG=YES link error 2014-08-21 22:37:38 +02:00
Stefan Karlsson
607f7ae4bc OP-922 Add missing UAVO source files to the fw_osd target 2014-08-21 20:15:56 +02:00
Alessio Morale
c6a82c5d23 OP-1370 - refactors UBX code to use a table of messages and handler instead of neverending switches 2014-08-21 19:34:36 +02:00
Alessio Morale
002c35163a OP-1370 - Add support for mon-ver ack-ack and ack-nak messages for gps hw version detection 2014-08-21 19:34:36 +02:00
Alessio Morale
b6c053565e OP-1434 - use degrees for rotation, fix Calibration gui 2014-08-21 19:34:36 +02:00
Alessio Morale
85be5ba7af OP-1434 - handle mag rotation 2014-08-21 19:34:36 +02:00
Alessio Morale
8df34b01d7 OP-1434 - Fix heapremaining data type 2014-08-21 19:34:36 +02:00
Alessio Morale
0198129a1c OP-1434 - Add 230400 to GPS port speed list 2014-08-21 19:34:36 +02:00
Alessio Morale
ce1e4e728e OP-1434 - Support for mag calibration 2014-08-21 19:34:36 +02:00
Alessio Morale
397bfdc08b OP-1434 - Add support for OP custom sentences on flight board 2014-08-21 19:34:36 +02:00
Alessio Morale
55557ecd60 OP-1434 - Add gps extended status 2014-08-21 19:34:35 +02:00
Alessio Morale
83a3822798 OP-1406 - Reenable mag offset estimation for onboard mag only right now 2014-08-21 19:34:35 +02:00
Alessio Morale
84758a6731 OP-1406 - Always feeds mag data even if invalid 2014-08-21 19:34:35 +02:00
Alessio Morale
e511190ad3 OP-1406 - Improve handling of external magnetometer, add additional settings 2014-08-21 19:34:35 +02:00
Alessio Morale
7abbf5fa5a OP-1406 - Fixes for all other targets 2014-08-21 19:34:35 +02:00
Alessio Morale
cced294760 OP-1406 - Add support for aux mag calibration settings.
todo:
- GCS handling for extenal mag calibration
2014-08-21 19:34:35 +02:00
Alessio Morale
9d7a493c26 OP-1406 - Allows filtermag to switch between onboard and aux mag 2014-08-21 19:34:35 +02:00
Alessio Morale
52ad63be33 OP-1406 - Add support for Aux magnetometer on flight controllers 2014-08-21 19:34:35 +02:00
Alessio Morale
bb085ddab9 OP-1452 - Auto enable COMBridge module if a port is configured as ComBridge 2014-08-21 11:43:36 +02:00
Alessio Morale
8940b7a50b OP-1452 - Apply ComBridge port speed change without rebooting 2014-08-21 11:42:29 +02:00
Corvus Corax
4653c77296 OP-1156 removed old pathfollower implementations 2014-08-20 17:00:50 +02:00
Corvus Corax
1540fe0716 OP-1156 cleaned up updateAutoPilotVtol() function 2014-08-20 16:02:48 +02:00
Corvus Corax
70460e593e OP-1156 fixes as suggested per review 2014-08-20 15:29:29 +02:00
Corvus Corax
779eb8d772 OP-1156 placed Werners positionhold speed offset back in place 2014-08-19 23:14:46 +02:00
Corvus Corax
760ae118e9 OP-1156 changed yaw math from interval [0..360] to [-180..180] 2014-08-16 20:48:56 +02:00
Stefan Karlsson
3d8d803c33 OP-922 Fix missing ppm_id to ppm_out_id rename 2014-08-16 16:58:16 +02:00
Stefan Karlsson
4ba9208727 OP-922 Comment out the unused DEBUG variable in rscode 2014-08-16 16:58:16 +02:00
Stefan Karlsson
232d9c10b2 OP-922 Make it explict that matrix_mult_3x3f should be static inline 2014-08-16 16:58:16 +02:00
Stefan Karlsson
34983a2d28 OP-922 Fix typo in pios_tim.c 2014-08-16 16:58:15 +02:00
Stefan Karlsson
22e981ea87 OP-922 Mark PIOS_DEBUG_Panic with attribute noreturn 2014-08-16 16:57:50 +02:00
Corvus Corax
8daa5dfa12 Merge branch 'next' into corvuscorax/OP-1156_pathfollower-unification 2014-08-16 13:58:40 +02:00
Corvus Corax
915c24c8b6 OP-1156 changed PID control loops to use generic pid library, readded unnecessary integral and derivative terms to vtolpathfollower 2014-08-15 21:00:48 +02:00
Corvus Corax
b1675a2804 OP-1156 added vtolpathfollower velocity limits to attitude control 2014-08-15 19:23:41 +02:00
Corvus Corax
b562fcb02e OP-1156 fix path logic to not deviate from correct altitude too much 2014-08-15 17:56:57 +02:00
Alessio Morale
30df5de332 uncrustify 2014-08-13 15:54:52 +02:00
Alessio Morale
5dbbda3adc Merge remote-tracking branch 'origin/amorale/OP-1404_ublox_pvt_support' into next 2014-08-13 15:27:10 +02:00
Alessio Morale
cefc182a5e Merge remote-tracking branch 'origin/amorale/OP-1405_25qXXX_support' into next 2014-08-13 15:25:16 +02:00
Alessio Morale
376aa0052f OP-1379 - Initial Notify module. Supports:
1) predefined seqences associated with each flightmode. 2) fixed table with alarm index and assciated led warn/error sequences/repetition rate.
2014-08-13 15:18:17 +02:00
Alessio Morale
f556a5e335 OP-1379 - Split simple notification and external lednotifications libraries 2014-08-13 15:14:55 +02:00
Alessio Morale
1067ea59d1 OP-1379 - Split pios_ws2811.h in config and public api header 2014-08-12 22:19:30 +02:00
Alessio Morale
fd92fdfadf OP-1379 - initial version of external led sequencer implemented in notification lib.
Alert overlay not working yet.
2014-08-12 22:18:36 +02:00
Corvus Corax
09e8b38407 OP-1156 fixed EmergencyFlyaway detection algorithm 2014-08-12 19:12:05 +02:00
Corvus Corax
56e4127bca OP-1156: add path_direction as a source for yaw as suggested by Werner :) 2014-08-12 18:18:07 +02:00
Alessio Morale
1f74977472 OP-1379 add base types for colour, Initial ext rgb led api definition 2014-08-12 09:44:44 +02:00
Corvus Corax
ea4e7962a6 OP-1156 fixed wrong callback ID assignment for pathfollower callback diagnostics 2014-08-10 21:17:55 +02:00
Corvus Corax
8944419b0f OP-1156 refactored pathfollower - new unified module as delayed callback - compiles but untested 2014-08-10 19:41:40 +02:00
Corvus Corax
a3d18bb578 Merge remote-tracking branch 'origin/D-Lite/PathFollowerImprovements' into corvuscorax/OP-1156_pathfollower-unification 2014-08-10 13:53:52 +02:00
Corvus Corax
ca1923f76f OP-1156: Added new (stub template) pathFollower Module as well as builkd environment changes to compile it instead of old pathfollowers 2014-08-10 12:50:38 +02:00
Stefan Karlsson
454d491e48 Merge branch 'next' into skarlsso/OP-1397_add_responsiveness_to_txpid
Conflicts:
	ground/openpilotgcs/src/plugins/config/configtxpidwidget.cpp
	ground/openpilotgcs/src/plugins/config/configtxpidwidget.h
2014-08-10 10:06:44 +02:00
Alessio Morale
1158c70a46 OP-1404 - minor cleanup, removed some duplicated code 2014-08-09 12:49:21 +02:00
Alessio Morale
2932045e3d OP-1404 Fix NMEA data parsing for GSV 2014-08-09 12:04:25 +02:00
Corvus Corax
c5fae5ee84 Merge branch 'next' into andrecillo/OP-1317_IMU_wind_estimation 2014-08-09 10:43:48 +02:00
Gasté Olivier
dfb21482f4 DSM protocol improvement
added item in DSM protocol in GCS
2014-08-08 13:14:39 +02:00
Alessio Morale
a18009e875 OP-1429 Change datatype for elevation and azimuth respectively to int8 and int16. 2014-08-06 12:55:07 +02:00
Alessio Morale
d04d630273 OP-1404 fix include file path 2014-08-05 17:25:28 +02:00
Alessio Morale
23d2368984 OP-1404 Fix nav-pvt.pdop data type 2014-08-05 16:50:38 +02:00
Alessio Morale
ea63def1c8 OP-1404 fix compilation with PIOS_GPS_MINIMAL, fix some copy/pastem madness 2014-08-04 18:17:01 +02:00
Alessio Morale
240eb8e573 OP-1404 - Prevent mixing pvt and other sentence solution data. use PDOP from pvt 2014-08-04 17:56:28 +02:00
Alessio Morale
d3569927a0 OP-1404 fix unit scaling for pvt, use check_msgtracker, 2014-08-04 11:04:35 +02:00
Alessio Morale
6f4b1d5c03 OP-1404 uncrustify 2014-08-03 15:27:30 +02:00
Alessio Morale
c68dd3c00e OP-1404 - PVT will provide SOL+VELNED+POSLLH+Time. DOP will provide all dop values 2014-08-03 15:04:40 +02:00
Alessio Morale
1dd05c24cc OP-1404 - Fix compilation with PIOS_GPS_MINIMAL defined 2014-08-03 12:50:42 +02:00
Alessio Morale
0976fb6e1b OP-1404 - Add support for UBlox PVT sentence 2014-08-03 12:50:21 +02:00
Alessio Morale
a6502518be OP-1405 - Add support for 25qxxx series of flash memories 2014-08-02 23:05:36 +02:00
Alessio Morale
016ba6940d OP-1403 - drop attitude/revolution as it has been supersede by StateEstimation module 2014-08-02 20:48:56 +02:00
Alessio Morale
d856bbdb50 OP-1403 - Update targets 2014-08-02 20:48:48 +02:00
Alessio Morale
6a3cb7b808 OP-1403 - Add support for multiple hmc* devices 2014-08-02 20:48:41 +02:00
Alessio Morale
57a43a5587 OP-1403 - Migrate to new HMC5x83 driver and remove old HMC5883 one 2014-08-02 20:48:34 +02:00
Alessio Morale
2a8429320d OP-1403 - Support HMC5983 temperature sensor/compensation 2014-08-02 20:48:24 +02:00
Alessio Morale
3c1b689224 OP-1403 - Add generic I2C/SPI HMC5x83 mag driver 2014-08-02 20:48:16 +02:00
Alessio Morale
6884e9f378 Merge remote-tracking branch 'origin/amorale/OP-1395_flight_log_enhancements' into next 2014-08-02 20:41:58 +02:00
Stefan Karlsson
7f344da977 OP-1397 Round to instead of floor to uint8_t values in txpid.c 2014-08-01 14:51:39 +02:00
Werner Backes
f29f7fa680 Missing argument for path_endpoint added. 2014-07-31 16:31:16 +02:00
Werner Backes
446415457d Don't limit the path to strictly be between start and endpoint. 2014-07-31 10:56:25 +02:00
Werner Backes
70e34f44cf Revert to the original behaviour of calling "fly_endpoint" if we have a
zero-length path.
2014-07-31 10:52:06 +02:00
Werner Backes
9ab6299247 We don't want zero-length path_direction vector. 2014-07-31 10:18:39 +02:00
Stefan Karlsson
a7ee6fa764 OP-1397 Add initial support for rate mode response (deg/s) 2014-07-30 23:49:56 +02:00
Stefan Karlsson
2113e1a2e1 OP-1397 Add initial support for attitude mode response (deg) 2014-07-30 23:48:55 +02:00
Werner Backes
065ba1a0c8 Adds a 3D mode to path_vector. This allows vertical path segments without
position changes. PathStatus now also contains correction_direction and
path_direction to make path following behaviour more transparent.
2014-07-29 13:16:47 +02:00
Werner Backes
7da0034775 Improved automatic landing algorithm to better track descend speed.
Desired descend speed is now a FlightModeSetting.
2014-07-29 13:16:43 +02:00
Werner Backes
3e2961420d Add a 3D mode to path_endpoint. This allows FlyDirect waypoints to do
vertical movements without changing position.
2014-07-29 13:16:39 +02:00
Corvus Corax
5edb2dbae3 Merge branch 'andrecillo/OP-1317_IMU_wind_estimation' into corvuscorax/OP-1317_IMU_wind_estimation 2014-07-26 17:01:03 +02:00
Corvus Corax
5451003a58 Merge branch 'next' into corvuscorax/OP-1317_IMU_wind_estimation
Conflicts:
	flight/modules/Airspeed/airspeed.c
	flight/modules/Airspeed/gps_airspeed.c
2014-07-26 16:16:02 +02:00
Alessio Morale
e5b52d46d9 Merge remote-tracking branch 'origin/amorale/OP-1358_add_separate_rotation_calibration_offset_revo_only' into rel-14.06 2014-07-24 23:47:14 +02:00
Corvus Corax
a199fd1cb0 OP-1412 do not dicard mags after init 2014-07-23 22:40:43 +02:00
Andres
7f8e709e17 OP-1317 uncrustify 2014-07-23 08:04:52 +02:00
Andres
e195befc3a OP-1317 removed comments 2014-07-23 08:03:48 +02:00
Andres
d6a93cccaf OP-1317 added M_2PI_F and M_2PI_D constants for 2*pi in pios_math.h 2014-07-23 08:03:12 +02:00
Corvus Corax
95799cf11b OP-1412 delay ekf initialization until magnetometers are reporting valid data 2014-07-22 23:49:41 +02:00
Andres
9589167914 OP-1317 added Butterworth filter code files flight/libraries/math/butterworth.* 2014-07-22 20:05:09 +02:00
Andres
ffabbc577c OP-1317 moved Butterworth filter code into flight/libraries/math/butterworth.* 2014-07-22 20:03:43 +02:00
Alessio Morale
9bee143476 OP-1358 Revo:Implement roll/pitch trim settings separated from "nominal" board rotation settings 2014-07-21 11:01:07 +02:00
Andres
df4d211f8b OP-1317 added a proper initialization of the Butterworth filter values 2014-07-20 16:22:27 +02:00
Andres
d7d20bb10f OP-1317 merge with branch corvuscorax/OP-1317_IMU_wind_estimation 2014-07-20 15:46:35 +02:00
Andres
ddde6d1f5e OP-1317 changed int into int32_t in function Quaternion2PY() 2014-07-20 15:26:05 +02:00
Alessio Morale
62755c4cab unrustify 2014-07-16 20:39:12 +02:00
Alessio Morale
25c54ac16d Merge remote-tracking branch 'origin/laurent/OP-1063_Multi_config_Hexa_fixes' into rel-14.06 2014-07-16 20:07:31 +02:00
Laurent Lalanne
1b447ee644 OP-1063 Multi_config_Hexa_fixes Stupid typo error with OctoX in VtolPathFollower. 2014-07-14 23:29:48 +02:00
Laurent Lalanne
c26e33964a OP-1063 Multi_config_Hexa_fixes Added OctoX, define new mixer table for Octo(p) and OctoX. New motor definition for OctoX (NNE, ENE...) Fixes for svg frames. Defined default settings for OctoP/X in setupwizard (but disabled) 2014-07-13 13:58:18 +02:00
Laurent Lalanne
a46480a99b OP-1063 Multi_config_Hexa_fixes : Added real HexaX, renamed HexaX > HexaH
Added artwork in config and wizard svg. Cleanup on svg connection diagram (layers)
DO NOT USE until mixers are fixed
2014-07-10 06:01:28 +02:00
Alessio Morale
6c38eda192 OP-1395 - Reset log num when changing flight num. fix flight num update logic 2014-07-09 23:05:38 +02:00
Alessio Morale
61d26d7fd8 op-1395 - automatically increment flight number after disabling log. 2014-07-09 08:39:32 +02:00
Alessio Morale
03d03cfb06 OP-1395 add a vTaskDelay when waiting for dma transfer to complete when using FreeRTOS. 2014-07-08 02:54:17 +02:00
Alessio Morale
711c3609b6 OP-1395 - Add support for Fast read, explicitly set SPI clock speed to maximum allowed by all parts used 2014-07-08 02:53:25 +02:00
Alessio Morale
55b325966a OP-1395 - Pack several objects on a single Debug Log "slot", after ten consecutive failures (log full) gives up trying to save to prevent wasting time. Use PIOS_Delay for timestamp 2014-07-08 02:47:09 +02:00
rodneygrainger
3aaf1a3367 OP-1391 - Fix to prevent arming if unsafe due to current Thrust Mode (Altitude Hold/Vario) 2014-07-07 20:47:23 +12:00
Alessio Morale
4389f767f3 uncrustify 2014-07-02 23:27:58 +02:00
Corvus Corax
80d3d7c954 OP-1374 hotfix to filtercf on checking of magnetometer calibration fabsf() 2014-06-29 18:36:46 +02:00
Alessio Morale
30491c7992 OP-1374 - Autostart the relevant PathFollower for known frame types 2014-06-29 17:23:57 +02:00
Alessio Morale
3ae85f6434 OP-1374 - Issue a Boot Alarm (reboot) if frame type is changed 2014-06-29 17:23:15 +02:00
Alessio Morale
52a909185b OP-1374 - Add sanitycheck API to detect frame type 2014-06-29 17:22:41 +02:00
Alessio Morale
1b823b7b92 Merge remote-tracking branch 'origin/Bertrand/OP-1308_Set_Same_Logic_To_Alarms' into next
Conflicts:
	flight/libraries/sanitycheck.c
	flight/modules/StateEstimation/filtermag.c
	flight/modules/System/systemmod.c
2014-06-26 20:31:27 +02:00
Alessio Morale
4e3a68ac6c uncrustify 2014-06-22 20:34:04 +02:00
Alessio Morale
c6a773363f Merge branch 'amorale/OP-943_add_malloc_for_ccsram' into next
Conflicts:
	flight/pios/common/pios_adxl345.c
	make/apps-defs.mk
2014-06-22 19:31:03 +02:00
Alessio Morale
a03ad41bab Merge branch 'amorale/OP-1365_pios_instrumentation' into next
Conflicts:
	flight/modules/Attitude/attitude.c
2014-06-22 19:13:46 +02:00
Alessio Morale
263fd64ab5 Merge branch 'amorale/OP-1274_freertos_v8.0.0' into next 2014-06-22 16:06:21 +02:00
Alessio Morale
f30dd414ac Merge branch 'amorale/OP-1227_cc_high_cpu_utilization' into next 2014-06-22 16:06:08 +02:00
Corvus Corax
3f11f4f6b2 OP-1371 fix for hitl: turn of receiver alarm if in gcs control mode (but set warning) 2014-06-18 22:46:44 +02:00
Corvus Corax
f1b7f339b6 OP-1371 setting to disable sanity checks for debugging and testing - will set config alarm to warning if set 2014-06-18 21:39:16 +02:00
Corvus Corax
b40a114a0a OP-1371 treat hitl as nav capable fusion algorithm if positionstate is set by sim 2014-06-18 21:29:55 +02:00
Corvus Corax
7898d507ca drive-by bugfix in #ifdefed code affecting simposix 2014-06-18 20:41:58 +02:00
Corvus Corax
7933f2154c OP-1317 - project 3d airspeed vector unto fuselage vector to get scalar airspeed estimate 2014-06-18 12:44:10 +02:00
Alessio Morale
fa24d21237 OP-1365 fix comments 2014-06-18 02:01:16 +02:00
Alessio Morale
eb5deb3eca OP-1274 Remove unneeded cast from task name in xTaskCreate call 2014-06-18 01:47:43 +02:00
Corvus Corax
3d9f1ca93a OP-1317 changed imu wind estimation to actually estimate wind (and lowpass filter it) 2014-06-17 18:51:26 +02:00
Corvus Corax
205edac762 Merge branch 'next' into corvuscorax/OP-1317_IMU_wind_estimation 2014-06-17 18:14:27 +02:00
Alessio Morale
aa71df2831 OP-943 fix ut_ 2014-06-12 06:53:07 +02:00
Alessio Morale
61f71add4c OP-943 add missing pios_mem.c from previous commit 2014-06-11 23:54:28 +02:00
Alessio Morale
b3b90f1f66 OP-943 inline pios_mem function have issues with simposix. 2014-06-11 22:15:40 +02:00
Alessio Morale
6226aec2a7 OP-943 uses pios_mem API for heap allocation 2014-06-11 22:15:40 +02:00
Alessio Morale
50bef2dc12 OP-943 change make scripts to defines automatically PIOS_TARGET_PROVIDES_FAST_HEAP when available 2014-06-11 22:15:40 +02:00
Alessio Morale
d8f08a7916 OP-943 Add Malloc for "FastHeap" (ccsram)
- Use a separate mallocs for thread stack and RTOS structures heap
- Add a pios_mem API to be able to use fast ram (CCM) when available
2014-06-11 22:15:30 +02:00
Alessio Morale
622519b7c2 OP-1365 Flight code instrumentation API: add documentation to pios_instrumentation_helper, uncrustification 2014-06-10 22:13:20 +02:00