Les Newell
3b0525c4ab
OP-984 Uncrustified
2014-01-14 19:03:42 +00: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
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
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
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
Philippe Renon
50a0a4f512
OP-1122 OP-1125 uavtalk - minor OPReview-593 related cleanups
2013-11-28 23:42:08 +01:00
Philippe Renon
2f0974fda9
OP-1122 OP-1125 uavtalk - fixed a number of issues concerning acked multi instance messages :
...
- all messages now systematically include an instance ID (fixes parsing of messages containing unknown object)
- added missing NACK of object request on fight side
- added more logging and warnings
- misc fixes and cleanups
this commit affects both the firmware and GCS (need to flash new version of firmware)
2013-11-28 01:14:29 +01:00
Corvus Corax
25fd3d5740
Just uncrustification
2013-11-26 00:43:02 +01:00
Fredrik Arvidsson
2fc34910e0
OP-1119 Fix in pios function for debuglogging uavo.
2013-11-26 00:36:59 +01:00
Corvus Corax
be9faabe92
Merge branch 'next' into corvuscorax/onboardlogging
2013-11-26 00:34:01 +01:00
Alessio Morale
bacc4d3d79
Merge branch 'master' into next
...
Conflicts:
flight/targets/boards/oplinkmini/firmware/pios_board.c
ground/openpilotgcs/copydata.pro
2013-11-25 01:12:10 +01:00
Corvus Corax
1c83d3ee28
BUGFIX to OpLinkMini: oplinkmod needs to initialize the Callback Scheduler
...
OPLMini does not use Systemmod but its own system module called
oplinkmod - which did not initialize the callback scheduler. Making the
event dispatcher a callback caused it to no longer run due to the
missing callback scheduler initialization
2013-11-24 21:24:55 +01:00
Corvus Corax
18ad56d4ed
removed identical files from pios/posix (use files from common instead)
2013-11-24 15:40:32 +01:00
Corvus Corax
89afbde58a
initialized log packages with 0xff instead of 0x0 to reduce flash wear
2013-11-24 15:36:26 +01:00
Corvus Corax
32b5ff22cf
cleanup defect in OP-Review-586
2013-11-24 15:27:33 +01:00