Alessio Morale
752f3447d2
OP-1683 - Implement an update skip strategy in single pulse mode when pulse period is higher than the update cycle
2015-02-02 02:58:22 +01:00
Alessio Morale
1d08083375
OP-1682 - OneShot125: Change timer clock to 2MHz (that's available as exact value for current targets), raise timer period to prevent glitches
2015-01-31 14:40:40 +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
Alessio Morale
7955f63c98
OP-1683 - Clenaup, trigger update in setfailsafe, Fix standard pwm operation
2015-01-25 21:25:14 +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
47e1312982
OP-1683 - Implement oneshot/oneshot125 mode to actuator module
2015-01-23 23:51:53 +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
Fredrik Larsson
4f7fc1bac7
Merge remote-tracking branch 'origin/corvuscorax/OP-1599_positionvario-reworks' into next
2014-12-14 23:45:57 +11:00
Laurent Lalanne
8d08223e8a
OP-1601 Don't use new PVT messages with CC/CC3D
2014-11-15 22:39:17 +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
7d2ca3d92f
OP-1599 added course lock mode, renamed other position vario modes
2014-11-08 12:59:55 +01: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
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
Corvus Corax
d0417dda84
OP-1573 fix armhandler to not timeout-disarm when flying autonomously
2014-10-29 21:12:57 +01:00
a*morale
7c1265ee30
OP-1548 - Change Fusion algorithm names to make clear their pourpose
2014-10-21 00:49:00 +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
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
9499cf9abc
OP-1535 - Some optimizations for attitude module
2014-10-11 09:57:07 +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
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
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
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
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
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
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
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 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
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
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
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
c49497f2e0
Merge branch 'amorale/OP-1434_GPSV9_fc_support' into next
2014-09-15 23:49:54 +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
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
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
7afb211330
OP-1474 Revert TPS debugging code
2014-09-10 00:42:40 +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
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
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
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
8418804ce4
OP-1406 - Revert magstate to non normalized values
2014-08-25 16:00:33 +02: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
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
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
9d7a493c26
OP-1406 - Allows filtermag to switch between onboard and aux mag
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
760ae118e9
OP-1156 changed yaw math from interval [0..360] to [-180..180]
2014-08-16 20:48:56 +02:00
Corvus Corax
8daa5dfa12
Merge branch 'next' into corvuscorax/OP-1156_pathfollower-unification
2014-08-16 13:58:40 +02:00