Beat Küng
f7ee3c2015
cmake configs: add vtol_att_control for required parameters VT_B_DEC_MSS & VT_B_REV_DEL
...
Required by Navigator.
7 years ago
Beat Küng
279b66bfbd
ekf2: use new Param class
...
reduces RAM usage by 1.3KB
7 years ago
Beat Küng
eb33145ac8
px4_param.h: add ParamExtFloat & ParamExtInt (required by ekf2)
7 years ago
Beat Küng
89a775b401
navigator: remove use of final to allow extending class hierarchy
7 years ago
Beat Küng
8a5cdac1f4
FixedwingPositionControl: fix ordering of PRINT_MODULE_USAGE_NAME
7 years ago
Beat Küng
e0af2912a1
navigator: avoid use of a static variable last_geofence_check
7 years ago
Beat Küng
320bdc6482
navigator: refactor to use ModuleBase class
7 years ago
Beat Küng
246be4f0ab
precland: use 'default' for destructor
7 years ago
Beat Küng
2e6904b8a4
navigator: use '#pragma once' as include guard
7 years ago
Beat Küng
f2dddc65a5
navigator: use new Param class
7 years ago
Beat Küng
32eaf278ad
Battery: remove unnecessary updateParams() call in constructor
7 years ago
Beat Küng
523bb11577
module template: update to use the new Param classes
7 years ago
Beat Küng
0d26aeafe2
px4_parameter.h: remove this file - it's not used anymore
7 years ago
Beat Küng
fca99cf775
param: refactor BlockParam classes
...
- make the selected parameter a template argument. This
enables type-checking at compile-time.
- move things to src/platforms.
This provides consistent includes with ModuleBase
- add ModuleParams base class (replaces Block & SuperBlock)
- drop the Block* prefix from the class names
7 years ago
Beat Küng
0e4034d01e
param: add a px4_parameters_public.h.jinja template
...
Generates an enum with all params & additional type information for static
type checking
The generated public param header is required to build the modules using
the new BlockParam classes.
7 years ago
Beat Küng
0a5af01454
NavigatorMode: inherit from Block instead of SuperBlock
7 years ago
Amir Melzer
118214c6b5
update submodule to include ASL_PWR_BRD
7 years ago
Philipp Oettershagen
ff66605a8a
Fix: Increase pwmsim module stack by 100 bytes again because load_mon was giving warning about low stack
7 years ago
Jan Okle
63121b74df
NuttX update - fix kinetis transmission status handling in the serial interrupt ( #8944 )
...
efc3d9e92b
7 years ago
David Sidrane
de9368319f
Do not change mode to read temperature
...
The mode change was not necessary and in fact caused the chip to not update the registerfile resulting in MAG timeouts
7 years ago
Beat Küng
bb6802a1ed
kinetis: fix PPM decoding
...
On kinetis, the TPM_STATUS_TOF was used to detect missed interrupts for
PPM decoding. However this was not correct, because the TOF bit was set on
each timer overflow. This happened regularly after every 64ms interval,
which meant that most PPM frames were just discarded.
I have not found any equivalent register/solution that is used on STMF4,
so this just removes the TOF handling. However there is now no way to
detect missed edges/interrupts!
7 years ago
Beat Küng
5a7885610d
fmu: fix PPM publication if RC_SERIAL_PORT is not defined
...
Before, the RC channel was published as fast as the fmu was running
(around 200Hz in unarmed state).
And fix code style.
7 years ago
Beat Küng
dde922a971
fxos8701cq: add a 'stop' command
7 years ago
Beat Küng
06df2fcb65
rc.interface: disable AUX mixer on NXPHLITE_V3
7 years ago
David Sidrane
0ed631227f
fxos8701cq:Work with fxos8701cq and fxos8700cq
...
Allow whoami of fxos8701cq and fxos8700cq
7 years ago
Daniel Agar
5335778f6e
nxphlite start correct sensors and disable debug
7 years ago
Mohammed Kabir
f95f4c5f09
UAVCAN : Correct startup sequence and improve parameter description
7 years ago
Vasily Evseenko
ebe74ccb2e
Add 'forced on' flow control mode to mavlink UART ( #8776 )
7 years ago
acfloria
fd0be3c412
Remove MavLink dependency in navigator
7 years ago
Simone Guscetti
dbdb2c9c22
px4-fmuv5: config fix stm32f7 max SD card speed
...
In the stm32f7 the configuration variable for SD card with DMA changed from CONFIG_STM32_SDIO_DMA to CONFIG_STM32F7_SDMMC_DMA
the maximum clock speed of 16MHz can now be achieved.
7 years ago
Roman
64b97cb18e
fw_att_control: in acro use thrust from rate setpoint topic
...
Signed-off-by: Roman <bapstroman@gmail.com>
7 years ago
Thomas Stastny
74730273c1
fw_att_control move angular rate limits to body angular rates ( #9023 )
...
* ecl: attitude_fw update
- move angular rate limits to body angular rates
- handle rattitude/acro vs attitude mode rate limits
7 years ago
Daniel Agar
2ce8b6a984
delete VT_FW_PITCH_TRIM parameter ( #9014 )
7 years ago
Roman
ac2b3ccadc
vtol_att_control: default front transition throttle to 100%
...
- the main idea is to prevent airspeed less systems to stall after a
transition
Signed-off-by: Roman <bapstroman@gmail.com>
7 years ago
Roman
e4ea7262fd
tailsitter.cpp: small cosmetic fix
...
Signed-off-by: Roman <bapstroman@gmail.com>
7 years ago
Roman
03338935e0
vtol_att_control: make sure blending airspeed is smaller than transition airspeed
...
Signed-off-by: Roman <bapstroman@gmail.com>
7 years ago
Roman
e0ca38e794
standard vtol: fix mc weight calculation
...
Signed-off-by: Roman <bapstroman@gmail.com>
7 years ago
Roman
23257bf6ee
standard vtol: simplify blending weight calculation
...
Signed-off-by: Roman <bapstroman@gmail.com>
7 years ago
Roman
b66bc712af
tailsitter: avoid doing same calculation twice
...
Signed-off-by: Roman <bapstroman@gmail.com>
7 years ago
Roman
1d8f588d37
vtol_att_control: switch from division to multiplication for variable
...
calculation
Signed-off-by: Roman <bapstroman@gmail.com>
7 years ago
Roman
9e16543dbe
tiltrotor: represent time since transition in seconds
...
- more intuitive
- avoids tons of divisions
Signed-off-by: Roman <bapstroman@gmail.com>
7 years ago
Roman
ae2e6c7a18
tailsitter: represent time since transition in seconds
...
- more intuitive
- avoids tons of divisions
Signed-off-by: Roman <bapstroman@gmail.com>
7 years ago
Roman
bf22f02567
tailsitter: removed usage of hrt_elapsed and small cleanup
...
- do not call hrt_elapsed_time since it's expensive
- remove P2 front transition phase (was not even used)
Signed-off-by: Roman <bapstroman@gmail.com>
7 years ago
Roman
196d0e40b4
standard vtol: use time in second since transition start instead of using
...
microseconds
- seconds is more intuitive
- avoids tons of divisions by 1e6f
Signed-off-by: Roman <bapstroman@gmail.com>
7 years ago
Roman
5a2a5127fa
tailsitter: removed common vtol parameters
...
Signed-off-by: Roman <bapstroman@gmail.com>
7 years ago
Roman
2c0436c37c
sitl tiltrotor config: front transition throttle parameter name change
...
Signed-off-by: Roman <bapstroman@gmail.com>
7 years ago
Roman
07a84f2246
tiltrotor: removed common vtol parameters
...
Signed-off-by: Roman <bapstroman@gmail.com>
7 years ago
Roman
6900f97b72
vtol_att_control: use airspeed_disabled flag instead of airspeed mode
...
Signed-off-by: Roman <bapstroman@gmail.com>
7 years ago
Roman
8f71633516
sitl configs: updated VT_TRANS_THR parameter name change
...
Signed-off-by: Roman <bapstroman@gmail.com>
7 years ago
Roman
4859cc04dc
ROMFS: updated VT_TRANS_THR parameter name change
...
Signed-off-by: Roman <bapstroman@gmail.com>
7 years ago