Richard Flay (Hyper)
5b61466259
OP-931: Adds -Wdouble-promotion compiler option and fixes problems that the compiler then identifies.
...
+review OPReview-459
2013-05-04 19:24:01 +09:30
Richard Flay (Hyper)
87fcf9fa8b
Merge branch 'next' into hyper/OP-931_extra_compiler_warnings and update as necessary.
...
Hopefully properly fixes conflicts:
flight/modules/Attitude/attitude.c
flight/modules/ManualControl/manualcontrol.c
flight/modules/Osd/WavPlayer/wavplayer.c
flight/modules/Osd/osdgen/osdgen.c
flight/modules/System/systemmod.c
ground/uavobjgenerator/generators/flight/uavobjectgeneratorflight.cpp
2013-05-04 11:12:44 +09:30
Richard Flay (Hyper)
576d33464a
OP-754/OPReview-374: Applied a very old patch, provided by cyr, to the latest next branch.
2013-05-04 09:10:02 +09:30
Oleg Semyonov
137ddbf73a
Fix broken unit tests
2013-05-03 20:27:03 +02:00
Oleg Semyonov
ee1a149888
tools: add gtest_install and build_sdk_*
2013-05-03 20:26:44 +02:00
Oleg Semyonov
7aa59f4573
pios.h: only include STM32xxx.h if particular STM32 MCU is defined
2013-05-03 20:25:48 +02:00
Brian Webb
38cd0e1c46
OP-932: Fixes configuration of the remote serial connection when using VCP/raw comms.
2013-05-03 14:46:14 +01:00
Brian Webb
12e8adbdc4
OP-932: Fixes vitual com port and (not tested) raw comms over a UART on the OPLink.
2013-05-03 14:46:01 +01:00
Richard Flay (Hyper)
0178d666d5
OP-931: Fixes the mag_updated test in revo Attitude module to use the square of the Be vector magnitude.
...
Also fixes the dT calculation issues in a few places, one of which was as suggested in OPReview-459.
+review OPReview-459
2013-05-03 19:24:54 +09:30
Oleg Semyonov
c71985f61e
Makefile: update help message (output of 'make help' or just 'make')
2013-05-03 10:54:25 +02:00
Sambas
4d19fd5989
Merge remote-tracking branch 'remotes/origin/sambas/diffnext' into next
2013-05-03 07:58:17 +03:00
Oleg Semyonov
dd181904fc
Fix version-info.py utility to back off gracefully if no git in the PATH
2013-05-02 19:05:00 +02:00
Sambas
f65fbd7c8a
Revert revo flight modes
2013-05-02 13:38:44 +03:00
Sambas
f7b9223827
Merge remote-tracking branch 'remotes/origin/next' into sambas/diffnext
...
Conflicts:
flight/modules/System/systemmod.c
shared/uavobjectdefinition/taskinfo.xml
2013-05-02 09:00:12 +03:00
Oleg Semyonov
a5d63eb452
tools: make nsis_install (Windows only)
2013-05-01 22:44:11 +03:00
Oleg Semyonov
9305ced139
Make uncrustify happy and prevent flip-flops
2013-05-01 20:07:07 +03:00
Corvus Corax
a0ca66b0cd
Merge branch 'corvuscorax/delayed_callbacks_with_delay' into next
2013-05-01 15:34:16 +02:00
Oleg Semyonov
7032d2a9d6
Merge remote-tracking branch 'origin/next' into os/uncrustify-config
2013-05-01 13:31:38 +02:00
Fredrik Arvidsson
4e823874fb
Merge remote-tracking branch 'origin/filnet/OP-907_gcs_vehicle_config_overhaul' into next
2013-05-01 13:01:55 +02:00
Oleg Semyonov
654dd051c7
Merge remote-tracking branch 'origin/next' into os/debug-pins
2013-05-01 11:13:30 +02:00
Oleg Semyonov
b30385d4fa
uncrustify: use no spaces in empty for statements: for ( ; ;) -> for (;;)
...
It can be rolled back and a space after last semicolon could be added
if desired: for ( ; ; ). But it looks not nice in ~20 files where
this statement is used.
2013-05-01 12:01:51 +03:00
Brian Webb
39c6e81d07
OP-924: Ensures that the PPM pulse turns off between PPM frames.
2013-05-01 02:48:48 +01:00
Brian Webb
e642183dee
OP-924: Any disconnect between radios causes a reset, which causes a re-configuration of I/O devices (com ports, PPM, etc). This causes problems due to certain devices (PPM in particular) not supporting re-configuration. This patch forces configuration to only happen once (on initial connection), which should fix this issue.
2013-05-01 02:48:47 +01:00
Brian Webb
76e4638b8f
OP-924: Added back setting of Tracking to true when a new sample is set.
2013-05-01 02:48:46 +01:00
Brian Webb
56a524ab9e
OP-924: Completely turn off PPM output when it's not being refreshed. Also fixed testing of PPM input on the OPlink that was broken when the return values were changed to negative values. The PPM values were being stored in an unsigned datatype, which made detecting negative error returns impossible.
2013-05-01 02:48:45 +01:00
Brian Webb
ab926da507
OP-924: Added a supervisor timeout to the PPM output driver. This is based on the code in the PPM input driver. A (minor) uninitialize variable bug was also fixed in the PPM input driver.
2013-05-01 02:48:44 +01:00
Oleg Semyonov
bbb05f4ad6
Makefile: print 'BUILD-INFO <outfile>' after 'make build-info'
2013-04-30 23:23:57 +03:00
Oleg Semyonov
dbc35d2b71
Update flight/.gitattributes to include *.template files
2013-04-30 22:15:58 +02:00
Oleg Semyonov
7c6da1df65
OPLinkMini: remove duplicated pvPortMalloc defines, fix #ifdef macro name
...
When the #define is reformatted by uncrustify, it differs from the same
in FreeRTOS default config and gives error. So the removal of it serves
to 2 purposes: removes the duplication and fixes uncrustified builds.
2013-04-30 16:54:30 +02:00
Oleg Semyonov
363e1705cf
uncrustify: update configuration (EOL comment and class indents, extra ';' removals)
2013-04-30 16:54:28 +02:00
Oleg Semyonov
0394a3511c
Rename template files to *.template to screen from uncrustify processing
2013-04-30 16:54:27 +02:00
Richard Flay (Hyper)
742058da8c
Merge branch 'next' into hyper/OP-931_extra_compiler_warnings
2013-04-30 20:44:49 +09:30
Richard Flay (Hyper)
7937ae6296
OP-931: Makes flight code compile with -Wfloat-equal and -Wunsuffixed-float-constants enabled.
...
Also fixes warnings (and bugs) in F4 STM32_USB_OTG_Driver code, allowing -Werror to be enabled for all flight code.
Fixes all other compiler warnings that would otherwise cause the flight code to not compile with -Werror enabled.
Along the way, this also adds some uses of isnan() to various places rather than questionable tests for x != x and
x == x to check for NaNs.
+review OPReview
2013-04-30 20:36:42 +09:30
Fredrik Arvidsson
a5f87bea62
Merge branch 'thread/OP-933_Config_Plugin_Tab_Selection' into next
2013-04-30 07:10:21 +02:00
Fredrik Arvidsson
1eb04a378f
Merge branch 'thread/OP-816_Setup_Wizard_Revo_Support' into next
2013-04-30 06:51:19 +02:00
David Ankers
c2456e4a10
Change Yaw back to 300
2013-04-30 13:53:34 +10:00
Fredrik Arvidsson
7fd3b83b1c
OP-933 Makes tab selection in Configuration plugin sticky between board connect - disconnect - connect.
2013-04-29 18:44:54 +02:00
Fredrik Arvidsson
360dd75d55
OP-816 Added Accel and Gyro bias calibration support for Revolution board.
2013-04-29 15:11:24 +02:00
Oleg Semyonov
9538d2fce1
Makefile: clean "clean" rules
2013-04-29 11:11:32 +02:00
Oleg Semyonov
60dc9d408c
Makefile: uncrustify and docs cleanup
2013-04-29 10:51:39 +02:00
Oleg Semyonov
55c406066d
tools: add doxygen_install and docs_* targets
2013-04-29 02:05:15 +02:00
David Ankers
545422d9ea
Remove old HiTLv2 gadget data, no longer used.
2013-04-29 00:49:08 +10:00
Oleg Semyonov
79c2d6f8e0
Windows packaging: fix bug, probably introduced with new python version
...
A space was added to the end of each positional parameter value if used
with quotes (removed by shell).
2013-04-28 14:08:30 +02:00
David Ankers
80c88fecc6
Another minor update of config
2013-04-28 20:03:00 +10:00
sambas
38d9d5dde3
Merge remote-tracking branch 'remotes/origin/next' into sambas/diffnext
...
Conflicts:
flight/modules/VtolPathFollower/vtolpathfollower.c
2013-04-28 09:46:14 +03:00
David Ankers
9914ab869d
Fix minor spelling error in Revo calib screen
2013-04-28 16:06:36 +10:00
Richard Flay (Hyper)
80c917591e
Cherry-pick and hand-merge of Sami's math cleanup commit from branch sambas/diffnext: 5f3e0c3e1da9388ca7572a5cb97d67a002dc0360
2013-04-28 10:45:28 +09:30
David Ankers
bd62c3313d
Chnage maxrate for Yaw to be more acceptable, still, these are only for
...
testing, I am cheating instead of makeing a branch
2013-04-28 03:17:36 +10:00
David Ankers
565d871ed7
Merge branch 'next' of ssh://git.openpilot.org/OpenPilot into next
2013-04-28 01:25:57 +10:00
David Ankers
a5b6bb9692
OP-855 Remove empty Gadget from HiTL work space
2013-04-28 01:25:09 +10:00