Julien Lecoeur
bc006b81fc
can_boot_descriptor: python3 compatibility
2017-07-18 08:24:37 +02:00
Julien Lecoeur
87e9ad0caa
Patch NuttX/nuttx and NuttX/apps for new arm-none-eabi-gcc 7.1.0 warnings
...
Rename nuttx patch
Add nuttx patch for unused variable error
Pending nuttx patch
Backport nuttx fix for unused variables in nsh_proccmds.c
Fix Patch format
Modify pending patch to match new nuttx PR
Move accepted nuttx changes from pending patch to backport patch
2017-07-18 08:24:37 +02:00
Julien Lecoeur
940f2c3cca
Update libuavcan submodule, fix arm-none-eabi-gcc 7.1.0 warnings
2017-07-18 08:24:37 +02:00
Julien Lecoeur
61d6903b40
Fix -Werror=stringop-overflow on gcc 7
...
The error was:
Firmware/src/systemcmds/hardfault_log/hardfault_log.c:312:7: error: specified bound 30 equals the size of the destination [-Werror=stringop-overflow=]
strncat(marker, sp_name, sizeof(marker));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2017-07-18 08:24:37 +02:00
Julien Lecoeur
abcb920df4
Fix -Werror=implicit-fallthrough on arm-none-eabi-gcc 7.1.0
...
BMP280: fix -Werror=implicit-fallthrough on arm-none-eabi-gcc 7
gnss: fix -Werror=implicit-fallthrough on arm-none-eabi-gcc 7
fmu: fix -Werror=implicit-fallthrough on arm-none-eabi-gcc 7
timer.c: fix -Werror=implicit-fallthrough on arm-none-eabi-gcc 7
px4cannode_led: fix -Werror=implicit-fallthrough on arm-none-eabi-gcc 7
Fix -Werror=implicit-fallthrough on gcc7
2017-07-18 08:24:37 +02:00
Julien Lecoeur
d477b1f0f4
Fix -Werror=stringop-overflow on gcc 7
...
This prevents the compiler from optimising pdump. The error was:
Firmware/src/drivers/boards/common/board_crashdump.c:41:2: error: 'memset' writing 3240 bytes into a region of size 4 overflows the destination [-Werror=stringop-overflow=]
memset(pdump, 0, sizeof(fullcontext_s));
2017-07-18 08:24:37 +02:00
David Sidrane
4349f49610
PX4 System:Expunge the nuttx adc structure from the system
...
This PR is preliminary ground work for FMUv5.
PX4 does not use the NuttX adc driver. But used the same format
for the data returned by the nuttx ADC driver.
There was a fixme:in src/platforms/px4_adc.h "this needs to be
a px4_adc_msg_s type" With this PR the need for
src/platforms/px4_adc.h goes away as the driver drv_adc.h now
describes the px4_adc_msg_t.
2017-07-17 22:28:29 +02:00
Carl Olsson
d92377a6e6
ekf2: remove unused function ( #7529 )
...
* ekf2: remove unused function
Signed-off-by: CarlOlsson <carlolsson.co@gmail.com>
* ekf2: removed unused variable _mag_decl_saved
Signed-off-by: CarlOlsson <carlolsson.co@gmail.com>
2017-07-17 17:24:23 +10:00
Beat Küng
c59d7baad8
replay: add backward compatibility for updated sensor_combined topic
2017-07-16 14:08:37 +02:00
Beat Küng
cef3a29ac9
refactor replay: split timestamp offset into separate method
2017-07-16 14:08:37 +02:00
Nicolae Rosia
950273dbcf
msg: ekf: switch to uin32_t for deltas, should be more than enough
...
Signed-off-by: Nicolae Rosia <nicolae.rosia@gmail.com>
2017-07-16 14:08:37 +02:00
Nicolae Rosia
f1740bbf54
msg: ekf: fix comment, dt is in uS now
...
Signed-off-by: Nicolae Rosia <nicolae.rosia@gmail.com>
2017-07-16 14:08:37 +02:00
Nicolae Rosia
0a22a9c47c
change gyro & accel dt from float to uint64. This has the benefit of
...
calculating the estimator timeslip correctly.
Signed-off-by: Nicolae Rosia <nicolae.rosia@gmail.com>
2017-07-16 14:08:37 +02:00
Nicolae Rosia
5618f34f3b
Remove usage of waitForUpdate/updateNotify, there are no users of this feature.
...
Signed-off-by: Nicolae Rosia <nicolae.rosia@gmail.com>
2017-07-15 09:50:24 +08:00
Nicolae Rosia
67987d27d8
barosim: revamp driver
...
Current driver was copy pasted from a MS5611 driver.
The existing driver takes data from Simulator, not from
an actual device.
Signed-off-by: Nicolae Rosia <nicolae.rosia@gmail.com>
2017-07-15 09:50:24 +08:00
Beat Küng
4ccbeb47c0
land_detector_main: fix documentation: rover -> ugv
2017-07-14 11:57:11 +02:00
Beat Küng
0949599f0a
dataman: fix compilation error
...
error: invalid conversion from ‘int’ to ‘dm_item_t’
and
error: no ‘operator++(int)’ declared for postfix ‘++’
2017-07-14 11:57:11 +02:00
Beat Küng
1c7941fc89
land_detector: fix too long lines in module documentation
2017-07-14 11:57:11 +02:00
Dennis Mannhart
eb17d4b5f3
MC landdetector: update description
2017-07-14 11:57:11 +02:00
Beat Küng
cf5df4489f
dataman: extend module documentation
2017-07-14 11:57:11 +02:00
Beat Küng
913cbc773e
px4moduledoc: extend validation: limit max line length to 120
2017-07-14 11:57:11 +02:00
Beat Küng
318c4497bd
dataman: fix typo
2017-07-14 11:57:11 +02:00
Beat Küng
620d37bc1c
fmu: remove tautology, fix pwm2cap2 mode for status
2017-07-14 11:57:11 +02:00
Beat Küng
8b64fc8a5e
Tools/px4moduledoc: add some comments, describe the regexes
2017-07-14 11:57:11 +02:00
Beat Küng
8a83fb7dc2
land_detector: use ModuleBase & add module documentation
2017-07-14 11:57:11 +02:00
Beat Küng
8d7481f9ac
load_mon: use ModuleBase & add documentation
2017-07-14 11:57:11 +02:00
Beat Küng
5aa8b455c2
crazyflie airframe: add maintainer
2017-07-14 11:57:11 +02:00
Beat Küng
69f0288649
aerofc airframe: RTF -> Ready to Fly Drone & add maintainer
2017-07-14 11:57:11 +02:00
Beat Küng
a63699060d
ekf2: use ModuleBase & add module documentation
2017-07-14 11:57:11 +02:00
Beat Küng
47073e9c32
vmount: add module documentation
2017-07-14 11:57:11 +02:00
Beat Küng
28e5268497
dataman: rename to .cpp & add module documentation
2017-07-14 11:57:11 +02:00
Beat Küng
682dabded1
replay: use module base class & add module documentation
2017-07-14 11:57:11 +02:00
Beat Küng
674ae5292e
markdown module doc script: write how to generate the modules documentation
2017-07-14 11:57:11 +02:00
Beat Küng
05b0c412c8
sensors: extend module doc a bit
2017-07-14 11:57:11 +02:00
Beat Küng
36c9400de4
gps: use ModuleBase class & add documentation
...
Note: it changes the interface slightly: instead uf -dualgps, use -e now.
This also fixes 2 bugs:
- nullptr access when doing 'gps status' with fake gps running
- close(fd) was called on an uninitialized fd when gps fake was running
2017-07-14 11:57:11 +02:00
Beat Küng
6463bd4f6f
sensors: use ModuleBase & add documentation
2017-07-14 11:57:11 +02:00
Beat Küng
5923a2e9d0
src/mainpage.dox: remove this file, it's not used anymore & completely outdated
2017-07-14 11:57:11 +02:00
Beat Küng
a43f135ad4
minor documentation updates to some commands
2017-07-14 11:57:11 +02:00
Beat Küng
7d50f3df0a
Makefile: add module_documentation target
2017-07-14 11:57:11 +02:00
Beat Küng
7a4f557a7a
px_process_module_doc: separate page into one page per category
2017-07-14 11:57:11 +02:00
Beat Küng
05c3b711f3
fix bl_update: move definition of print_usage into the ifdef
...
fixes the compile error:
error: 'print_usage' defined but not used [-Werror=unused-function]
2017-07-14 11:57:11 +02:00
Beat Küng
a4ca3fc607
ver: add documentation
2017-07-14 11:57:11 +02:00
Beat Küng
68d754b65e
usb_connected: add documentation
2017-07-14 11:57:11 +02:00
Beat Küng
8e965a7a2a
topic_listener: add documentation
2017-07-14 11:57:11 +02:00
Beat Küng
1b4467f674
sd_bench: add documentation
2017-07-14 11:57:11 +02:00
Beat Küng
06178392ce
reboot: add documentation
2017-07-14 11:57:11 +02:00
Beat Küng
16e0e1f7ca
perf: add documentation
2017-07-14 11:57:11 +02:00
Beat Küng
ba1a483cd6
nshterm: add documentation
2017-07-14 11:57:11 +02:00
Beat Küng
65b11d39a9
mtd: add documentation & do cleanup (remove err(), ...)
2017-07-14 11:57:11 +02:00
Beat Küng
e362f760c4
motor_test: add documentation & do cleanup (remove err(), ...)
2017-07-14 11:57:11 +02:00