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

5173 Commits

Author SHA1 Message Date
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