DanielePettenuzzo
38c8a6ff74
camera_capture: add cycle for cycle_trampoline
2019-02-10 18:07:44 -05:00
DanielePettenuzzo
ea9d6899ae
clean up camera capture driver
2019-02-10 18:07:44 -05:00
DanielePettenuzzo
42e2bd47c4
add camera capture mode and edge params
2019-02-10 18:07:44 -05:00
DanielePettenuzzo
d49752141d
rename camera capture feedback param and move it from camera_feedback module to camera capture driver
2019-02-10 18:07:44 -05:00
DanielePettenuzzo
42afc88285
add camera trigger feedback (input capture when camera actually takes the photo)
2019-02-10 18:07:44 -05:00
bresch
5229882470
Camera Capture - Use falling edge only
2019-02-10 18:07:44 -05:00
bresch
7906bff914
Camera Capture - add "status" to camera_capture usage help message
2019-02-10 18:07:44 -05:00
Mohammed Kabir
94bb02a9c7
Add camera_capture driver
2019-02-10 18:07:44 -05:00
Roman
e49549a433
uavcan: use px4 timestamp for the esc status message
...
- there is a timeshift between the esc and px4 time so until there is some
kind of offset estimation we are better off using px4 time since the logging
system uses that as reference
Signed-off-by: Roman <bapstroman@gmail.com >
2019-02-10 09:22:59 -05:00
Beat Küng
4452669614
module documentation: add support for subcategories
2019-02-08 09:29:46 +01:00
Daniel Agar
87b17bed58
px4io depend on NuttX submodules
2019-02-05 14:47:58 -05:00
bastien
1990338a3f
gps: Support for Emlid Reach
...
Support Emlid Reach in ERB format,
including autodetect
Reported-by: Bastien Auneau <bastien.auneau@while-true.fr >
2019-02-04 09:10:11 -05:00
Daniel Agar
40e42a677b
NuttX cmake support optional compressed defconfigs
2019-01-30 10:54:53 -05:00
Beat Küng
481bfc6308
px4_module: use px4_atomic_t
2019-01-30 10:24:06 -05:00
Daniel Agar
8dc0509989
mpu9250: split icm20948 support out into new separate driver
2019-01-30 09:29:08 +01:00
Daniel Agar
298049b0fb
px4_fmu-v4_stackcheck sync with default and increase pmw3901 main stack
2019-01-29 14:14:29 -05:00
David Sidrane
6f9a9b3d2c
px4_fmu-v4: add runtime external SPI4 detection to support pmw3901 ( #11301 )
...
* The build is built with SPI4. At run time the signal GPIO_8266_GPIO2 it tested. If it is low the SPI4 is configured. If it is high SPI4 is not configured.
* board_common: Add Notion of Board has bus manifest
2019-01-29 13:44:15 -05:00
David Sidrane
53a127beb9
Oversampling rate for MPL3115A2 pressure sensor ( #11332 )
...
As reported by @LeoMustafaNXP in https://github.com/PX4/Firmware/issues/11296
2019-01-29 11:41:58 -05:00
mcsauder
dc5f18bdcd
ToneAlarm class refactoring to implement an interface for hardware specific methods and a single ToneAlarm class.
2019-01-28 18:58:04 -08:00
mcsauder
cced80edf9
Correct the mpu6000 temperature correction scalar value to match the datasheet.
2019-01-28 12:48:03 +01:00
Alessandro Simovic
fc2fbf5e72
fmu: added missing include
2019-01-28 12:05:36 +01:00
Alessandro Simovic
0bb5345306
removed unnecessary new-lines
2019-01-25 11:58:17 -05:00
Daniel Agar
1f4c3fedba
deprecate samv7 support and atmel same70xplained board
2019-01-25 10:54:53 -05:00
David Sidrane
869e476af9
uavcanesc:Add cdev
2019-01-25 06:32:37 -08:00
David Sidrane
88d0b163b5
common:board_crashdump must end in reset!
...
Upstream changes defer the board reset based on the vaule of
CONFIG_BOARD_RESET_ON_ASSERT
0 (or not defined) Do not reset on assert
>= 1 reset if assertion is in an interrupt handler or the idle task
>= 2 on any asertion.
up_assert is called from up_hardfault or an asertion failure.
Part 1 of up_assert will call out to the board_crashdump
Part 2 on return from board_crashdump will then perform
the reset.
board_crashdump needs a chunk of ram to save the complete
context in. It uses &_sdata which is the lowest memory and
it will corrupt that memeory. We can therfore can not allow
return to the OS, as it could depend on that area of RAM.
So all boards need to do a reset at the end of board_crashdump
2019-01-25 06:32:37 -08:00
David Sidrane
e358486ef7
aerofc-v1:Scope CRASHDUMP_RESET_ONLY to BOARD_CRASHDUMP_RESET_ONLY
2019-01-25 06:32:37 -08:00
David Sidrane
d122a35606
Add STM32 critical section monitor time resources
2019-01-25 06:32:37 -08:00
David Sidrane
1f54214224
stm32/drv_io_timer:GTIM_CCER_CC1NP not on all STM32 HW
...
The F1 series GTIMs to not have GTIM_CCER_CC1NP.
This bug fix tracks the upstream change that
made GTIM_CCER_CC1NP conditional on the chip.
2019-01-25 06:32:37 -08:00
David Sidrane
e505fe859d
Update Nuttx and NuttX-apps to 7.28+
2019-01-25 06:32:37 -08:00
Beat Küng
74a3c378b2
drv_hrt: inline hrt_elapsed_time
...
GCC did not do that.
2019-01-25 07:53:37 +01:00
Daniel Agar
2ffb49b734
delete px4_includes.h header and update boards/ to use syslog
2019-01-23 18:25:18 -05:00
dvornikov-aa
ce0dd41a11
LPS22HB: Fix invalid driver reset (I2C bus)
2019-01-22 20:11:58 -05:00
Lorenz Meier
46390a1508
HRT: Drop volatile specifier from function call for non-atomic mode
...
This allows the compiler to optimize better without loosing any performance / accuracy.
2019-01-22 23:52:57 +01:00
Lorenz Meier
bca0f7925c
SAMv7: Add atomic and non-atomic HRT calls
...
This reduces interrupt load significantly.
2019-01-22 23:52:57 +01:00
Lorenz Meier
27cae912d1
Kinetis: Add atomic and non-atomic HRT calls
...
This reduces interrupt load significantly.
2019-01-22 23:52:57 +01:00
Lorenz Meier
b7bcec2d8c
HRT: Create new separate call for atomic HRT elapsed time calculation
...
This call rarely needs to be truly atomic and the involved CPU overhead in making it atomic was unnecessary and introduces a lot of IRQ jitter with no value-add. The call has been moved to be non-atomic and the codebase will be inspected and changed in follow-up commits for the few instances where it is truly needed.
2019-01-22 23:52:57 +01:00
Daniel Agar
320d2e9383
create PX4 platform layer initialization helper ( #11269 )
...
- starts requirements for PX4 modules (hrt, param, etc)
2019-01-22 14:13:20 -05:00
Lorenz Meier
b719033d02
MK BL CTRL: Fix startup routine to be compliant with signature.
2019-01-20 10:29:13 -05:00
Daniel Agar
7008558fac
drivers/distance_sensor replace std::vector usage with px4::Array
2019-01-20 12:03:53 +01:00
Daniel Agar
95eff33263
GPS increase task stack 1530 -> 1600 bytes
2019-01-18 12:07:28 -05:00
Dave Royer
f537c98ca2
ulanding radar: update driver for new 2nd gen hardware ( #11035 )
2019-01-18 12:06:34 -05:00
Daniel Agar
52c848a556
mpu6000 split into separate main, header, implementation
2019-01-18 10:39:15 -05:00
Daniel Agar
d299d439c6
mpu6000 use new PX4Accelerometer and PX4Gyroscope classes
2019-01-18 10:39:15 -05:00
Beat Küng
d8ab059ff3
cm8jl65: add comment which CRC is used
2019-01-15 09:19:52 +01:00
Claudio Micheli
8a313ffc26
Applied code-review suggestions.
...
- Removed blocking serial.
- Added passing variables by reference to parser.
- Removed commented code.
Signed-off-by: Claudio Micheli <claudio@auterion.com >
2019-01-15 09:17:24 +01:00
Claudio Micheli
d1da46ef46
Added generic UART configuration.
...
Signed-off-by: Claudio Micheli <claudio@auterion.com >
2019-01-15 09:17:24 +01:00
Claudio Micheli
ca0cd27c6b
Formatted code.
...
Signed-off-by: Claudio Micheli <claudio@auterion.com >
2019-01-15 09:17:24 +01:00
Claudio Micheli
7124cbf3af
Fixed CI broken build. Made TELEM2 default port.
...
Device port can be set via SENS_EN_CM8JL65 parameter:
SENS_EN_CM8JL65 = 0 -> Disabled
SENS_EN_CM8JL65 = 1 -> Enabled on TELEM2
SENS_EN_CM8JL65 = 2 -> Enabled on TELEM1
Signed-off-by: Claudio Micheli <claudio@auterion.com >
2019-01-15 09:17:24 +01:00
Claudio Micheli
e4381bfc87
Added sensor enable/disable parameter (SENS_EN_CM8JL65).
...
Disabled by default.
Signed-off-by: Claudio Micheli <claudio@auterion.com >
2019-01-15 09:17:24 +01:00
Claudio Micheli
46c5a79b57
Renamed files according to distance sensor hardware.
...
Signed-off-by: Claudio Micheli <claudio@auterion.com >
2019-01-15 09:17:24 +01:00