Matthias Grob
1bef35d843
PositionControl: correct float initialization literals
...
according to @bresch's review
2019-11-20 11:42:09 +01:00
Matthias Grob
bd491c8511
PositionControl: add unit tests for directions and limits
2019-11-20 11:42:09 +01:00
Matthias Grob
25a445d5f8
PositionControl: remove parameter dependency
...
to make the class easier to understand,
more modular and easily unit testable
2019-11-20 11:42:09 +01:00
Daniel Agar
84fe64b1c2
create new multicopter rate controller module (mc_rate_control) split out of mc_att_control
2019-11-19 17:03:11 -05:00
Matthias Grob
b64abf48b2
mc_pos_control: reset velocity derivatives
2019-11-19 22:18:01 +01:00
Daniel Agar
b213e30597
mpu9250: fully remove dead interval perf counter
2019-11-19 13:43:37 -05:00
Daniel Agar
bf2a10496c
Update submodule mavlink v2.0 to latest Tue Nov 19 12:39:27 UTC 2019
...
- mavlink v2.0 in PX4/Firmware (bbc028a9e9 ): https://github.com/mavlink/c_library_v2/commit/8d10911ec19dd8b9de628eb6c75c224a403aacc5
- mavlink v2.0 current upstream: https://github.com/mavlink/c_library_v2/commit/3ce744ec3e636b00afbb583b69e7838d1326f703
- Changes: https://github.com/mavlink/c_library_v2/compare/8d10911ec19dd8b9de628eb6c75c224a403aacc5...3ce744ec3e636b00afbb583b69e7838d1326f703
2019-11-19 11:17:17 -05:00
Daniel Agar
515e896cde
navigator: set position setpoint timestamp
2019-11-19 10:24:52 -05:00
Daniel Agar
a2bd65460d
commander: add vehicle-status nav_state change timestamp
2019-11-19 10:24:52 -05:00
Daniel Agar
01c7a475ff
gitmodules update NuttX to px4_firmware_nuttx-8.2
2019-11-19 07:59:53 -05:00
Jannik Beyerstedt
bbc028a9e9
RoverPositionControl: make offboard attitude usable without GPS
2019-11-19 10:05:25 +01:00
Beat Küng
a543169f1e
CollisionPrevention: avoid unnecessary cast from uint16_t to int
2019-11-19 09:32:30 +01:00
Nik Langrind
c34b7019a4
Fix mistake in previoust commit, which could the "hil" argument to
...
be ignored if px4io were to be started with two or more optional arguments
2019-11-19 08:31:31 +01:00
Daniel Agar
1c4a8e7c11
cmake NuttX fix generated launch.json (vscode debug)
2019-11-18 13:21:33 -05:00
Daniel Agar
82fac4a0a7
cmake NuttX linker print memory usage
2019-11-18 12:36:29 -05:00
David Sidrane
67f27eb26c
NuttX @ Offical release of 8.2
2019-11-17 04:06:49 -08:00
Jannik Beyerstedt
38103654e9
RoverPositionContro: Enable driving backwards in attitude control
2019-11-17 11:29:45 +01:00
Claudio Micheli
ba99ef0d3b
Commander: Add COM_ARM_AUTH_REQ for enabling Arm Authorization
...
Signed-off-by: Claudio Micheli <claudio@auterion.com >
2019-11-17 11:22:36 +01:00
Nik Langrind
ba5efa5642
px4io: When running HITL, don't publish actuator_outputs. Fixes #13471 .
...
When running in HITL mode, pwm_out_sim publishes actuator_outputs.
px4io unconditionally publishes the uOrb actuator_outputs. When HITL
is configured, the px4io copy of the uOrb has all zeros.
The result is that there are two publications, one valid, and one
all-zeros. This causes the HIL_ACTUATOR_CONTROLS mavlink message
to be incorrect (all-zeros) and the SERVO_OUTPUTS_RAW mavlink
message to be inconsistent, as it takes the data from one or the
other uOrb randomly each cycle.
The fix is to let px4io know that HITL is in effect when it is
started, and modify px4io to suppress publication in this case.
This is a bigger more complicated fix than I would like, but I
think it is conceptually correct.
Signed-off-by: Nik Langrind <langrind@gmail.com >
2019-11-17 11:19:35 +01:00
Daniel Agar
8ce2f30aa6
NuttX cmake improve dependencies between configure and runtime
...
- attempting to make the build slightly more robust to incomplete configures or other bad states.
2019-11-16 18:30:52 -05:00
Daniel Agar
ea79bd733d
cmake add a few include guards
...
- this is a minor cmake configure time optimization
2019-11-16 16:27:36 -05:00
Daniel Agar
df73a6667d
NuttX cmake improvements
...
- fix temporary Make.defs copy
- implement custom macros for COMPILE, COMPILEXX, ASSEMBLE, ARCHIVE to enable ccache properly (if available and enabled)
- fix NuttX mkdeps
- fix libapps race condition with context
2019-11-16 15:42:19 -05:00
Daniel Agar
b5e7e4bc17
add holybro_durandal_stackcheck build and run on Jenkins
2019-11-16 11:43:42 +01:00
Daniel Agar
caca3e93e7
Jenkins hardware add holybro_durandal-v1
2019-11-16 11:43:42 +01:00
Daniel Agar
a694f0bbdd
bl_update: build and include board bootloader if config available
2019-11-16 11:43:42 +01:00
David Sidrane
850821f47f
[REVISIT] Support upstream DSHOT Revist!
...
The Addition of PX4_ARCH_DCACHE_LINESIZE is fundamentally wrong.
It asserst that an STM32F4 has a cache and it does not.
This should be #if defined() on CONFIG_ARMV7M_DCACHE
2019-11-16 11:43:42 +01:00
Daniel Agar
2bb7a1f3c7
holybro_durandal-v1 delete extra defconfig copy
2019-11-16 11:43:42 +01:00
Daniel Agar
2af262ed1d
NuttX cmake build wrapper thorough dependencies
2019-11-16 11:43:42 +01:00
Daniel Agar
99aae8b891
NuttX use toolchain math.h and avoid empty drivers/Kconfig
2019-11-16 11:43:42 +01:00
David Sidrane
a8e7ddd44e
durandal-v1:Use Holybro USB PID
2019-11-16 11:43:42 +01:00
David Sidrane
b2f28c977d
durandal-v1 Nuttx Based PX4 bootloader
...
durandal bootloader:Run at 480 Mhz
durandal-v1:bootloader use VBUS detection
Add Durandal bootloader to build
2019-11-16 11:43:42 +01:00
David Sidrane
4836fc0719
Added board support for holybro_durandal-v1
...
Durandal:Fix PLL settings
durandal-v1:Move I2C123, I2C4 to HSI.
Not liking using HSI but, F7 has, and in reality there is no
requerment for accuracy.
durandal-v1:board config set 400kHz on card probe
durandal-v1:Board SDMMC Clock Not greater then 25 mHz
durandal-v1:Fix PLL3 configuration typo and value
CI build config for holybro_durandal-v1
durandal-v1:Kconfig - add knob to ensure ARCH_MATH_H is kept
Upstream changes added ARCH_HAVE_MATH_H to protect from archs
without math.h from causing isses for users setting
CONFIG_ARCH_MATH_H and getting errors. PX4 provides a math.h
and we need CONFIG_ARCH_MATH_H set. So this Selects
ARCH_HAVE_MATH_H perserving CONFIG_ARCH_MATH_H a defconfig
Track master LED removal
durandal-v1: bmi055 -> bmi088
bmi088 is what the board uses
durandal-v1:add PX4IO support
durandal-v1 rc.board_sensors: start baro
durandal-v1: remove segway module
durandal:Run at 480 Mhz
durandal-v1: build thermal control module
durandal-v1: enable IMU thermal control by default
durandal-v1:Track upstream adc start moved to rc.board_sensors
durandal-v1:Track upstream mavlink start moved to rc.board_mavlink
2019-11-16 11:43:42 +01:00
David Sidrane
15f25a4e02
fmuk66-v3:Remove MMC support - NuttX detection is broken
2019-11-16 11:43:42 +01:00
David Sidrane
5c0aada220
fmuk66-v3:Remove CONFIG_EXAMPLES_MOUNT
2019-11-16 11:43:42 +01:00
David Sidrane
65a26ec060
nxp_fmuk66-v1:Port to NuttX 8.1+
2019-11-16 11:43:42 +01:00
David Sidrane
2faa2c5e19
uvify:core BSP Updated to NuttX 8.1+
2019-11-16 11:43:42 +01:00
David Sidrane
5bb272387a
thiemar:s2740vc-v1 BSP Updated to NuttX 8.1+
2019-11-16 11:43:42 +01:00
David Sidrane
148215c114
px4:io-v2 BSP Updated to NuttX 8.1+
2019-11-16 11:43:42 +01:00
David Sidrane
26b9b0371f
px4:fmu-v5x BSP Updated to NuttX 8.1+
2019-11-16 11:43:42 +01:00
David Sidrane
7e979676ee
px4_fmuv5_stackcheck:Remove bl_update to fit
2019-11-16 11:43:42 +01:00
David Sidrane
0ebe285201
px4:fmu-v5 BSP Updated to NuttX 8.1+
2019-11-16 11:43:42 +01:00
David Sidrane
7ce4f06470
px4:fmu-v4pro BSP Updated to NuttX 8.1+
2019-11-16 11:43:42 +01:00
David Sidrane
40a3e47712
px4:fmu-v4 BSP Updated to NuttX 8.1+
2019-11-16 11:43:42 +01:00
David Sidrane
2c13883e56
px4:fmu-v3 BSP Updated to NuttX 8.1+
2019-11-16 11:43:42 +01:00
David Sidrane
47bbb36575
px4_fmuv2_multicopter:Remove bl_update to fit
2019-11-16 11:43:42 +01:00
David Sidrane
ab1c8850fe
px4:fmu-v2 BSP Updated to NuttX 8.1+
...
px4/fmu-v2 disable events and work_queue systemcmd
2019-11-16 11:43:42 +01:00
David Sidrane
208c23c826
px4:esc-v1 BSP Updated to NuttX 8.1+
2019-11-16 11:43:42 +01:00
David Sidrane
25a6a45640
px4:cannode-v1 BSP Updated to NuttX 8.1+
2019-11-16 11:43:42 +01:00
David Sidrane
8b33d1fcda
omnibus:f4sd BSP Updated to NuttX 8.1+
2019-11-16 11:43:42 +01:00
David Sidrane
d534349dfe
nxp:fmuk66-v3 BSP Updated to NuttX 8.1+
2019-11-16 11:43:42 +01:00