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
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
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
Philippe Renon
1469277f96
OP-1122 OP-1125 removed dead code from fw uavtalk (first fw commit ;)
2013-11-23 14:59:24 +01:00
Corvus Corax
77b7ba3089
Added new setting 'OnlyWhenArmed' to debuglogsettings
2013-11-19 19:29:24 +01:00
Corvus Corax
d235a24e23
Merge branch 'next' into corvuscorax/onboardlogging
2013-11-19 18:49:58 +01:00
Corvus Corax
7a6c0b61e8
Merge branch 'next' into corvuscorax/callbackeventdispatcher2
2013-11-19 18:36:20 +01:00
Corvus Corax
9414f3513f
adapted telemetry stack sizes for flight firmware to include more space needed for logging feature
2013-11-17 22:39:39 +01:00
Corvus Corax
951c7bfea0
removed redundant code from Telemetry
2013-11-17 22:20:19 +01:00
Corvus Corax
0e502d3734
Modified queue creation for telemetry and logging
...
event queues are now created for all uavobjects for both telemetry and
logging, so later modifications from manual to periodic are possible
2013-11-17 22:10:03 +01:00
Corvus Corax
c6031ed963
fixed usr flash system definition
2013-11-17 21:03:08 +01:00
Corvus Corax
c7431623af
changed hardware definition for revolution to have usr space in just one arena
...
(no flash garbage collection since used primarily for logging where there are no deletes)
2013-11-17 20:43:53 +01:00
Corvus Corax
fcc479f5cb
more intelligent log interfacing, including flash formatting option
2013-11-17 20:14:50 +01:00
Corvus Corax
3d8625abaf
Enabled logging on revolution (added module and uavobjects)
2013-11-17 18:50:51 +01:00
Corvus Corax
9dbac5d060
Enabled printf-stdarg on all targets, implemented vsnprintf() (needed for logging)
2013-11-17 18:49:50 +01:00
Corvus Corax
6031200aea
Some fixes in debuglog to compile and run on all firmware platforms
2013-11-17 18:04:47 +01:00
Corvus Corax
243e261411
UAVObject logging through telemetry module and uavobjectmanager
2013-11-17 17:15:23 +01:00
Corvus Corax
d9a9536b61
modified uavobjectmanager to have accessor functions for the new flags
2013-11-17 14:53:08 +01:00
Corvus Corax
354ca88cd6
Updated UAVObject metadata to include correct flags needed for on board logging
2013-11-17 14:00:42 +01:00
Corvus Corax
a0746d87fa
Logging facility: logs debug data to logfs and exports it through container UAVObject
2013-11-17 02:54:26 +01:00
Corvus Corax
adfbdfae38
Make use of (now supported) standard snprintf in stdarg-printf when used in logfs
2013-11-17 02:49:53 +01:00
Corvus Corax
320bbcf434
Made printf-stdarg check maximum string length limit (supports snprintf now)
2013-11-17 02:47:58 +01:00
Corvus Corax
314d526e94
corrected instance id encoding in filename to not conflict with metadata uavobject ids
2013-11-16 18:55:54 +01:00
Corvus Corax
00321b09dc
Modified uavobjectmanager to only use logfs calls for UAVObject flash transactions, abstracted dosfs calls to use logfs wrapper class for simpiosix and SD-card access
2013-11-16 17:30:40 +01:00
Alessio Morale
b003109eea
OP-1104: Update BL to version 6, raise to 0xA0000 so 640Kbyte program size.
...
+review OPReview
#resolve
2013-11-05 19:07:36 +01:00
Corvus Corax
b3ebb91ceb
uncrustification
2013-10-19 21:59:07 +02:00
Corvus Corax
86aa993d24
changed port increment tick function for new freertos
2013-10-18 23:07:23 +02:00
mathieu
fb1f58c94b
Merge branch 'next' into Mathieu/OP-1079_Update_to_FreeRTOS_v7_5_2
2013-09-11 18:57:37 -07:00
Alessio Morale
c0cfd3dffe
Merge branch 'amorale/OP-1058_uavo_named_accessors' into next
2013-09-10 21:20:12 +02:00
Alessio Morale
db7ea48675
Merge remote-tracking branch 'origin/cyr/OP-1076' into next
2013-09-10 20:26:53 +02:00
Mathieu Rondonneau
03b243fe31
OP-1079 - Update to FreeRTOS v7.5.2
2013-09-04 20:26:23 -07:00
Alessio Morale
0db9a9bf8d
OP-1058 Add xxxGet and xxxSet functions to handle multielement fields as struct
...
for example:
EKFStateVariancePSet(EKFStateVariancePData *NewP);
EKFStateVariancePGet(EKFStateVariancePData *NewP);
Also in this case array accessors are renamed as xxxArrayGet/Set:
EKFStateVariancePArraySet(float *NewP);
EKFStateVariancePArrayGet(float *NewP);
Nothing changes for anonymous items as default functions continues to deal with arrays
+review OPReview-552
2013-09-01 13:23:20 +02:00
Alessio Morale
e91bc28667
OP-1058 Get rid of Unions.
...
They caused stack usage increase with -fstrict-aliasing as stack slots are not reused when dealing with unions.
It has now been added the cast_struct_to_array macro in pios_struct_helper.h to handle such case where it is useful to access those homogeneous structs as arrays
+review OPReview-552
2013-09-01 12:10:55 +02:00
Alessio Morale
11b269f898
Merge remote-tracking branch 'origin/next' into amorale/OP-1058_uavo_named_accessors
2013-08-31 16:03:30 +02:00
Mathieu Rondonneau
e973740b8b
OP-1067 run uncrustify
2013-08-28 19:47:44 -07:00
Mathieu Rondonneau
fc6d544476
OP-1067 Force oplonk to report disabled if rfm22b is not initialized.
2013-08-28 19:45:50 -07:00
Erik Gustavsson
e39c3f897e
Use xTaskGetTickCount() to time long intervals rather than PIOS_DELAY_GetRaw(), because of wrap-around issues.
2013-08-26 19:14:47 +02:00
David
1a27b473d5
New CDC driver revsion
2013-08-17 04:04:22 +10:00
Corvus Corax
0db395b4a2
uncrustify
2013-08-11 15:33:59 +02:00
Corvus Corax
0f31368c64
Merge branch 'corvuscorax/OP-1036_fixed-wing-improvements' into next
2013-08-11 15:13:23 +02:00
Corvus Corax
0724fca32a
refactored pid_apply_scaled back into pid_apply (rename only)
2013-08-11 15:12:17 +02:00
Mathieu Rondonneau
114e353acb
OP-1067 Invalid value for "LinkState"
...
Do not retrieve status from rfm22b if not initialized.
2013-08-09 20:14:13 -07:00
Mathieu Rondonneau
40b0682048
OP-667: This is not an issue since the 2 callers already check for NULL pointer but for consistency, this should be done in the function itself.
2013-08-03 09:39:44 -07:00
Brian Webb
5ac1f33c47
Adds missing pios_gpio_priv.h
2013-08-02 22:01:44 -07:00
Brian Webb
831aa2e213
Merge remote-tracking branch 'origin/next' into brian/GPIO_update
2013-08-02 17:45:06 -07:00
Alessio Morale
99dbecdd7d
Merge remote-tracking branch 'origin/brian/OP-1050_Fix_OPLink_Erase_Settings' into rel-13.06.03
2013-08-01 21:28:37 +02:00
Alessio Morale
8dd3c45ccf
OP-1058 change some missing occurrencies to .field.XXX notation
...
+review OPReview-552
2013-08-01 11:44:12 +02:00
Alessio Morale
01d963affd
OP-1058 uncrustify
2013-08-01 01:28:50 +02:00
Alessio Morale
f226b23c24
OP-1058: fix needed for fw_osd code compilation
2013-08-01 01:19:02 +02:00
Alessio Morale
8351e97faa
OP-1058: fix needed for fw_revoproto code compilation
2013-08-01 01:18:53 +02:00
Alessio Morale
df90a13558
OP-1058: fix needed for fw_coptercontrol code compilation
2013-08-01 01:18:26 +02:00
Alessio Morale
9e1acc3165
OP-1058: fix needed for fw_revolution code compilation
2013-07-31 15:24:26 +02:00
Alessio Morale
d99790be71
OP-1058: Implement explicit item accessor for MultiElement fields.
...
This implementation uses a union containing the Array implementing the MultiElement field data and a struct made from element names.
it allow to replace the following sintax:
settings.PitchRatePID[STABILIZATIONSETTINGS_PITCHRATEPID_KP]
with a more concise and less error prone
settings.PitchRatePID.fields.Kp
while allowing the direct array access using the notation
settings.PitchRatePID.data[n]
2013-07-31 15:23:43 +02:00
Oleg Semyonov
77a6db3007
Merge remote-tracking branch 'origin/os/baro-offset-lpf' into next
2013-07-30 23:41:37 +02:00
Alessio Morale
b4d2423680
OP-1048 fix CF stateestimation bug using AccelTau.
...
move *_filtered to stateestimator data struct and initialize them at init.
they were previously used uninitialized thus causing estimation to fail validations, restarting the filter continously
+review OPReview
2013-07-30 23:41:21 +02:00
Corvus Corax
5206c1f195
uncrustification
2013-07-30 22:14:36 +02:00
Brian Webb
2340f4f0d9
OP-1050: Moves LED configuration above settings erase in OPLink pios_board.c to prevent crashing when settings are erased.
2013-07-29 20:37:00 -07:00
Corvus Corax
4d9f7a72db
Start CallbackScheduler last (after other modules) to reduce risk of race conditions during bootup
2013-07-28 20:31:31 +02:00
Corvus Corax
9537cac701
Merge branch 'next' into corvuscorax/callbackeventdispatcher2
2013-07-28 17:10:20 +02:00
Brian Webb
e246ecf536
Moves pios_led functionality to pios_gpio and makes pios_led a thin layer over pios_gpio. Supports configuring multiple sets of GPIOs.
2013-07-28 07:01:08 -07:00
Richard Flay (Hyper)
c3e3521001
OP-1049: Hotfix to 13.06.02 for MPU6000 FIFO overflow on CC3D when board initialisation takes
...
longer than 150ms.
2013-07-28 01:16:22 +09:30
Oleg Semyonov
1bfa66c2b6
Change settings for baro altitude offset correction
2013-07-26 21:14:44 +02:00
Corvus Corax
ae1db5058e
uncrustification
2013-07-20 16:59:00 +02:00
Corvus Corax
4f6c3c98e3
some small fixes to airspeed compensation in Stabilization
2013-07-20 14:52:22 +02:00
Corvus Corax
2ecbf4a846
add code to scale stabilization PID coefficients by 1/airspeed^2 if the user wishes to do so
2013-07-20 13:52:45 +02:00
Corvus Corax
b3cbb57a2b
made low pass filter alpha a setting
2013-07-20 10:40:29 +02:00
Corvus Corax
1049f483a5
added low pass filter and a few safety checks to gps airspeed estimation
2013-07-20 09:09:44 +02:00
Corvus Corax
72e33a11e4
uncrustification, changed ekf glitch recognition to warning, since its now benign
2013-07-19 15:40:57 +02:00
Corvus Corax
b9ae8844a1
return error if ekf has not inited to prevent arming without proper state estimation
2013-07-19 15:37:50 +02:00
Corvus Corax
be583dd8bf
fixes to gps airspeed sensor
2013-07-19 15:30:33 +02:00
Corvus Corax
842b4e361b
moved airspeed sensor code to correct location
2013-07-19 15:29:04 +02:00
Oleg Semyonov
aa560653d4
Make baro altitude offset (relative to GPS alt) filter configurable
2013-07-19 09:53:44 +03:00
Corvus Corax
ea8373b0f7
re-enabled wind estimation absed on groundspeed
2013-07-18 20:01:02 +02:00
Corvus Corax
2ab92f09a5
fix for the fix
2013-07-18 14:15:23 +02:00
Corvus Corax
9ba1fbdccc
fixed safety check for throttle low, needed for arming on switch, too, but not for disarming
2013-07-18 14:10:33 +02:00
Corvus Corax
7b5bf53200
fixed channel reversals
2013-07-18 13:46:58 +02:00
Corvus Corax
50561bfb5f
made arming/disarming sequence time configurable - useful for heli pilots that like almost-instant disarm
2013-07-18 13:13:23 +02:00