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
Alessio Morale
16cb081f5c
OP-1365 Flight code instrumentation API: Sample use of instrumentation in Atittude module.
...
When instrumentation is enabled at board level (pios_board.h, enable PIOS_INCLUDE_INSTRUMENTATION) PIOS_INSTRUMENT_MODULE setups the module to be instrumented.
2014-06-10 21:38:12 +02:00
Alessio Morale
8ba5741f99
OP-1365 Flight code instrumentation API: Add some helper macros to simplify the addition of instrumentation code to a module.
...
Note: Look at next commit for an example use case.
2014-06-10 21:34:33 +02:00
Alessio Morale
698d132f9c
OP-1365 Flight code instrumentation API: Changed API to use handlers (opaque pointers) to counter struct instead of an index, fix Search function, create does check if coutner exists and return existing handler
2014-06-10 21:24:28 +02:00
Alessio Morale
07d2e27276
OP-1274: Update to FreeRTOS 8.0.1
2014-06-10 19:42:11 +02:00
Alessio Morale
ee8ffed465
OP-1274: Force 8 bytes alignment for RTOS structures while using 4 bytes alignment for the remaining memory allocation operations to save RAM
2014-06-10 19:10:37 +02:00
Corvus Corax
f89557c045
OP-1287 improved deadband implementation to be jump-free
2014-06-10 09:59:37 +02:00
Alessio Morale
92b48b09ff
OP-1227 Fix high CPU usage: remove oversample buffer calculation in several part of pios_adc all over the code.
2014-06-09 19:28:22 +02:00
Alessio Morale
de5aed6864
OP-1227 Fix high CPU usage: Disable Instrumentation
2014-06-09 16:29:53 +02:00
Alessio Morale
8710ff4070
OP-1227 Fix high CPU usage: Some minor to Actuator module.
2014-06-08 22:39:16 +02:00
Alessio Morale
52c1d69c19
OP-1227 Fix high CPU usage: Change gyro oversampling to 46 (400Hz update rate) to lessen the cpu load and jitter due accel rate mismatch
2014-06-08 22:14:06 +02:00
Alessio Morale
7acb0ad385
OP-1227 Fix high CPU usage: Apply missing parenthesis to prevent a fdiv for temp calculatin
2014-06-08 22:02:10 +02:00
Alessio Morale
a9f1d55fea
OP-1227 Fix high CPU usage: Optimize Memory usage in ADC driver.
...
- performs undersampling in two steps operating with a half buffer at time;
- Skip costly undersampling for Temperature channel;
- some optimizations to the downsample loops;
- apply compiler speed optimization to PIOS_ADC_downsample_data()
2014-06-08 22:01:05 +02:00
Alessio Morale
843987484b
OP-1227 Fix high CPU usage: Avoid several float division in Attitude module, change optimization for attitude estimation function
2014-06-08 21:48:35 +02:00
Alessio Morale
d51b7ce2d4
OP-1227 Fix high CPU usage: Changes to attitude module:
...
- changed Expected rate to 500 (it was erroneously defined as 666Hz)
- use the optimized api to fetch accel samples
2014-06-08 21:47:00 +02:00
Alessio Morale
a0d68c6afb
OP-1227 Fix high CPU usage: Reduce Accel rate to 1600Hz, optimize sample reading, explicitly set bus speed
...
Note: Counter 0xA3450001 is the time it takes to transfer the requested number of samples
2014-06-08 21:33:18 +02:00
Alessio Morale
c9d97639b0
OP-1302 Renable Idle Hook in CC/CC3D
2014-06-08 20:33:35 +02:00
Corvus Corax
a19ebfec14
OP-1287 separate stick response setting for vertical and horizontal in PositionVario/AutoCruise modes
2014-06-07 23:06:11 +02:00
Alessio Morale
197d381937
OP-1365 Flight code instrumentation API: Add helper function to track mean period between its calls
2014-06-07 18:11:34 +02:00
Alessio Morale
eb35803b5b
OP-1365 Flight code instrumentation API: Add support for Revolution
2014-06-07 17:44:27 +02:00
Alessio Morale
11d0bbf5f8
OP-1365 Flight code instrumentation API: Use systemMod to publish counters
2014-06-07 17:43:36 +02:00
Alessio Morale
e8a3706351
OP-1365 Flight code instrumentation API: Fix wrapper not publishing last counter
2014-06-07 17:33:37 +02:00
Corvus Corax
c3d20e72b9
OP-1287 made velocity calculation implicit in pathfollower based on distance only
2014-06-07 16:30:39 +02:00
Corvus Corax
8f9b5b2282
OP-1287 fix to lower speed limit in autocruise do not allow absolute zero speed to not loose direction
2014-06-07 16:16:55 +02:00
Corvus Corax
090db92e8a
OP-1287 removed waypoint start position from positionvario logic in favor of static variable
2014-06-07 16:07:20 +02:00
Alessio Morale
08e4ec7fd3
OP-1365 Flight code instrumentation API: Fix wrapper documentation/headers
2014-06-07 15:45:27 +02:00
Corvus Corax
ae8c22280b
OP-1287 fixed handling of pitch and throttle channels from manualcontrolcommand
2014-06-07 15:31:38 +02:00
Alessio Morale
9db264a457
OP-1365 Flight code instrumentation API: Add CopterControl support
2014-06-07 00:47:06 +02:00
Alessio Morale
1c92edb18b
OP-1365 Flight code instrumentation API: Fix min/max handling
2014-06-06 22:38:49 +02:00
Alessio Morale
5e9d107c0b
OP-1365 Flight code instrumentation API: Add support to DiscoveryF4bare target
2014-06-06 22:23:02 +02:00
Alessio Morale
2396350f2f
OP-1365 Flight code instrumentation API: Implementation of UAVObject wrapper layer
2014-06-06 22:19:27 +02:00
Alessio Morale
520e721bdd
OP-1365 Flight code instrumentation API: PiOS Implementation
2014-06-06 22:15:18 +02:00
Corvus Corax
070672e0f0
OP-1287 changed deadband behaviour to be more consistent
2014-06-04 23:22:04 +02:00
Corvus Corax
89472196d1
OP-1287 implemented new flightmodes in plan.c
2014-06-04 16:52:39 +02:00
Corvus Corax
de7e0d0781
OP-1287 added handler definitions for new flightmodes
2014-06-04 10:29:45 +02:00
Corvus Corax
07667027ee
OP-1287 added autocruise mode too to manualcontrol
2014-06-04 10:23:59 +02:00
Corvus Corax
2260f5dacc
OP-1287 added autocruise mode, too
2014-06-04 10:23:37 +02:00
Corvus Corax
ec5052bdba
OP-1287 added new flightmodes to manualcontrol.c
2014-06-04 10:04:40 +02:00
Corvus Corax
86441169de
OP-1287 added new flightmodes to sanity checks
2014-06-04 10:02:19 +02:00
Corvus Corax
f0c4b8f9c7
OP-1287 renamed VELOCITYCONTROL back to AltitudeVario for consistency
2014-06-03 18:42:54 +02:00
Corvus Corax
aa6c5f9d15
OP-1363 cleanups to sanitychecks
2014-06-01 20:28:38 +02:00
Corvus Corax
63b08ec129
OP-1363 check for navigation enabled (outdoor) fusion algorithm if any flightmode is configured to use a path follower
2014-06-01 12:17:42 +02:00
Corvus Corax
5bfb57e081
Merge branch 'next' into amorale/OP-1355_fix_mag_board_rotation_issue
2014-05-26 17:19:56 +02:00
Corvus Corax
c6e168c972
Merge branch 'next' into corvuscorax/OP-1352_Headwind-improvements
2014-05-26 17:17:43 +02:00
Corvus Corax
bf16738fd3
Merge branch 'next' into amorale/OP-1350_takeoff_location_handling
2014-05-26 17:16:47 +02:00
Corvus Corax
76f83fc131
OP-1352 some cosmetic cleanups, explicitly marked float constants as type float
2014-05-25 13:27:38 +02:00
Alessio Morale
3d67b7567e
OP-1355 Fix Mag scaling being calculated after applying board rotation.
2014-05-25 11:28:43 +02:00
Andres
642f740be3
OP-1317 Bettered jump treatment in yaw calculation and some cosmetics
2014-05-24 10:04:39 +02:00
Andres
9e80c4da9c
OP-1317 Low-pass filter parameters added to airpeedSettings: IMUBasedEstimationLowPassPeriod1 pre-filter period in seconds, IMUBasedEstimationLowPassPeriod2 filter period in seconds. Oscillations with shorter periods than these, are filtered. If airspeed has too much noise increase IMUBasedEstimationLowPassPeriod2, else if it is too smooth descrease it.
2014-05-23 11:55:06 +02:00
Andres
822b067d98
OP-1317 Corrected error in calculation of low pass filter cut-off frequencies
2014-05-23 07:37:57 +02:00
Andres
f273abf6c8
OP-1317 Merged with next
2014-05-22 17:01:38 +02:00
Andres
a83379425c
OP-1317 Small optimizations of code, delete of debug variables in airspeed object and uncrustify
2014-05-22 10:00:50 +02:00
Andres
423645392b
OP-1317 Changed filtering method of IMU airspeed calculation into a Butterworth second order filter
2014-05-21 19:32:02 +02:00
Andres
41dd85b741
OP-1317 Changed filtering method of IMU airspeed calculation into a Butterworth second order filter
2014-05-21 19:25:27 +02:00
Alessio Morale
b2ecf23a07
OP-1350 simposix build fixes :( fix altitude calculation for RTB
2014-05-19 22:21:32 +02:00
Alessio Morale
3db6c3c86b
OP-1350 fix build for revoproto and discoveryf4
2014-05-19 21:15:17 +02:00
Alessio Morale
92bf876654
OP-1350 refactor into a plans library all functions dealing with initialization and execution of PathFollower/pathplanner commands for manualcontrol
2014-05-19 18:35:18 +02:00
Alessio Morale
070eccbf1f
OP-1274 reenable idle hook for new led handling
2014-05-18 23:43:49 +02:00
Alessio Morale
5e83374af4
OP-1274 fixes for DiscoveryF4Bare target
2014-05-18 23:43:14 +02:00
Alessio Morale
4296b21025
OP-1274 looks like excluding vTaskSuspend does not cope with "strict" compilation options
2014-05-18 22:57:16 +02:00
Alessio Morale
af8fe1f921
OP-1274 Fixes for Simposix
2014-05-18 22:56:57 +02:00
Alessio Morale
3ec8c18fad
OP-1274 fixes for RevoProto
2014-05-18 22:56:54 +02:00
Alessio Morale
99540d5db5
OP-1274 fixes for OSD
2014-05-18 22:56:51 +02:00
Alessio Morale
36e304f579
OP-1274 fixes for revolution
2014-05-18 22:56:48 +02:00
Alessio Morale
e9fff2b6fa
OP-1274 fixes for OPLink
2014-05-18 22:56:44 +02:00
Alessio Morale
be5cc66bd3
OP-1274 fixes for Coptercontrol firmware
2014-05-18 22:56:29 +02:00
Alessio Morale
921abb5131
OP-1274 update freertos files. Architecture specific files are left into their original FreeRTOS folder structure
2014-05-18 22:53:23 +02:00
Alessio Morale
d88d73e7fe
OP-1350 Make RTB safer pick the lowest between PositionState.Down and TakeOffLocation.Down.
2014-05-18 14:41:45 +02:00
Corvus Corax
5153806289
OP-1352 cleaned up some code comments
2014-05-17 23:27:30 +02:00
Corvus Corax
5544e9c984
OP-1352 redesigned course calculation to take complete wind vector into account
2014-05-17 22:02:04 +02:00
Corvus Corax
2357ee1774
hotfix: allow arming in Stabilized 4,5,6
2014-05-16 23:39:36 +02:00
Alessio Morale
2048440053
OP-1350 fix a review defect(a set intead of TakeOffLocationStatusGetget). Check if status is valid beside locationSet
2014-05-16 23:32:11 +02:00
Alessio Morale
f3df459278
OP-1350 remove checks for valid TakeOffLocation. It is already handled in takeoffLocationHandler
2014-05-16 21:56:44 +02:00
Alessio Morale
ffa5e66d8b
OP-1350 fix a bug that overwrite TakeOffLocation when changing mode to preset after an arming sequence. cleanup and get rid of "pending" status
2014-05-16 21:53:05 +02:00
Corvus Corax
9306cbc7c5
OP-1352 Headwind-improvements for FixedWingPathFollower
2014-05-16 20:20:40 +02:00
Alessio Morale
80bd04075f
OP-1350 Rename ReturnToHomeAltitudeOffset to ReturnToBaseAltitudeOffset
2014-05-16 18:51:04 +02:00
Alessio Morale
edba1bc71d
OP-1350 split Init function out of Handler, added missing UAVO initalize, cleanup code
2014-05-16 18:31:49 +02:00
Alessio Morale
8dcee11cb8
OP-1350 change destination for ReturnToBase to takeoffLocation
2014-05-16 12:38:18 +02:00
Alessio Morale
9ec21d2ade
OP-1350 fix simposix target
2014-05-16 02:30:17 +02:00
Alessio Morale
063ae8afe0
OP-1350 add a TakeOffLocation Handler to manualcontrol
2014-05-16 02:28:12 +02:00
Alessio Morale
52892aa7d8
OP-1350 add uavo to DiscoveryF4Bare
2014-05-16 02:19:52 +02:00
Alessio Morale
86b0829823
OP-1350 Add takeofflocation UAVO
2014-05-16 00:40:19 +02:00
Alessio Morale
58bba31c72
Merge remote-tracking branch 'origin/amorale/OP-1312_pios_ws2811_driver' into next
2014-05-15 20:30:43 +02:00
Alessio Morale
e082fbc04e
Merge remote-tracking branch 'origin/amorale/OP-1330_cannot_set_homelocation.set_false' into next
2014-05-15 20:30:32 +02:00
Alessio Morale
7182fe0194
Merge remote-tracking branch 'origin/amorale/OP-1329_airspeed_fixes' into next
2014-05-15 20:30:10 +02:00
Corvus Corax
065a632123
Merge branch 'corvuscorax/OP-1325_Event-System-Error-Alarm' into next
2014-05-15 00:13:20 +02:00
Andres
c5372dd0b4
OP-1317 Added better comments on the function of the partial calculation of the rotation matrix. And added a remark on the debuging variable in the airspeed object definition
2014-05-13 17:30:50 +02:00
Alessio Morale
47976312c2
OP-1330 reset Home Set delay timer if Set==true
2014-05-12 22:56:28 +02:00
Alessio Morale
8bbb56337b
OP-1312 keep pulse timings low to have more margin to handle bus contentions and irq response time.
2014-05-11 18:57:06 +02:00
Alessio Morale
953b7cc2a7
OP-1330 Fix a compilation issue with CC/CC3D
2014-05-11 12:37:20 +02:00
Alessio Morale
3c5a41049b
Merge branch 'amorale/OP-1302_updated_led_behaviour' into next
2014-05-11 12:01:53 +02:00
Alessio Morale
45efaffcf1
OP-1330 fix namings/uncrustify
2014-05-11 11:38:08 +02:00
Alessio Morale
7155805b79
OP-1329 Move gps airspeed initialization checks under "sensor changed" test
2014-05-11 11:33:11 +02:00
Alessio Morale
711c5ea79d
OP-1312 Fixes the flicker issue in Revo. Raised the Transfer complete irq priotity to prevent delays stopping the timer.
2014-05-11 10:43:24 +02:00
Andres
530c0aa967
OP-1317 Added two file (actually renames)
2014-05-10 14:51:22 +02:00
Andres
02e62f91ed
OP-1317 Apadted airspeed calculation from ground speed and orientattion changes: applied extended IMU wind estimation, filtering takes place now with Holt-Winters double exponential smoothing on orientation vector and speed vector, matrix calculation replaced by a direct calculation of the fuselage vector, renamed gps_airspeed into imu_airspeed because estimation relies on imu results and a n estimate of ground speed and not directly a GPS signal
2014-05-10 14:50:24 +02:00
Corvus Corax
6e6c66d270
Merge branch 'next' into corvuscorax/OP-1161_magnetometer-alarm
2014-05-08 23:21:39 +02:00
Corvus Corax
d916fa5aad
uncrustification
2014-05-08 23:18:38 +02:00
Corvus Corax
47a891e594
OP-1325 fix event system warnings to be errors
2014-05-08 23:05:55 +02:00
Alessio Morale
7a85c0939c
Merge branch 'amorale/OP-975_calibration_process_changes' into next
2014-05-08 22:56:16 +02:00
Alessio Morale
16df6bc58c
Merge branch 'amorale/OP-1307_discovery_f4_bare' into next
2014-05-08 22:56:03 +02:00
Bertrand Oresve
743cf4e4b5
OP-1308 Merge with next (conflict with stabilization)
2014-05-08 22:33:45 +02:00
Alessio Morale
94beebc3d0
OP-1302 Fixes for current next. Show flightmode everytime it changes when disarmed
2014-05-08 22:27:55 +02:00
Alessio Morale
e5d6726bb6
Merge remote-tracking branch 'origin/next' into amorale/OP-1302_updated_led_behaviour
2014-05-08 22:27:08 +02:00
Bertrand Oresve
fd1b786868
Merge branch 'next'
...
Conflicts:
flight/libraries/sanitycheck.c
flight/modules/Stabilization/stabilization.c
2014-05-08 21:36:54 +02:00
Corvus Corax
b7f479cd68
Merge branch 'corvuscorax/OP-1309_Stabilization-Refactoring' into next
2014-05-08 21:05:26 +02:00
Alessio Morale
3a451c9737
OP-1329 Trigger a SensorType change the first time Task runs to set AirspeedSensor UAVO when sensor is None
2014-05-08 19:58:42 +02:00
Alessio Morale
08dcdefc1f
OP-1329 set SensorConnected to false when sensorType is changed to none.
2014-05-08 19:48:30 +02:00
Corvus Corax
16c46458ef
Merge branch 'corvuscorax/OP-1332_fix-alarm-gracetime-issue' into corvuscorax/OP-1161_magnetometer-alarm
2014-05-08 00:01:02 +02:00
Corvus Corax
3a2b5d6332
OP-1332 fix problem in alarm handling where alarms are unable to reset on their own
2014-05-07 23:50:39 +02:00
Corvus Corax
1add404d80
OP-1161 reimplemented magnetometer plausibikity check using vector
...
length only
2014-05-07 23:47:14 +02:00
Alessio Morale
516f359645
OP-1329 fix a cherry-pick issue
2014-05-07 23:23:51 +02:00
Corvus Corax
2da1f2aa09
Merge branch 'corvuscorax/OP-1309_Stabilization-Refactoring' into corvuscorax/OP-1161_magnetometer-alarm
2014-05-07 22:26:20 +02:00
Corvus Corax
153d2fb786
OP-1309 Fixed bug in Quaternion Stabilization Error Calculation in regards to independent axis
2014-05-07 22:12:01 +02:00
Alessio Morale
8462adb579
OP-1330 Delay SetHomeLocation call from GPS module to be able to save HomeLocation.Set=false
2014-05-07 20:43:34 +02:00
Alessio Morale
7645209809
OP-1329 Various fixes to airspeed:
...
- Prevent Airspeed module with Sensor=none from constantly running and updating AirspeedSensor
- Do not call gps_airspeedInitialize if not needed
2014-05-07 20:38:24 +02:00
Corvus Corax
5528d79a05
OP-1309 bugfix update - correct initial loading of StabBank
2014-05-07 18:23:56 +02:00
m_thread
a0e661b77e
Disabled malfunctioning PIOS_QUATERNION_STABILIZATION option.
2014-05-07 14:19:20 +02:00
Corvus Corax
56b5747b4e
uncrustify
2014-05-06 18:53:57 +02:00
Corvus Corax
a2ae0601bb
Merge remote-tracking branch 'origin/amorale/OP-975_calibration_process_changes' into corvuscorax/OP-1161_magnetometer-alarm
2014-05-06 18:51:46 +02:00
Corvus Corax
14652440a2
OP-1161 skip magnetometer entirelly if complementary (no mag) mode, thus not triggering magnetometer alarms
2014-05-06 18:46:58 +02:00
Corvus Corax
2bd7609de9
Merge branch 'next' into corvuscorax/OP-1161_magnetometer-alarm
...
Conflicts:
ground/openpilotgcs/share/openpilotgcs/diagrams/default/system-health.svg
2014-05-06 17:30:00 +02:00
Corvus Corax
e6875a7e13
Merge branch 'corvuscorax/OP-1259_Cruise_Control_Tweaks' into next
2014-05-06 16:32:27 +02:00
Bertrand Oresve
b2ebb1faf8
OP-1308 merging filterlaltitude with OP-1235
2014-05-05 21:33:57 +02:00
Corvus Corax
08a627db6f
Merge remote-tracking branch 'origin/Bertrand/OP-1314_Fix_Airspeed_Stack_Size' into next
2014-05-04 12:34:07 +02:00
Corvus Corax
4d9de8f56b
Merge branch 'corvuscorax/OP-1309_Stabilization-Refactoring' into corvuscorax/OP-1259_Cruise_Control_Tweaks
2014-05-04 12:18:47 +02:00
Corvus Corax
d3bf817434
OP-1309 fix typo in stabilizedhandler (manualcontrol) for stabi flightmode 4-6
2014-05-04 12:17:34 +02:00
Corvus Corax
2b00cb31a4
Merge branch 'next' into corvuscorax/OP-1259_Cruise_Control_Tweaks
2014-05-04 12:12:51 +02:00
Corvus Corax
64d18c1a31
Merge branch 'corvuscorax/OP-1316_fix-gravity-constants' into next
2014-05-04 12:07:22 +02:00
Corvus Corax
aee6a3b85b
Merge branch 'corvuscorax/OP-1309_Stabilization-Refactoring' into corvuscorax/OP-1259_Cruise_Control_Tweaks
2014-05-04 12:04:43 +02:00
Corvus Corax
fb41258e57
OP-1309 fixed missing assignment in manualcontrol FM switch
2014-05-04 12:03:56 +02:00
Corvus Corax
6b25c06a03
Merge branch 'corvuscorax/OP-1309_Stabilization-Refactoring' into corvuscorax/OP-1259_Cruise_Control_Tweaks
2014-05-04 11:39:34 +02:00
Corvus Corax
942b53a66b
OP-1309 removed unnecessary NUMELEM run time check from sanitychecks and put it into manualcontrol.h as a compile time static assert
2014-05-04 11:38:10 +02:00
Corvus Corax
23654cf565
Merge branch 'next' into corvuscorax/OP-1259_Cruise_Control_Tweaks
2014-05-04 11:21:52 +02:00
Corvus Corax
5965a5a96e
Merge branch 'corvuscorax/OP-1309_Stabilization-Refactoring' into corvuscorax/OP-1259_Cruise_Control_Tweaks
2014-05-04 11:21:23 +02:00
Corvus Corax
80468fda0b
OP-1309 Updated sanitycheck to reflect new modes for flight side config validation
2014-05-04 11:19:58 +02:00
Corvus Corax
8ec8c4e235
Merge branch 'corvuscorax/OP-1309_Stabilization-Refactoring' into corvuscorax/OP-1259_Cruise_Control_Tweaks
2014-05-03 18:40:10 +02:00
Corvus Corax
0509595137
OP-1309 present for Laurent: 3 more Stabilized modes (and a bit of cleanup)
2014-05-03 18:38:45 +02:00
Corvus Corax
0d070a5857
Merge branch 'corvuscorax/OP-1309_Stabilization-Refactoring' into corvuscorax/OP-1259_Cruise_Control_Tweaks
2014-05-03 17:27:17 +02:00
Corvus Corax
69b5f41e58
OP-1309 correctly set StabilizationMode.Thrust in all other modules that set StabilizationDesired (Autotune,Pathfollowers)
2014-05-03 17:25:53 +02:00
Corvus Corax
e6a69c2f78
Merge branch 'corvuscorax/OP-1309_Stabilization-Refactoring' into corvuscorax/OP-1259_Cruise_Control_Tweaks
2014-05-03 15:59:03 +02:00
Corvus Corax
e95b25dca8
OP-1309 fixed missing thrust mode assignment in manualcontrol
2014-05-03 15:57:00 +02:00
Alessio Morale
19caa57dc6
OP-1312 fix copy/paste-naming issue
2014-05-03 11:45:30 +02:00
Corvus Corax
c63540b2ec
Merge branch 'corvuscorax/OP-1309_Stabilization-Refactoring' into corvuscorax/OP-1259_Cruise_Control_Tweaks
...
Conflicts:
flight/modules/Stabilization/stabilization.c
shared/uavobjectdefinition/stabilizationsettings.xml
2014-05-02 18:25:57 +02:00
Corvus Corax
f7a2e31809
Merge branch 'next' into theothercliff/OP-1259_Cruise_Control_Tweaks
...
Conflicts:
flight/pios/stm32f10x/inc/usb_conf.h
2014-05-01 22:58:10 +02:00
Corvus Corax
2247fd69ec
OP-1309 fixed bug in outerloop
2014-05-01 18:52:39 +02:00
Corvus Corax
944f3f5d2f
OP-1309 provide faster GyroState updates for more prompt response and less stabilization lag
2014-05-01 17:46:13 +02:00
Corvus Corax
936a52112a
OP-1309 changed behaviour of Rattitude again to mimick old one
2014-05-01 17:08:43 +02:00
Corvus Corax
7275d9a807
OP-1309 correctly limit the maximum attitude-loop-rate in rattitude mode
2014-05-01 16:37:22 +02:00
Corvus Corax
0ea1ccf5c3
OP-1316 fix gravity constants
2014-05-01 15:50:02 +02:00
Corvus Corax
09a5578f5a
OP-1309 put altitude calls into #ifdef so it compiles on coptercontrol
2014-05-01 12:54:56 +02:00
Corvus Corax
6993570cc9
OP-1309 integrated AltitudeHold into new Stabilization
2014-05-01 11:48:38 +02:00
Andres
0973f1037f
OP-1315 (re)added IS_REAL check for CalibratedAirspeed and for new calculated airspeed
2014-05-01 10:40:33 +02:00
Alessio Morale
3897106f4d
OP-1312 remove boilerplate from config using macros.
...
Use four locations for ch1+update dma source to exploit fifo and memory read bursts
2014-05-01 10:33:44 +02:00
Corvus Corax
b6b03b767a
Merge branch 'next' into corvuscorax/OP-1161_magnetometer-alarm
...
Conflicts:
shared/uavobjectdefinition/revosettings.xml
shared/uavobjectdefinition/systemalarms.xml
2014-05-01 10:26:53 +02:00
Corvus Corax
3ada1da71a
uncrustify
2014-04-30 22:20:07 +02:00
Andres
49870ce7dc
OP-1315 uncrustify
2014-04-30 18:45:04 +02:00
Andres
0d6e8c8efb
OP-1315 changed error alarm in gps_airspeedGet for |v|<1 into a warning to allow arming. cos(5deg) exchanged by a constant expression. pow (x,2.0f) exchanged by a inline function based on multiplication. Deleted arispeedalarm.h and airspeedalarm.c and exchanged AirspeedAlarm() by a direct call to AlarmsSet().
2014-04-30 18:39:35 +02:00
Bertrand Oresve
70ba6850d0
OP-1308 Uncrustify operation
2014-04-30 08:49:50 +02:00
Cliff Geerdes
b7a2931f21
OP-1259 Change a constant from a testing value to release value
2014-04-29 20:46:57 -04:00
Cliff Geerdes
5ee2930181
OP-1259 Removed inverted flight pitch and yaw reverse option
2014-04-29 20:24:49 -04:00
Bertrand Oresve
6d3ade4947
OP-1308 Set the same logic for alarms
2014-04-29 22:25:49 +02:00
Corvus Corax
66f2f8e840
OP-1309 more performant implementation of boundf()
2014-04-29 19:55:34 +02:00
Corvus Corax
2f572995ac
OP-1309 turned boundf() static inline as requested
2014-04-29 18:36:53 +02:00
Corvus Corax
59bdab697a
OP-1309 some CPU and memory optimizations to get it to run on CC
2014-04-29 18:17:29 +02:00
Corvus Corax
1632eeb58f
OP-1309 some small fixes to Stabilization as result of simulator testing
2014-04-29 15:51:56 +02:00
Corvus Corax
a9a2c6f769
OP-1309 Reimplemented alarm handling and stabilization watchdog - Stabilization refactoring nearly done. needs testing and AltitudeHold reimplementations
2014-04-29 01:06:51 +02:00
Corvus Corax
82d2c5a308
OP-1309 Implemented control of new stabilization framework (replaces old stabilization module)
2014-04-29 00:29:15 +02:00
Bertrand Oresve
333ccc7e42
OP-1314 Fix the Airspeed stack size
2014-04-27 22:42:54 +02:00
Alessio Morale
4cece04166
OP-1312 fix documentation, get rid of stale comments from previous implementations
2014-04-27 19:12:36 +02:00
Alessio Morale
58178ab193
OP-1312 Fixed led boundary check and framebuffer color order.
2014-04-27 19:11:28 +02:00
Corvus Corax
93f82652b7
OP-1309 outer loop fully implemented - some cleanups and changes in control flow to accomodate new logic
2014-04-27 15:15:59 +02:00
Corvus Corax
844fcffec7
OP-1309 added cruisecontrol function library and outer loop template
2014-04-27 07:19:59 +02:00
Alessio Morale
001ee66b06
Merge remote-tracking branch 'origin/amorale/OP-1235_fix_altitude_estimation' into next
2014-04-26 23:03:48 +02:00
Corvus Corax
3f7c9e3679
OP-1309 inner stabilization loop in new incarnation - is not used yet until outer loop rewritten as well
2014-04-26 22:37:49 +02:00
Alessio Morale
c281420e25
OP-1307 Most(all?) F4Discovery has an "A" revision of STM32f4.
...
Disable prefetch to overcome the "Section 2.1.1: ART Accelerator prefetch queue instruction is not
supported" issue (DM00037591.pdf)
2014-04-26 22:14:47 +02:00
Alessio Morale
e75ed6a015
OP-1307 fix mispelling of usb product id
2014-04-26 21:55:25 +02:00
Alessio Morale
d42debba50
OP-1302 Remove the special case for Telemetry in Alarm.c and shut up the telemetry warning in telemetry.c when disconnected
2014-04-26 20:48:30 +02:00
Corvus Corax
77f2444fa4
OP-1309 renamed stabilization mode NONE to MANUAL
2014-04-26 20:33:25 +02:00
Alessio Morale
99f19dd809
OP-1312 Make WS2811 driver configurable.
...
Now output pin may be chosen among all servo outputs and Flexi-io pins 3 and 4 (they are not used for PWM input/output)
2014-04-26 19:48:44 +02:00
Alessio Morale
a0b857337f
OP-1312 Add support for Revolution (right now always active on pin3). Configurability not yet added
2014-04-26 18:40:59 +02:00
Alessio Morale
28859d2305
OP-1312 Missing ifdefs on pios_board.c
2014-04-26 18:39:57 +02:00
Corvus Corax
e9d1a2af4b
OP-1309 get rid of this horrible bound() function code duplication throughout entire flight code and put it into libraries/math
2014-04-26 17:48:54 +02:00
Alessio Morale
db9435b5ed
OP-1312 add a switch to include/exclude the driver
2014-04-26 17:28:49 +02:00
Alessio Morale
46f70a74c8
OP-1312 Initial version running on DiscoveryF4
2014-04-26 16:57:16 +02:00
Corvus Corax
599661ba18
OP-1309 UAVObject changes, GCS changes and Makefile changes needed for Stabi refactoring
2014-04-26 15:14:40 +02:00
Alessio Morale
0aa9ef4b57
OP-1307 Bare f4 discovery platform with no sensor, for development pourpose
2014-04-22 23:46:27 +02:00
Alessio Morale
ee91207ede
OP-1302 simplify the code adding some pattern "tables"
2014-04-16 07:57:15 +02:00
Alessio Morale
f01cf66095
Merge remote-tracking branch 'origin/andrecillo/OP-1273_OP-1282_OP-1283_Diverse_Airspeedsensor_improvements' into next
...
Conflicts:
ground/openpilotgcs/src/plugins/systemhealth/systemhealthgadgetwidget.cpp
2014-04-15 21:52:34 +02:00
Alessio Morale
eb1b27b2e4
Merge remote-tracking branch 'origin/Bertrand/OP-1288_Remove_PositionSource_from_VtolPathFollowerSettings' into next
2014-04-15 21:47:37 +02:00
Alessio Morale
82139a6e44
Merge remote-tracking branch 'origin/amorale/OP-1294_fix_stacks_heap_cc' into next
2014-04-15 21:46:26 +02:00
Alessio Morale
cbbb9ea9f7
Merge remote-tracking branch 'origin/Bertrand/OP-1056_Fix_TIMEUTC_valid_flags' into next
2014-04-15 21:45:07 +02:00
Alessio Morale
f9aa020de4
Merge remote-tracking branch 'origin/andrecillo/OP-1299_Autodetect_nbcells_battery' into next
2014-04-15 21:44:06 +02:00
Alessio Morale
5763ed3d8d
OP-1235 make Initialization Acceldrift KI configurable
2014-04-14 10:58:46 +02:00
Alessio Morale
20508314f2
OP-1302 use pios_notify api to alert user of ongoing CF gyro calibration
2014-04-13 17:56:20 +02:00
Alessio Morale
299f388245
OP-1302 Add a stub pios_notify API for user interaction/notifications
...
right now all notifications produces the same output, the DRAW_ATTENTION sequence
2014-04-13 17:42:57 +02:00
Andres
adcd606e16
OP-1299 uncrustify.
2014-04-13 14:08:34 +02:00
Andres
944e39db07
OP-1299 Small changes proposed in review process.
2014-04-13 14:07:16 +02:00
Alessio Morale
132aa83dff
OP-1302 Fix other targets
2014-04-13 12:38:07 +02:00
Alessio Morale
5d637fab87
OP-1302 move stuffs away from systemmod
2014-04-13 11:54:25 +02:00
Alessio Morale
9ebb66fbce
OP-1302 filter out telemetry alarms
2014-04-12 22:00:26 +02:00
Alessio Morale
82c81fef6e
OP-1302 make leds more "readable"
...
Show alarm and arming/flightmode in sequence
Alarm:
Warning = rP
Error = rrP
Critical = R
Heartbeat/flightmode:
disarmed = B
armed/Stabilization1 = bbP
armed/Stabilization2 = bbbP
armed/Stabilization3 = bbbbP
armed/AH/AVario/Velocitycontrol = bvP
armed/PH/Pathplanner/POI = bbvP
armed/Land/RTB = bbvvP
note:
r/b/v = short red/blue/both blink
R/B/V = long red/blue/both blink
p/P = short/long pause
2014-04-12 22:00:02 +02:00
Bertrand Oresve
80d7363dfa
OP-1056 Fix the TIMEUTC valid flags (with Werner suggestion)
2014-04-12 11:48:18 +02:00
Bertrand Oresve
d70d8df272
OP-1056 Fix the TIMEUTC valid flags in GPS UBX protocol
2014-04-12 09:24:08 +02:00
Corvus Corax
988a732e79
Merge branch 'corvuscorax/OP-1296_barometer-initialization-fix_nextbased' into next
2014-04-10 20:23:21 +02:00
Corvus Corax
661bea2372
OP-1296 - some explicit const declarations in stateestimation
2014-04-10 20:17:01 +02:00
Andres
598a48a2d9
OP-1299 Added autodetect battery cell number before arming. Tested for LiPo from 2S to 6S. Over 6S counting is not possible for LiPo. Should work for LiCo too. LiFePo works only for 1S or 2S. I was not able to find values for LiFeSO4. FlightBatteryState has now two new fields: NbCells and NbCellsAutodetected, which register the autodetection. FlightBatteryState.NbCells should be used instead of FlightBatterySettings.NbCells now, when the number of cells in needed. FlightBatterySettings.NbCells is used by the user to prescribe a cell number or if equal to zero to ask for autodetection.
2014-04-10 17:28:48 +02:00
Alessio Morale
1fe591d51e
OP-975 change BoardRotation data type to float so it can be used for level calibration
2014-04-10 01:47:37 +02:00
Philippe Renon
3b7b06aad0
Merge branch 'next' of ssh://git.openpilot.org/OpenPilot into next
2014-04-09 09:11:54 +02:00
Philippe Renon
c8397ee0b8
Merge remote-tracking branch 'origin/filnet/OP-1033_fw_usb_cleanups' into next
2014-04-09 09:08:09 +02:00
Philippe Renon
1b356341c7
OP-1033 pios_rfm22b.c will not be messed up by uncrustify anymore :)
2014-04-09 09:06:18 +02:00
Philippe Renon
ec1ecc020e
OP-1033 attempt at fixing the f1 usb buffer configuration (current configuration has overlapping buffer that cause tx errors)
2014-04-08 21:51:11 +02:00
Alessio Morale
8eeb3217bf
OP-975/OP-1068 replace simple scaling with a calibration matrix for magnetometer correction
2014-04-08 21:22:09 +02:00
Alessio Morale
4764186a5f
OP-1235 cleanup "magic numbers"
2014-04-08 20:51:16 +02:00
Corvus Corax
cb16cf04e1
Merge branch next into 'corvuscorax/OP-1296_barometer-initialization-fix'
2014-04-08 19:26:43 +02:00
Corvus Corax
011c598793
OP-1296 only use GPS in filterchains when explicitly requested
...
disallow arming when GPS is needed for initialization until lock is acquired
2014-04-08 18:31:11 +02:00
Corvus Corax
73bc088ad5
OP-1298 fix for metadata being overwritten on multiinstance object initialization
2014-04-08 16:26:27 +02:00
Alessio Morale
6d1fabdd5f
OP-1294 declare controlHandler as const, add a new PIOS_EXCLUDE_ADVANCED_FEATURES that disables all nav features
2014-04-08 00:30:10 +02:00
Alessio Morale
b9d911c40f
OP-1294 eventdipatcher stack can be further reduced
2014-04-07 00:32:34 +02:00
Alessio Morale
1aefc61bc4
OP-1294 Resize stack for CallbackScheduler.
2014-04-07 00:31:48 +02:00
Alessio Morale
492275bf0e
OP-1294 Fix undeclared STACK_SIZE_BYTES for revo
2014-04-06 19:26:48 +02:00
Alessio Morale
25ef201445
OP-1294 adjust FreeRTOS options to save some more heap
2014-04-06 19:19:48 +02:00
Alessio Morale
499efdf168
OP-1294 adjust some stack sizes for CC
2014-04-06 19:19:48 +02:00
Alessio Morale
eed5c098ab
OP-1294 Allow to specify different stack sizes for rx and tx telemetry task.
2014-04-06 19:19:44 +02:00
Corvus Corax
9a52f506ef
drive-by bugfix in Fixedwingpathfollower
2014-04-06 15:38:22 +02:00
Corvus Corax
e18f2e6d7e
OP1290 Systemalarms optimizations as suggested by OPReview-689
2014-04-06 12:46:27 +02:00
Corvus Corax
2d9fe95b08
OP-1290 added nicer #define for magic number
2014-04-06 12:37:57 +02:00
Corvus Corax
3018e73e91
OP-1290 saved some RAM by removing last alarm update time from UAVObject
...
(static allocated array instead, and smaller element size)
2014-04-06 12:24:42 +02:00
Corvus Corax
48876620fc
OP-1290 fix event system issues caused by alarm flapping
2014-04-05 17:27:52 +02:00
Corvus Corax
5b6d397f76
OP-1290 uncommented accidentally commented lines
2014-04-05 13:00:21 +02:00
Corvus Corax
bb91039f51
OP-1290 fixes in telemetry (and pios_board initialization)
2014-04-05 12:53:31 +02:00
Bertrand Oresve
654d842c22
OP-1288 Remove PositionSource from VtolPathFollowerSettings
2014-04-05 12:12:48 +02:00
Andres
9b8be63a4f
OP-1273 OP-1282 OP-1283 added delay to I2C Transfer function for both stm32f40x and stm32f10x
2014-04-02 14:18:42 +02:00
Alessio Morale
8bb1d0148c
Uncrustify
2014-04-01 22:58:23 +02:00
Alessio Morale
e964c863eb
Fix the broken revoproto target/sync with revolution
2014-04-01 22:24:05 +02:00
Alessio Morale
6540c69698
Merge remote-tracking branch 'origin/andrecillo/OP-1273_PixHawk_airspeed_sensor_MS4525DO' into next
2014-04-01 22:05:12 +02:00
Alessio Morale
3ebc17e7d7
Merge remote-tracking branch 'origin/sparkie79/OP-1266_negative-thermal-compensation-coeff' into next
2014-04-01 21:58:06 +02:00
Alessio Morale
fe985d2326
Merge remote-tracking branch 'origin/laurent/OP-1241_TxPID_Bank3' into next
2014-04-01 21:34:18 +02:00
Alessio Morale
18be34db05
Merge remote-tracking branch 'origin/filnet/OP-1246_RadioComBridge_bugs' into next
2014-04-01 21:31:32 +02:00
Andres
fd5d1e42a3
OP-1273 OP-1282 OP-1283 corrected compilation error for fw_revoproto
2014-04-01 07:46:50 +02:00
Andres
830f13596e
OP-1273 OP-1282 OP-1283 uncrustify
2014-03-31 22:17:58 +02:00
Andres
5ed417323e
OP-1273 OP-1282 OP-1283 bug fixes on I2C library: check for intialization and hot-plug robustness
2014-03-31 22:16:29 +02:00
Andres
a08b7ad21c
OP-1273 OP-1282 OP-1283 uncrustify
2014-03-28 17:11:55 +01:00
Andres
7067f4f8ff
Merge branch 'andrecillo/OP-1283_SystemHealthGadgetWidget_updateAlarms_coordinate_calculation_correction' into andrecillo/OP-1273_OP-1282_OP-1283_Diverse_Airspeedsensor_improvements
...
Merged correction on coordinate calculation in SystemHealth gadget for correct display of Airspeed-Alarm
2014-03-28 17:01:44 +01:00
Andres
e014a61fcc
OP-1273 OP-1282 OP-1283 diverse improvements in airspeed sensor handling including implementation of PixHaw sensor, airspeedalarm in Systemhealth and in all airspeed sensors; file added
2014-03-28 17:00:42 +01:00
Andres
9a207fbb80
OP-1273 OP-1282 OP-1283 diverse improvements in airspeed sensor handling including implementation of PixHaw sensor, airspeedalarm in Systemhealth and in all airspeed sensors; file changes
2014-03-28 16:59:52 +01:00
Andres
ef78320112
Merge branch 'andrecillo/OP-1273_PixHawk_airspeed_sensor_MS4525DO' into andrecillo/OP-1282_Eagletree_airspeed_sensor_I2C_alarms
...
Merged because both senosors should use the Airpeed alarm and andrecillo/OP-1282_Eagletree_airspeed_sensor_I2C_alarms is based on functionality implemented in andrecillo/OP-1273_PixHawk_airspeed_sensor_MS4525DO
2014-03-28 14:54:27 +01:00
Andres
7ec855af5f
OP-1273 added and implemented Airpeed alarm for the PixHawk sensor
2014-03-28 14:18:14 +01:00
Corvus Corax
5866983ba3
Merge remote-tracking branch 'origin/Bertrand/OP-1272_Fix_STM32F4_Watchdog_Freeze_In_Debug_Mode' into next
2014-03-27 22:33:32 +01:00
Corvus Corax
fe04cf7d29
uncrustification
2014-03-27 21:19:03 +01:00
Corvus Corax
7bd7c20fd9
Merge remote-tracking branch 'origin/Bertrand/OP-1267_Update_HomeLocation_In_LLA_Filter' into next
2014-03-27 21:17:42 +01:00
Andres
4188b492fc
OP-1273 added I2C warning alarm during calibration of zero point, and uncrustify
2014-03-27 16:59:48 +01:00
Andres
af86a3eb37
OP-1282 Added I2C alarm in baro_airspeedGetETASV3 and did uncrustify
2014-03-27 16:49:57 +01:00
Andres
c5dc556a43
OP-1273 Uncrustify
2014-03-27 16:19:22 +01:00
Andres
8e26338f24
OP-1273 I2C Alarm reset to default when AirspeedSensorType is changed. Small cosmetic corrections
2014-03-27 09:32:17 +01:00
Cliff Geerdes
48345f0194
OP-1259 First tested version
2014-03-27 01:37:56 -04:00
Cliff Geerdes
45fa3220a5
Merge branch 'next' into theothercliff/OP-1259_Cruise_Control_Tweaks
2014-03-26 13:49:17 -04:00
Cliff Geerdes
81f31e64a9
OP-1259 WIP to merge next in locally
2014-03-26 13:48:24 -04:00
Cliff Geerdes
d38360b665
OP-1259 small code beautification
2014-03-26 13:35:04 -04:00
Cliff Geerdes
eaa58fd1dc
Merge branch 'theothercliff/OP-1260_Rattitude_Tweaks' into next
2014-03-26 12:22:17 -04:00
Andres
9d30673d18
OP-1273 attitude estimation uses airspeedSensor.TrueAirspeed when available (e.g. from MS4525DO; available when TrueAirspeed >=0 ) instead of using an altitude correction IAS2TAS(alt). When not available it falls back to IAS2TAS(alt)
2014-03-26 09:15:56 +01:00
Bertrand Oresve
199193aa3f
OP-1267 Fix UAV position after a HomeLocation Update (adding #define to be clearer)
2014-03-25 21:00:10 +01:00
Andrés Chavarría Krauser
4dff86dc9c
OP-1273 New files for the MS4525DO PixHawk speed sensor: PIOS files and module files
2014-03-25 10:37:10 +01:00
Andrés Chavarría Krauser
f8f53d8801
OP-1273 Adaptations to include MS4525DO PixHawk speed sensor
2014-03-25 09:18:25 +01:00
Cliff Geerdes
d36cfe28ed
OP-1260 finish renaming RattitudeModeTransition I don't know how it built before.
2014-03-23 19:04:17 -04:00
Cosimo Corrado
fc30ababf0
use fabsf instead abs
2014-03-23 22:07:09 +01:00
Cliff Geerdes
5ecea4bf33
OP-1260 fix misspelling of RattitudeModeTransition
2014-03-23 13:00:00 -04:00
Alessio Morale
abd7da20df
Merge branch 'amorale/OP-1026_cpu_idle' into next
2014-03-23 15:32:19 +01:00
Bertrand Oresve
10dec58a10
OP-1267 Fix UAV position after a HomeLocation Update
2014-03-23 12:56:01 +01:00
Bertrand Oresve
ea665d1270
OP-1272 Fix STM32F4 Watchdog in debug mode
2014-03-22 18:44:47 +01:00
Andrés Chavarría Krauser
4512798213
OP-1271 Added a length and NULL pointer check in go_starting() to manage zero length reads/writes
2014-03-22 12:52:49 +01:00
Cliff Geerdes
6d7d10caba
OP-1259 PowerDelayComp addtl inverted modes
2014-03-22 01:18:06 -04:00
Cliff Geerdes
820e8dfa3e
OP-1260 use predefined macro for size of Flight Mode Switch
2014-03-21 22:34:03 -04:00
Cosimo Corrado
739aefd53b
OP-1266 Fix checking for temperature compensation coeffs
2014-03-20 22:36:09 +01:00
Cliff Geerdes
945b60cf99
OP-1260 Fixed typo in a fairly important comment
2014-03-20 12:41:48 -04:00
Cliff Geerdes
1cb9d9548f
OP-1160 limit values in flight code (not just GCS) to avoid DZ. Set GCS tab index back to 0.
2014-03-17 22:40:19 -04:00
Cliff Geerdes
390533f2e3
OP-1160 Oops, forgot to remove #if 0's after testing
2014-03-14 02:14:02 -04:00
Cliff Geerdes
297b0d01cb
OP-1260 remove anti-windup, 2 PIDs, mode transition
2014-03-14 01:47:37 -04:00
Alessio Morale
8218becdac
uncrustify
2014-03-09 16:43:31 +01:00
Alessio Morale
0f2d65a8e4
Merge branch 'amorale/OP-974_make_bl_info_available_to_fw' into next
2014-03-09 16:17:34 +01:00
Alessio Morale
f9abb1d8c1
Merge branch 'amorale/OP-1232_eventsys_warn_on_high_telem_update_rate' into next
2014-03-09 16:14:03 +01:00
Alessio Morale
519d74ad1b
OP-1026 fix review issues
2014-03-09 16:08:27 +01:00
Alessio Morale
e407eb8126
Merge branch 'next' of git://git.openpilot.org/OpenPilot into next
2014-03-09 14:38:17 +01:00
Alessio Morale
0b30b79c98
Merge remote-tracking branch 'origin/amorale/OP-1149_gyro_accel_thermal_calibration' into next
...
Conflicts:
ground/openpilotgcs/src/libs/eigen/Eigen/src/Core/util/Memory.h
ground/openpilotgcs/src/plugins/config/revosensors.ui
ground/openpilotgcs/src/plugins/setupwizard/vehicleconfigurationhelper.cpp
2014-03-09 14:38:08 +01:00
Corvus Corax
0ece1a1fb3
OP-1216 removed "reverseThrottle" systemsetting and have reversethrottle implicitly allowed for REVERSABLEMOTOR type outputs
2014-03-09 10:00:58 +01:00
Corvus Corax
148b453aad
OP-1216 added new mixer output type "reversable motor" to have engines which can can backwards go to a safe level when disarmed
2014-03-09 01:37:22 +01:00
Corvus Corax
be9f4b958d
OP-1216 remove commented out define as review requested
2014-03-08 22:12:46 +01:00
Laurent Lalanne
aa7a8f62c7
OP-1241 TxPID Does not work for Bank 3 PID settings (Typo)
2014-03-07 22:04:14 +01:00
Philippe Renon
37a09bbd34
OP-1246 minor cleanups in flight uavtalk
2014-03-04 10:05:17 +01:00
Philippe Renon
7ab38eacb6
OP-1246 removed now uneeded FIXME tag in RadioComBridge
2014-03-04 10:02:43 +01:00
Philippe Renon
d37854dceb
OP-1246 fixed UAVTalkRelayPacket return type to match documentation
2014-03-04 10:01:13 +01:00
Philippe Renon
067cb6f098
OP-1246 made updating of RadioComBridgeStats thread safe
2014-03-04 09:56:42 +01:00
Philippe Renon
29198e17cf
OP-1246 fixed wrong logic for telemtryTxRetries and radioTxRetries : was wrongly accumulated
2014-03-04 09:51:45 +01:00
Philippe Renon
1e3e8a29a9
OP-1246 fixed clumsy error handling of UAVTalkSendObject calls from RadioComBridge
2014-03-04 09:49:34 +01:00
Philippe Renon
ef137a27b3
OP-1033 Added note where appropriate that changing USB buffer length will require changes to the USB buffer setup
2014-03-03 22:01:13 +01:00
Philippe Renon
4f42a1e950
OP-1033 added TODOs to validate that f1 USB end points configuration is consistent
2014-03-03 20:54:45 +01:00
Corvus Corax
dbbb8d5e0d
OP-1216 fixes as suggested in OPReview-645
2014-03-03 18:58:09 +01:00
Corvus Corax
2c99b008c6
OP-1216 some fixes to flightmode and arm state management, update GCS control widget to be able to test and debug new control infrastructure
2014-03-02 22:20:18 +01:00
Corvus Corax
12eed41e58
OP-1216 modified alarms for manualcontrol/receiver to reflect new architecture
2014-03-02 20:12:19 +01:00
Corvus Corax
564a991222
adjusted Stabilization stack size to get rid of stack alarm
2014-03-02 19:11:49 +01:00
Corvus Corax
2f57ea2ab3
added missing initializations to allow boot without manualcontrol module
2014-03-02 19:00:37 +01:00
Corvus Corax
f61231f610
OP-1216 moved safety zeroing for channels from Stabilization to Actuators (so it also affects manual mode)
2014-03-02 15:35:39 +01:00
Corvus Corax
3ea9042279
Merge branch 'next' into corvuscorax/OP-1216_flight-control-refurbishment
2014-03-02 14:54:01 +01:00
Philippe Renon
e9dc5fac9a
OP-1033 added more descriptive comment for usb end points (f1)
2014-03-02 14:51:34 +01:00
Philippe Renon
9a0f28d138
OP-1033 removed useless self inclusion of f4 usb_conf.h
2014-03-02 14:47:17 +01:00
Philippe Renon
b2168a4982
OP-1033 moved f1 specific usb include files to stm32f10x/inc directory
2014-03-02 14:46:01 +01:00
Corvus Corax
cdca8d835c
OP-1216 manualcontrol refactoring
2014-03-02 14:45:17 +01:00
Alessio Morale
7f6175d817
OP-1235 allows AccelBiasValue to quickly reach the target value at initialization
2014-02-23 13:05:20 +01:00
Alessio Morale
a2386f548b
OP-1235 allow for live update of altitude estimation settings
2014-02-23 13:05:20 +01:00
Alessio Morale
bc3636bbd6
OP-1235 gives better names to state variables
...
Conflicts:
flight/modules/StateEstimation/filteraltitude.c
2014-02-23 13:05:20 +01:00
Alessio Morale
2bcbf7dc86
OP-1026 remove legacy idle time calculation in OPLink code
2014-02-22 00:31:06 +01:00
Alessio Morale
3fc3b5b01b
OP-1026 replace idle time calculation with task monitor API
2014-02-22 00:30:03 +01:00
Alessio Morale
73d0b93829
OP-1026 Add a task monitor api to calculate idle percentage
2014-02-22 00:29:02 +01:00
Alessio Morale
3cf1662bc8
Merge remote-tracking branch 'origin/amorale/OP-1212_telemetry_prio_queue' into next
2014-02-21 19:16:52 +01:00
Alessio Morale
b879bd8fb4
OP-1232 set lowpriority field on all other UAVObjEvent usage intances
2014-02-18 01:04:43 +01:00
Alessio Morale
26f3422612
OP-1232 add a low priority flag that prevent raising the error counter in eventdispatcher, to be used for telemetry
2014-02-18 01:03:57 +01:00
Corvus Corax
e97ce303b8
Merge branch 'corvuscorax/OP-942_task-diagnostics-for-callbacks' into next
2014-02-18 00:03:07 +01:00
Alessio Morale
3044185019
Merge remote-tracking branch 'origin/amorale/OP-1218_pios_com_thread_safe' into rel-14.01
...
Conflicts:
flight/modules/RadioComBridge/RadioComBridge.c
2014-02-17 15:24:50 +01:00
Corvus Corax
0ebc92d9f5
Merge branch 'corvuscorax/OP-942_task-diagnostics-for-callbacks' into corvuscorax/OP-1216_flight-control-refurbishment
...
Conflicts:
flight/modules/AltitudeHold/altitudehold.c
2014-02-16 19:08:39 +01:00
Corvus Corax
7dd911efdb
OP-1217 change the way modules are enabled/disabled based on flightstatus
2014-02-16 19:07:31 +01:00
Corvus Corax
1898d0ad35
OP-1217 create new receiver module
...
This module includes all the receiver IO and parsing/failsafe
functionality of ManualControl, but does none of the interpretations in
regards to flight mode / actuator control or arming that was included in
the old ManualControl
In a second step the old ManualControl module needs to be adapted to do
only these ommitted things in a modular way - as a delayed callback
2014-02-16 15:09:08 +01:00
Corvus Corax
d6ede78fd7
dummy commit - renamed file back
2014-02-16 13:52:04 +01:00
Corvus Corax
227aab80b9
OP-1217 moved manualcontrol to receiver
2014-02-16 13:49:51 +01:00
Corvus Corax
f066bcb2d9
OP-942 changed enum term from HARMLESS to WARNING as requested
2014-02-16 12:50:40 +01:00
Corvus Corax
37ef381f8d
OP-1216 clamping of throttle to -1 in actuators (optional)
2014-02-16 12:27:01 +01:00
Corvus Corax
5f2ce2e0a1
Merge branch 'next' into corvuscorax/OP-1216_flight-control-refurbishment
2014-02-16 12:26:45 +01:00
Alessio Morale
da5ef3b3cc
OP-1218 Raise time PIOS_COM_SendBuffer waits to acquire sendbuffer semaphore
2014-02-15 22:05:56 +01:00
Alessio Morale
8cd5cfe2eb
OP-1218 format/consmetic/comments fixes
2014-02-15 22:05:56 +01:00
Alessio Morale
21b0049a68
OP-1218 fix missing "ret ="
2014-02-11 16:51:56 +01:00
Alessio Morale
15200eafd8
OP-974 add bootloader revision info in FirmwareIAP
2014-02-11 12:38:55 +01:00
Alessio Morale
1ba5dbaca8
uncrustify
2014-02-10 22:57:24 +01:00
Alessio Morale
fd92e2a497
Merge remote-tracking branch 'origin/amorale/OP-1218_pios_com_thread_safe' into rel-14.01
2014-02-10 20:52:15 +01:00
Alessio Morale
e16cf0ef8d
OP-1218 changes to RadioComBridge to support return code.
2014-02-09 19:57:16 +01:00
Alessio Morale
79b68ae886
OP-1218 locks SendBuffer under the same mutex as SendBufferNonBlocking
2014-02-09 19:57:05 +01:00
Corvus Corax
b5a27d05e7
OP-1197 configurable failsafes OP-1219 thrust control OP-1217 separate manualcontrolsettings apart
2014-02-09 19:37:22 +01:00
Alessio Morale
67117d228d
OP-1149 change POW2 as POW2(0) led to undefined results
2014-02-09 12:05:40 +01:00
Alessio Morale
1569881e94
OP-1149 Remove shifts as they can have bad behaviours for negative numbers.
...
Documents correction algorithms as described in ms5611 documentation
2014-02-09 12:05:32 +01:00
Alessio Morale
5fa390ec9d
OP-1149 fix low temperature compensation formula
2014-02-09 12:05:28 +01:00
Alessio Morale
90a7a3c2ec
OP-1149 change POW2 as POW2(0) led to undefined results
2014-02-09 12:03:36 +01:00
Alessio Morale
590c27af29
OP-1218 fix thread safety issue with pios_com PIOS_COM_SendBufferNonBlocking
...
(kudos @filnet for finding this)
2014-02-09 11:37:02 +01:00
Alessio Morale
7c6f585b80
OP-1149 Remove shifts as they can have bad behaviours for negative numbers.
...
Documents correction algorithms as described in ms5611 documentation
2014-02-08 15:29:14 +01:00
Alessio Morale
95b12c360f
OP-1149 fix low temperature compensation formula
2014-02-08 12:44:12 +01:00
Corvus Corax
c74790b823
OP-942 correct reporting of callback stack overflows
2014-02-07 22:57:31 +01:00
Corvus Corax
7ec21a8f36
OP-942 duplicated exact API of task_monitor to also monitor callbacks
...
This allows cleaner and fine grained handling of STACKOVERFLOW alarms
2014-02-07 22:39:16 +01:00
Alessio Morale
8bdadaaff2
OP-1212 better wait on priority queue than std queue
2014-02-07 20:01:02 +01:00
Alessio Morale
7a39d93952
OP-1212 handle priority queues for setUpdatePeriod and setLoggingPeriod
2014-02-07 18:36:33 +01:00
Corvus Corax
9a6072d58c
Merge branch 'next' into corvuscorax/OP-942_task-diagnostics-for-callbacks
...
Conflicts:
flight/targets/boards/simposix/firmware/Makefile
2014-02-07 00:31:32 +01:00
Corvus Corax
6566a29054
OP-942 reliable and fast free stack test algorithm - will always 'see' overflows
2014-02-06 23:54:30 +01:00
Corvus Corax
c7ada40c2e
Merge branch 'corvuscorax/OP-1211_time_measurement_helper' into rel-14.01
2014-02-06 19:56:47 +01:00
Corvus Corax
216ec095e4
OP-1211 removed unneeded define
2014-02-06 19:34:34 +01:00
Alessio Morale
df2bb8eb84
OP-1149 missing uncrustification
2014-02-06 00:57:57 +01:00
Alessio Morale
5bb5b34447
OP-1149: second order correction for all gyro axis. Add calibrated range contraint for temperature.
...
cleanup replacing all the arrays of floats[] with corresponding AccelGyroSettings* structs.
2014-02-06 00:57:27 +01:00
Alessio Morale
c9f9faafd5
OP-1149: all gyro have second order temp bias polynomials. remove unneeded copies of AccelGyroSettings values
2014-02-06 00:52:44 +01:00
Alessio Morale
13f1f3f23a
OP-1212 Add "priority" attribute to uavojects that grant them higher priority when sent with telemetry
2014-02-04 21:03:42 +01:00
Alessio Morale
01822d7a0c
OP-1212 Fix priority queue handling and use it for setting processing
2014-02-04 20:49:36 +01:00
Corvus Corax
28be9cc8ce
OP-1211 adapted existing code to use new pios functionality instead of separate error prone implementations
2014-02-04 19:48:33 +01:00
Corvus Corax
a3bb523bf3
OP-1211 adjusted alpha value to more sensible default
2014-02-04 19:21:33 +01:00
Corvus Corax
723e22aa1a
OP-1211 time_measurement_helper
2014-02-04 19:05:17 +01:00
Corvus Corax
cc04b780c5
OP-942 one possible but not well working implementation of stack end check
2014-02-04 17:53:51 +01:00
Alessio Morale
eea194d22f
OP-1149: fix type for accel bias.
2014-02-03 20:30:10 +01:00
Corvus Corax
418f7e3d0f
OP-942 task diagnostics for callback scheduler
2014-02-03 01:00:07 +01:00
Corvus Corax
49a1c4c28f
OP-942 refactored callback scheduler to fit into PiOS naming scheme
2014-02-02 22:08:16 +01:00
Corvus Corax
5b9a17f630
OP-942 moved DelayedCallbackScheduler into pios/common
2014-02-02 20:31:37 +01:00
Corvus Corax
b076ba02a1
OP-942 API change to CallbackScheduler - include unique ID for each callback for a taskinfo like UAVObject
2014-02-02 19:54:17 +01:00
Alessio Morale
27c19d7cb1
OP-1149/OP-1150: uncrustify/Cleanup
2014-02-02 18:53:35 +01:00
Alessio Morale
e599b01806
OP-1149: Fix calibraton settings not loaded at startup.
2014-02-02 18:50:53 +01:00
Corvus Corax
8b25ac1894
OP-1195 adapted task priorities for manualcontrol and stabilization
2014-02-02 14:13:25 +01:00
Corvus Corax
597ac4db2a
OP-1195 increase priority for pios radio link driver task
2014-02-02 14:09:50 +01:00
Alessio Morale
68d676db64
OP-1149: limit accel/gyro correction to calibrated temperature range.
2014-01-31 21:01:09 +01:00
Alessio Morale
f1bea0556d
OP-1149: limit baro correction to calibrated temperature range.
2014-01-28 23:08:28 +01:00
Alessio Morale
9c1c556c9c
Merge branch 'amorale/OP-1139_baro_2nd_order_compensation' into amorale/OP-1149_gyro_accel_thermal_calibration
2014-01-26 22:54:57 +01:00
Corvus Corax
ee452c8d4d
OP-1192 Do not allow craft to be armed if input is incorrectly calibrated (and throttle cant go < 0 )
2014-01-23 21:36:45 +01:00
Alessio Morale
02c7084196
Merge remote-tracking branch 'origin/next' into amorale/OP-1149_gyro_accel_thermal_calibration
...
Conflicts:
ground/openpilotgcs/src/plugins/uavobjects/uavobjects.pro
2014-01-23 01:02:13 +01:00
Alessio Morale
99e9009c14
Merge branch 'amorale/OP-1188_stabilization_stack_optimization' into rel-14.01
2014-01-22 20:27:25 +01:00
Alessio Morale
3ef980aa89
OP-1188 fix stack for coptercontrol
2014-01-22 00:01:58 +01:00
Alessio Morale
c1f810f1ce
OP-1188 fix an issue that is preventing bank initialization at startup
2014-01-22 00:01:38 +01:00
Alessio Morale
f9ac3a3de2
OP-1188 Optimize stack utilization for multipid bank selection in Stabilization module
...
+review OPReview
2014-01-21 22:44:26 +01:00
Corvus Corax
6d855fbaf0
OP-1177 remove cc algorithm from altitude hold code
2014-01-21 20:21:38 +01:00
Alessio Morale
7188394e39
Uncrustification
2014-01-19 12:37:25 +01:00
Alessio Morale
1b0c301c20
OP-1152 Fix stabilization stack size on Revo.
2014-01-18 17:59:56 +01:00
Alessio Morale
745a9e8853
Merge remote-tracking branch 'origin/fnurgel/OP-1148_r7008sb_sbus_protocol_fix' into next
2014-01-18 14:21:57 +01:00
Alessio Morale
1f61676d0a
Merge branch 'amorale/OP-1152_stack_verification' into next
...
Conflicts:
flight/targets/boards/coptercontrol/firmware/inc/pios_config.h
2014-01-18 13:54:06 +01:00
Cliff Geerdes
02dfac7e6e
OP-1167 set default for FSM switch to first position
2014-01-17 23:52:16 -05:00
Corvus Corax
91d5a865da
uncrustification
2014-01-18 00:32:50 +01:00
m_thread
234626444e
Merge remote-tracking branch 'origin/next' into thread/OP-1154_Cruise_Control_automatically_increase_copter_throttle_per
2014-01-17 13:16:15 +01:00
Cliff Geerdes
bfb5a248a0
OP-1154 enables for individual flight mode switch positions
2014-01-16 16:51:19 -05:00
Corvus Corax
41202a0227
Merge branch 'corvuscorax/OP-1022_AH_improvements_amorale' into next
2014-01-15 22:47:42 +01:00
Les Newell
2b32c5ebc3
Merged theothercliff/OP-1154_Cruise_Control_automatically_increase_copter_throttle_per_1/cos(bank_angle)
...
Changed pid banks to use flight mode switch position instead of FlightStatus.FlightMode
2014-01-15 19:37:13 +00:00
Les Newell
f096d01e3c
Merge branch 'next' into LesNewell/OP-984_PID_banks_flightmode
2014-01-15 19:17:06 +00:00
Philippe Renon
694747cd27
Merge remote-tracking branch 'origin/next' into filnet/OP-1122_gcs_waypoint_editor_stabilization
...
Conflicts:
ground/openpilotgcs/src/plugins/uavobjectwidgetutils/configtaskwidget.cpp
2014-01-15 20:12:08 +01:00
Philippe Renon
3f66d656ca
OP-1122 OP-1158 - renamed uavobject FlightPlan to PathPlan
2014-01-15 20:04:54 +01:00
Cliff Geerdes
e6490c0cea
OP-1154 Add FlightModeSwitchPosition to ManualControlCommand
2014-01-15 13:53:14 -05:00
Corvus Corax
9997f14d68
Merge remote-tracking branch 'origin/next' into corvuscorax/OP-1022_AH_improvements_amorale
2014-01-15 18:45:09 +01:00
Corvus Corax
92beb54e2d
OP-1022 some small cosmetic fixes for AltitudeHold as suggested by Alessio
2014-01-15 18:43:47 +01:00
Philippe Renon
d43b220dc0
OP-1122 uncrustified gcs and flight
2014-01-14 22:46:01 +01:00
Fredrik Arvidsson
48984a25fd
OP-984 fixed corrupt file.
2014-01-14 21:23:43 +01:00
Corvus Corax
3b635693a5
OP-1161 changed the way magnetometer-errors are handled - and defaults
...
* ekf will ignore magnetometer errors for initialization
(errors might be caused by not yet existing attitude estimation)
* defaults changed for filtering
* magnetometer sensor will be available for all filters, alarms need to
be checked separately
2014-01-14 21:09:14 +01:00
Philippe Renon
1fca85784c
OP-1122 OP-1145 added more path plan checks :
...
- empty plan (i.e. no waypoints defined)
- out of range waypoint and path action ids
+review OPReview-609
2014-01-14 21:08:40 +01:00
Philippe Renon
8ccdb252d1
OP-1122 OP-1145 commented out PIOS_DEBUGLOG_Printf calls in pathplanner
...
+review OPReview-609
2014-01-14 21:08:35 +01:00
Philippe Renon
96588ab13e
OP-1122 OP-1145 fixed logging helper as per review
...
+review OPReview-604
2014-01-14 21:05:27 +01:00
Philippe Renon
7f2c24db2b
OP-1122 OP-1158 - renamed uavobject FlightPlan to PathPlan
...
+review OPReview-609
2014-01-14 21:05:16 +01:00
Les Newell
a6a84a9ef1
Merge branch 'next' into LesNewell/OP-984_PID_banks
...
Conflicts:
flight/modules/Stabilization/stabilization.c
2014-01-14 19:08:32 +00:00
Les Newell
3b0525c4ab
OP-984 Uncrustified
2014-01-14 19:03:42 +00:00
Corvus Corax
75b1a7ff5f
OP-1161 moved mag validity check function from sensors to state estimation
2014-01-14 16:45:44 +01:00
Corvus Corax
c180846ca9
OP-1161 discard magnetometer in filters if plausibility alarm is set
2014-01-14 16:45:21 +01:00
Corvus Corax
3d1cc31c3b
OP-1161 Add alarm for magnetometer plausibility check
2014-01-14 12:22:01 +01:00
Corvus Corax
07d5c8e4d2
OP-1022 fixed the config plugin widget to represent new simpler settings layout
2014-01-14 00:26:27 +01:00
Corvus Corax
76ee48bc44
OP-1122 safer sanity checks and arming prevention in case of invalid flight plan
2014-01-12 21:37:40 +01:00
Corvus Corax
3d5e27f5f2
OP-1122 fixed simposix so it will compile with new objects
2014-01-12 21:06:41 +01:00
Corvus Corax
cb9e76b006
OP-1122 add flightplan safety check to pathplanner - failsafe rth when flightmode is set to pathplan but no valid plan is uploaded
2014-01-12 21:05:54 +01:00
Corvus Corax
b8118f51e7
OP-1156 Made PathPlanner work with delayed callbacks in "navigation" callback task
...
Conflicts:
flight/modules/PathPlanner/pathplanner.c
2014-01-12 20:13:48 +01:00
Corvus Corax
2ce0cb7909
reverted changes to fixedwingpathfollower - wrong module
2014-01-12 20:13:00 +01:00
Philippe Renon
a64720a9f1
OP-1122 OP-1158 added flight plan CRC consistency checks (in GCS and fixedwingpathfollower module)
...
- need to do the same in vtolpathfollower module)
- addressed an issue that could cause unwanted waypoints to be used (path follower was looping over all instanciated wp)
2014-01-12 19:42:12 +01:00
Philippe Renon
ff8a001a51
Merge remote-tracking branch 'origin/next' into filnet/OP-1122_gcs_waypoint_editor_stabilization
...
Conflicts:
ground/openpilotgcs/src/plugins/config/configpipxtremewidget.cpp
ground/openpilotgcs/src/plugins/uavobjectutil/uavobjectutilmanager.cpp
2014-01-12 16:29:17 +01:00
Philippe Renon
aa24f2193a
OP-1122 OP-1158 renamed FlightPlanInfo uavobject to FlightPlan
2014-01-12 15:23:21 +01:00
Philippe Renon
c8a81f88a4
OP-1122 OP-1158 added facility to update a CRC with uavobject data (flight side)
2014-01-12 15:12:41 +01:00
Philippe Renon
d8d9adb1fd
OP-1122 OP-1158 remove unused flightplan.h (fixes conflict with new FlightPlan uavobject)
2014-01-12 15:10:15 +01:00
Cliff Geerdes
ccc09721cd
OP-1154 Initial version with UAVO's but no GCS GUI
2014-01-11 16:22:20 -05:00
Corvus Corax
77d15b9566
Merge branch 'next' into corvuscorax/OP-1022_AH_improvements_amorale
2014-01-11 10:57:31 +01:00
Corvus Corax
f2bc6508c4
uncrustify --- somone forgot to run uncrustify when merging to next -
...
again!!! ;)
2014-01-11 10:55:50 +01:00
Corvus Corax
ca607ad924
OP-1022 overhaul of altitudehold and manualcontrol - cleanup,
...
reimplemented safe throttle cutoff and altitudevario features
2014-01-11 10:51:47 +01:00
Corvus Corax
4c078f3dd8
Merge branch 'next' into corvuscorax/OP-1022_AH_improvements_amorale
2014-01-11 09:40:34 +01:00
Les Newell
2e030419ca
OP-984 Fixed bad merge of stabilization.c
2014-01-10 22:16:50 +00:00
Les Newell
49cf33ee59
Merge branch 'next' into LesNewell/OP-984_PID_banks
...
Conflicts:
flight/modules/Stabilization/stabilization.c
2014-01-10 19:32:44 +00:00
Les Newell
8eb2eefec7
Merge branch 'LesNewell/OP-984_PID_banks' into next
2014-01-10 15:24:28 +00:00
Philippe Renon
bcb59a3dca
OP-1122 OP-1120 Added missing FligthPlanInfo uavobject to revoproto/firmware/UAVObjects.inc
2014-01-09 21:46:50 +01:00
Philippe Renon
8c7792b6e5
OP-1122 OP-1120 Added a new FligthPlanInfo uavobject
...
- FligthPlanInfo contains the number of waypoints and action pathes
- FligthPlanInfo contains a CRC of all waypoints and action pathes
- The CRC is not yet implemented
- These informations will be used to check the consistency of a flight plan
2014-01-09 01:06:00 +01:00
Philippe Renon
03b3dca76c
OP-1122 OP-1145 flight telemetry improvement
...
- create periodic queue events only for periodically updated uavobjects
- made error handling more robust
- added a FIXME concerning FlighTelemetryStats as it is updated peridocally using two separate mechanisms
2014-01-06 21:48:34 +01:00
Philippe Renon
fe4fe46e34
OP-1122 OP-1145 flight uavtalk minor typo fix and minor error handling improvment
2014-01-06 21:45:01 +01:00
Philippe Renon
772c395e67
OP-1122 OP-1145 fixed handling of ground messages done by OPLM
...
- OPLM used to receive and relay all messages
- OPLM will now reveice only specific messages and relay others as required (needs to be reviewed...)
- add RadioComBridgeStats uavobject to collect and report tx/rx statistics
- made error handling more robust
- added a few FIXMEs
2014-01-06 21:35:00 +01:00
Alessio Morale
adde6b2f34
OP-1153 Fix for simposix
2014-01-05 23:32:20 +01:00
Alessio Morale
fff060ed9d
OP-1153 Add a way to monitor SystemMod stack usage without DIAG_TASKS=y
...
SystemStats.SystemModStackRemaining field does contains the relevant information.
2014-01-05 23:28:31 +01:00
Alessio Morale
3aa7a1d352
OP-1152 change stack size to accomodate recent changes in dispatcher, telemetry for former CC (hw rev 1)
...
+review OPReview
2014-01-05 23:13:06 +01:00
Cliff Geerdes
a48b9cc242
OP-1117 reduced CPU for CC/3D coded log2f() / powf()
2014-01-04 04:22:54 -05:00
Mikael Blomqvist
b1d2c1b83e
Adding R7008SB end byte as a possible end of frame check for S.Bus
2014-01-03 18:25:44 +01:00
Cliff Geerdes
54ac7da2e8
OP-1117 bugfix for refactoring, would keep Ki from working at full stick
2014-01-02 00:56:55 -05:00
Alessio Morale
bd1442437f
OP-1139: fix wrong sign for bias and some optimizations
...
+review OPReview-598
2014-01-01 19:13:26 +01:00
Corvus Corax
f5dbe29896
Merge remote-tracking branch 'origin/amorale/OP-1139_baro_2nd_order_compensation' into corvuscorax/OP-1022_AH_improvements_amorale
2013-12-31 16:38:15 +01:00
Philippe Renon
fca840397e
Merge remote-tracking branch 'origin/next' into filnet/OP-1122_gcs_waypoint_editor_stabilization
2013-12-30 22:18:52 +01:00
Corvus Corax
1cb402ff22
bugfix to eventdispatcher to fix uavtalk issue on coptercontrol
2013-12-30 01:42:46 +01:00
Corvus Corax
b786cec832
bugfix to eventdispatcher to fix uavtalk issue on coptercontrol
2013-12-30 01:40:27 +01:00
Corvus Corax
cefcb9881a
Altitude Hold - compensation for tilt
2013-12-29 19:09:54 +01:00
Alessio Morale
e04cef2fa4
OP-1149 Uncrustify
2013-12-29 18:45:44 +01:00
Alessio Morale
ac3d7b8d11
OP-1149 Implements thermal accel/gyro bias correction for CC3D
2013-12-29 14:23:46 +01:00
Alessio Morale
260db3446c
OP-1149 changes in CC/CC3D code to use AccelGyroSettings for bias/scale instead of AttitudeSettings.
...
Bias units of measure are now normalized between CC/CC3D/Revo.
2013-12-29 14:08:53 +01:00
Corvus Corax
505d334c4b
simplified altitude hold control loop
2013-12-27 18:37:27 +01:00
Corvus Corax
1cccd152bd
added AltitudeHold to simposix
2013-12-27 16:50:30 +01:00
Alessio Morale
7ac2f9f87f
OP-1149 Move accel/gyro calibration setting to a separate object, to be reused also for CC3D
2013-12-26 16:55:57 +01:00
Alessio Morale
558e2e1437
OP-1149 introduce a first order temperature calibration for gyro and accel.
...
gyro Z is instead using a 2nd degree polinomial for better accuracy as
its drift is harder to be corrected as with the other twos.
2013-12-25 18:11:53 +01:00
Cliff Geerdes
14aa1f83de
OP-1117 make anti windup insensitive to Ki changes, include dT in calcs, linearize config spinner
2013-12-19 03:21:30 -05:00
Philippe Renon
5f33fadb1b
OP-1122 OP-1145 flight side uavtalk and telemetry enhancements
...
- added more stats (bytes, sync errors, crc errors)
- made error handling more robust
- added some optional PIOS_DEBUGLOG calls
- fixed a timestamp handling bug
2013-12-19 00:17:08 +01:00
Cliff Geerdes
56b4d8647f
OP-1117 Rename Horizon to Rattitude, Anti Windup and dT additions
2013-12-18 05:01:16 -05:00
Philippe Renon
c2e8d25319
OP-1145 made MetaObjectId define publicly available
2013-12-18 08:52:52 +01:00
Cliff Geerdes
35f6caa360
OP-1117 create a second set of rate PIDs so MWH can run rate and attitude separately
2013-12-16 13:42:24 -05:00
Cliff Geerdes
150dbebc63
OP-1117 MultiWiiHorizon flight mode only (not cliffs H1 or H2)
2013-12-15 22:02:06 -05:00
Philippe Renon
d668153b6d
OP-1122 OP-1125 fixed copy/paste error in rfm22b flight code
2013-12-14 16:03:42 +01:00
Philippe Renon
2d1a17e267
OP-1122 OP-1125 minor uavtalk cleanups
...
- removed some magic numbers
- improved some error messages
- minor error handling improvments
2013-12-14 16:02:14 +01:00
Alessio Morale
f95a86eaed
OP-1139: missing uncrustification
2013-12-13 17:10:39 +01:00
Alessio Morale
29df9d6dad
OP-1139: Add some more descriptive names and comments for compensation variables
2013-12-13 17:10:11 +01:00
Les Newell
faa1b61bf6
OP-984 txpid not using the selected pid bank
2013-12-12 12:11:00 +00:00
Philippe Renon
625d7d53fc
OP-1122 OP-1125 reworked uavtalk encoding/decoding to fix issues found during OPLM testing
...
Packet sizes are now again properly calculated and sent by GCS
Made the ground and flight side more symmetric and robust
Fixed few error handling issues
Replaced UAVTALK_QXTLOG_DEBUG define with qWarning() calls
Known issue : GCS sometimes reports bad CRC on messages received over USB connection
2013-12-12 00:05:58 +01:00
Philippe Renon
ff14b8d28c
OP-1122 OP-1125 renamed method autoUpdated to instanceAutoUpdated
...
also fixed some method help comments
2013-12-11 22:24:38 +01:00
Les Newell
0afe6afd11
OP-984 Fixed insufficient stack for stabilization
2013-12-11 19:24:13 +00:00
Les Newell
024d74c0df
OP-984 stabilization.c - commented out code that mirrors change to the current bank data object back to the selected bank. This is left in just in case later modules want to be able to modify the currently selected bank.
2013-12-11 17:09:17 +00:00
Les Newell
63ecf6ad73
OP-984 txpid can now select which bank it operates on, rather than using the flight mode selected bank.
2013-12-11 17:09:12 +00:00
Les Newell
68b8586c6b
OP-984 Changed stabilization.c to handle multiple pid bank objects
2013-12-11 17:09:08 +00:00
Les Newell
641cf474eb
OP-984 Fixed missing include in manualcontrol.c
2013-12-11 17:09:04 +00:00
Les Newell
b7cfc503ea
OP-984 Updated makefiles and inc files for multiple pid bank objects
2013-12-11 17:09:00 +00:00
Les Newell
084e3ccd5d
OP-984 Modified manualcontrol to handle pid bank
2013-12-11 17:08:47 +00:00
Les Newell
d625242a45
OP-984 Updated vtolpathfollower to handle PID banks
2013-12-11 17:08:39 +00:00
Les Newell
e4bcd87ddd
OP-984 Added stabilizationbank to inc files
2013-12-11 17:08:35 +00:00
Les Newell
b550e67056
OP-984 Updated txpid to handle pid banks
2013-12-11 17:08:31 +00:00
Les Newell
f523ba949d
OP-984 Modified manualcontrol to use PID bank data object
2013-12-11 17:08:27 +00:00
Les Newell
fddf61377e
OP-984 More changes to stabilization.c for bank switching
2013-12-11 17:08:22 +00:00
Les Newell
114c0ac561
OP-984 Added multiple banks code to stabilization.c
2013-12-11 17:08:18 +00:00
Les Newell
ec713be3ea
OP-984 Added data UAV object for current stabilization bank
2013-12-11 17:08:10 +00:00
Alessio Morale
44269b6762
OP-1139: export corrected pressure value to uavobject
2013-12-10 02:02:30 +01:00
Alessio Morale
634ba79dcb
OP-1141: allow to input a barometer bias model.
...
It uses a 3rd degree polynomial to model pressure bias as a function of temperature.
2013-12-10 01:46:28 +01:00
Alessio Morale
13b45b2b78
OP.1139: uncrustify
2013-12-10 01:44:13 +01:00
Alessio Morale
75842cb648
OP-1139: perform second order low temperature compensation.
...
It follows the procedure described in MS5611 datasheet(http://www.meas-spec.com/downloads/MS5611-01BA03.pdf , page 8)
to perform low(20°) and very low(-15°C) temperature compensation.
2013-12-10 01:21:05 +01:00
Philippe Renon
617924e64d
Merge remote-tracking branch 'origin/next' into filnet/OP-1122_gcs_waypoint_editor_stabilization
...
Conflicts:
flight/uavobjects/uavobjectmanager.c
ground/openpilotgcs/src/plugins/uavtalk/telemetrymanager.cpp
ground/openpilotgcs/src/plugins/uavtalk/uavtalk.pro
shared/uavobjectdefinition/pathaction.xml
shared/uavobjectdefinition/waypoint.xml
2013-12-08 14:58:01 +01:00
Philippe Renon
95b5f38556
OP-1122 OP-1125 flight side UAVObjectManager was wrongly emitting EV_UPDATED_MANUAL events when new uavobject instances were created. Now properly emits EV_UPDATED.
2013-12-08 14:34:11 +01:00
Corvus Corax
95d52c6b08
fixed signs in control loop
2013-12-08 14:00:18 +01:00
Corvus Corax
84af4b7651
fixes to barofilter
2013-12-08 14:00:09 +01:00
Corvus Corax
66b0ffd682
small fix to baro state filter - more init cycles
2013-12-08 13:35:00 +01:00
Corvus Corax
5cc8dedadf
uncrustify changed things
2013-12-08 13:07:26 +01:00
Corvus Corax
3cea14a809
added missing object, added more debug output
2013-12-08 13:06:28 +01:00
Corvus Corax
4ad0e730da
added status uavobject for easier debugging
2013-12-08 12:23:16 +01:00
Corvus Corax
90f689cfa1
throttle does not accelerate downwards but upwards - switched sign
2013-12-08 10:44:17 +01:00
Corvus Corax
981fc4321d
removed requirement for non existing task
2013-12-08 10:32:24 +01:00
Corvus Corax
8832ea24f5
proper uncrustification
2013-12-07 23:31:26 +01:00
Corvus Corax
623c25aa99
new design of altitude hold - warning not tested yet!
2013-12-07 23:16:22 +01:00
Corvus Corax
a4d53c18ac
got rid of altholdsmoothed uavobject
2013-12-07 20:14:02 +01:00
Corvus Corax
ff5927bc43
some changes to altitudehold, hope i get that done today...
2013-12-07 17:28:01 +01:00
Corvus Corax
3e1b0fd114
Merge branch 'next' into corvuscorax/OP-1022_AH_improvements_amorale
2013-12-07 16:33:57 +01:00
Philippe Renon
4f9231e247
OP-1122 OP-1125 fixed regression in flight side uavtalk introduced in a recent commit
2013-12-04 20:54:07 +01:00
Philippe Renon
ab89d6a491
OP-1122 OP-1125 fixed defect raised in OPReview-593 : two occurences of connection->respObj clearing were removed when they should not have been removed
2013-12-01 21:44:14 +01:00
Philippe Renon
0dc334adea
OP-1122 OP-1133 exposed send/request all instances of multi instance uav objects and made related uavtalk fixes
2013-12-01 19:25:44 +01:00
Corvus Corax
9c6abef89b
fixed enabled and disabled messages for logging in all cases
2013-12-01 00:03:24 +01:00
Philippe Renon
390c88b92a
OP-1122 OP-1125 uavtalk - object request messages are now acked only by object messages and acked object messages are acked only by ack messages
2013-11-29 02:51:46 +01:00
Philippe Renon
15c4392ed5
OP-1122 OP-1125 uavtalk - more OPReview-593 related cleanups
2013-11-29 01:21:45 +01:00