Daniel Agar
3600225ed4
wind_estimator trim module documentation to fit in limit
7 years ago
Daniel Agar
f1bb61769f
wind_estimator fix LPWORK/HPWORK confusion and cleanup
7 years ago
Roman
8400d42988
wind estimator: fixed minor comments
...
Signed-off-by: Roman <bapstroman@gmail.com>
7 years ago
Roman
86b525ad2c
wind_estimator: use ModuleParams class to handle parameters
...
Signed-off-by: Roman <bapstroman@gmail.com>
7 years ago
Roman
1fd1a426bb
cmake configs: don't build wind estimator for fmu-v2 due to lack of flash space
...
Signed-off-by: Roman <bapstroman@gmail.com>
7 years ago
Roman
d2ebb0c7a2
ekf2: advertise wind topic early to make sure ekf2 get the first instance
...
Signed-off-by: Roman <bapstroman@gmail.com>
7 years ago
Roman
5b067df01e
wind_estimator: cleanup
...
Signed-off-by: Roman <bapstroman@gmail.com>
7 years ago
Roman
33c1bcb983
wind_estimator: set missing task_id
...
Signed-off-by: Roman <bapstroman@gmail.com>
7 years ago
Roman
53e22661d4
wind_estimator: unsubscribe from topics and unadvertise wind topic
...
Signed-off-by: Roman <bapstroman@gmail.com>
7 years ago
Roman
df3a3daa0f
start wind estimator for relevant platforms
...
Signed-off-by: Roman <bapstroman@gmail.com>
7 years ago
Roman
9dc7d1dd74
cmake configs: added wind estimator to relevant configs
...
Signed-off-by: Roman <bapstroman@gmail.com>
7 years ago
Roman
7c0f043116
added module which implements wind & airspeed scale factor estimator via
...
work queue
Signed-off-by: Roman <bapstroman@gmail.com>
7 years ago
Roman
9e1089a4fc
wind estimate msg: added more relevant data
...
- true airspeed innovation and variance
- sideslip angle innovation and variance
Signed-off-by: Roman <bapstroman@gmail.com>
7 years ago
Karl Schwabe
d952fe028e
MPU6000: unadvertises the accel and gyro uORB topics in destructor
7 years ago
Roman
cb30d66cef
convergence config: increase multirotor idle speed
...
- increase the minimum pwm value for multirotor mode since we experienced
the rear motor stalling in certain situations when throttle was low
Signed-off-by: Roman <bapstroman@gmail.com>
7 years ago
sanderux
d87b7ac7f4
Fix scale application on FW throttle baro compensation
7 years ago
Daniel Agar
b6b7fddb9f
TECS and L1 switch to matrix math library ( #9101 )
7 years ago
Daniel Agar
e63f9d9bf6
mathlib Limits move radians/degrees to header ( #9102 )
7 years ago
Alessandro Simovic
cd250831d5
commander: removed duplicated startup tune
...
Addressing review comments in PR #9096
7 years ago
Martina
be275b880b
tunes: add fallthrough macro
7 years ago
Simone Guscetti
ee0ae079ff
tests: test_hrt modernize NULL with nullptr
7 years ago
Simone Guscetti
879c698cab
libtunes: Change TuneID::ERROR in ERROR_TUNE
...
This prevents the expanction of the ERROR macro inside the TuneID enum
7 years ago
Simone Guscetti
79dacdda2c
tune_control: update comment
7 years ago
Simone Guscetti
e140c37fe3
systemcmds: tests update to cpp file for test_hrc
7 years ago
Simone Guscetti
50d35f63be
tune_control: Remove the tune defines
7 years ago
Simone Guscetti
ce952d8f64
drv_tone_alarm: Add tune definition
7 years ago
Simone Guscetti
4c6daf0748
libtunes: Update tunes and mkblctrl to use the tune_definition
7 years ago
Simone Guscetti
26b721ac8b
libtunes: Add new tune_definition file
7 years ago
Simone Guscetti
20905ce478
stm32: board_reset, keep legacy definition for old chips
7 years ago
Simone Guscetti
217a67f956
px4_micro_hal: Add up_internal for stm32f7 builds
...
This is included in other stm32 architectures in the stm32.h file.
7 years ago
Simone Guscetti
2b81331f8a
stm32: board_reset, change backup register
...
Change to be coherent with the change on NuttX upstream, in the future
STM32_BKP_BASE will be removed. This is using the definition over stm32_rtc.h interface.
7 years ago
Beat Küng
76aa044105
navigator mission: add yaw offset to vehicle's yaw for ROI cmds and disabled gimbal yaw
7 years ago
Beat Küng
09dba29b6c
fix vehicle_roi.msg: re-add ROI_WPINDEX
...
The indexes are directly mapped from MAVLink, thus the actual value is
important.
7 years ago
Beat Küng
a0372c6183
vmount: implement VEHICLE_CMD_DO_SET_ROI_WPNEXT_OFFSET
7 years ago
Beat Küng
cc777a80ff
vehicle_roi.msg: remove unsupported fields
7 years ago
Beat Küng
aaa67632ca
navigator: remove redundant switch block for ROI handling
7 years ago
Shivam Chauhan
062e44061d
bmp280 changed variable name to resolve shadow declaration issue. ( #9100 )
7 years ago
Thomas Stastny
52e5e0df14
fw_att_control: schedule trims for airspeed and flap deployment ( #8937 )
7 years ago
ksschwabe
6d445cf5a6
Adds ability for generate_listener.py to process out-of-tree uORB message definitions as well ( #9097 )
7 years ago
barzanisar
34dd68bee1
Update syslink_main.cpp
7 years ago
barzanisar
a6e35ab7f7
Beat's changes to make QGC connect with crazyflie
7 years ago
barzanisar
691a5c6532
Beat's changes in syslink work so reverting this
...
No need for this since beat's changes in syslink_main.cpp work for connecting crazyflie to QGC.
Will open a separate PR for it.
7 years ago
barzanisar
0f79222ff9
This makes QGC connect with crazyflie
...
Discussed in https://github.com/PX4/Firmware/issues/8924
7 years ago
AlexKlimaj
08a53a9056
batt_smbus add complementary filter and small fixes ( #9080 )
...
* Batt_smbus. Added complementary filter to remaining capacity, reversed warning state checks, and added remaining/discharged out of range checks to handle bad battery calibrations
* Changed errx to PX4_ERR
* Added PX4_ERR returns
7 years ago
Kabir Mohammed
7776789b7d
rc.sensors : fix startup for lidars on Pixhawk boards ( #9058 )
7 years ago
Amir Melzer
f68f897820
update submodule to include changes in the ASLUAV BMS message ( #9083 )
7 years ago
Matthias Grob
ed0b6db2de
mc_att_control: clarify comment about yaw feed forward
7 years ago
Matthias Grob
ff25c7f48a
ensure attitude setpoint initialization before arming
...
- On initialization _v_att_sp got filled with zeros
leaving invalid quaternions
- While not armed mc_pos_control did not publish any
attitude setpoint which makes no sense
- The attitude control just uses the data in _v_att_sp
if it was (ever) updated or not
7 years ago
Matthias Grob
e32b04fff1
mc_att_control: catch numerical out of domain case
...
While operating on exactly normalized float quaternions
it can aparently still happen that one of the elements
gets just slightly above 1 or below -1 and hence out of
the domain of the acosf and asinf functions resulting in
NaN. The constrain function uses stricly smaller/bigger
comparisons and catches all tested cases.
7 years ago
Matthias Grob
42f4e62a04
mc_att_control: clarify corner case comment
7 years ago