Julian Oes
ae219c3272
esc_battery: fix timeout check
5 years ago
Julian Oes
f650b91718
battery: check source param inside battery lib
...
This moves the handling of the BAT%d_SOURCE param inside of the battery
library. Users of the library now pass the source instead of the flag
whether to publish. The battery library then checks if the source is
selected using the param and publishes accordingly.
Since we removed the strange system_source flag, we now need to look at
all batteries in commander.
For current estimation - I think - it makes sense to sum them up.
5 years ago
Julian Oes
641612468b
ROMFS: start esc_battery if param is set
5 years ago
Julian Oes
b01cdafcf6
boards: add esc_battery to build
5 years ago
Julian Oes
509b8b6b4b
First skeleton for esc_battery module
5 years ago
Julian Oes
dcd34ed08d
battery: add ESCs source, remove wrong unit
5 years ago
Julian Oes
5beb293a6a
msg: fix typo
5 years ago
Daniel Agar
ad559a66a1
examples: add simple work_item example module
5 years ago
Daniel Agar
1d164c0dbd
px4_work_queue: sem_wait add loop as the wait may be interrupted by a signal
5 years ago
Julian Kent
9404b19906
Fix bezier scaling
5 years ago
David Sidrane
025799248c
holybro_durandal-v1:Ensure SDMMC power seqensing is clean
5 years ago
stmoon
9a0c50325b
remove exception in case that ROS is not installed
5 years ago
stmoon
aaa72b2a25
change how to get ros2 version
5 years ago
Hyon Lim
5f86ea71bc
UVify bootloader was not recognized properly because of wildcard string format in upload.sh.
...
It has more generalized to recognize UVify bootloader properly.
5 years ago
TSC21
144c65c92f
microRTPS: only use '-typeros2' FastRTPSGen option for Dashing and later ROS2 distros
5 years ago
Julian Oes
e34b452bab
setup: only run usermod if $USER is available
...
This always triggered an error when using in docker as root.
5 years ago
Julian Oes
be9f125c3d
mavsdk_tests: raise timeout for czspawn
...
And provide better output about what happened.
5 years ago
Julian Oes
9c04f66f06
mavsdk_tests: raise overall timeouts
...
This might prevent some false positives when CI is running slowly or
intermittently.
5 years ago
Julian Oes
28f4dc10ae
mavsdk_tests: make sure all log output is printed
...
This fixes the issue where the last lines of the log output was not
printed in case of error or on the verbose setting. This meant that
essentially the actual test error was not printed.
The fix involves two parts:
1. Firstly collect the output again even if a process has exited.
2. Collect all lines at once and not one line per iteration.
5 years ago
Claudio Micheli
dc29a994b7
msg: extend field definition in msg/esc_report (arming & failure states)
...
Signed-off-by: Claudio Micheli <claudio@auterion.com>
5 years ago
Julian Oes
4e091a369d
uavcannode: fix format
5 years ago
Jacob Dahl
ff1e5a595d
uavcannode: battery info publishing
5 years ago
RomanBapst
0d8d4cd6e0
SITL configs: improve L1 tracking and increase backtransition duration
...
-decrease L1 period for tighter mission tracking in fw mode
- increase backtransition duration, we can now do this is we have active
deceleration control
Signed-off-by: RomanBapst <bapstroman@gmail.com>
5 years ago
Daniel Agar
40b1043e12
NuttX boards minor lpwork and init stack increases
5 years ago
Beat Küng
dfb5b5d7d9
fix param import transition
...
* fix param import transition for MC_DTERM_CUTOFF
The previous implementation did not work, as there was a check for
param_find_no_notification() returning PARAM_INVALID for IMU_DGYRO_CUTOFF,
and therefore would not call param_modify_on_import().
This moves param_modify_on_import() before the check and makes it modify
the bson node directly.
* parameters: fix param import transition when testing is enabled
BUILD_TESTING is used for unit test builds, PX4_TESTING is used to enable additional test material within PX4
Co-authored-by: Daniel Agar <daniel@agar.ca>
5 years ago
Matthias Grob
2baa5ca4d7
minor build fixes and ignored warnings for GCC 9 ( #14159 )
...
- px4io task_main_trampoline add return
- iridiumsbd main_loop_helper add return
- drivers/uavcan ignore Wcast-align, Wdeprecated-copy, and Waddress-of-packed-member for now
- flashparams ignore Wvla-larger-than
- test_time fix printf type
5 years ago
TSC21
e9aba642fe
CI: bump container tags to 2020-04-01
5 years ago
TSC21
2020b77a43
microRTPS: use FastRTPSGen '-typeros2' option to generate the typenaming required to interface the bridge with ROS2 topics
5 years ago
Matthias Grob
ab6606aa46
PreFlightCheck: fix magnometer typo
5 years ago
RomanBapst
2522435f9c
vtol_att_control: got rid of VT_B_DEC_SP
...
Signed-off-by: RomanBapst <bapstroman@gmail.com>
5 years ago
Roman Bapst
47f0e91076
Apply suggestions from code review
...
Co-Authored-By: Mathieu Bresciani <brescianimathieu@gmail.com>
5 years ago
RomanBapst
005bc97959
tiltrotor: enable l1 and deceleration control during transition
...
Signed-off-by: RomanBapst <bapstroman@gmail.com>
5 years ago
RomanBapst
a916cc2a26
better comments
...
Signed-off-by: RomanBapst <bapstroman@gmail.com>
5 years ago
RomanBapst
0184d8196f
vtol_type: calculate backtransition acceleration in forward direction
...
- use track angle to calculate the current forward acceleration
Signed-off-by: RomanBapst <bapstroman@gmail.com>
5 years ago
RomanBapst
47b5d51369
vtol_type: added explicit control over deceleration during backtransition
...
Signed-off-by: RomanBapst <bapstroman@gmail.com>
5 years ago
RomanBapst
baf5e86f81
transition flighttask: don't control yaw and altitude during trans
...
Signed-off-by: RomanBapst <bapstroman@gmail.com>
# Conflicts:
# src/lib/flight_tasks/tasks/Transition/FlightTaskTransition.cpp
5 years ago
RomanBapst
b6a80253d7
run l1 during transition
5 years ago
Beat Küng
1f60a86d32
fix commander: need to copy all battery states in a cycle
...
Previously if in a cycle only a disconnected battery status updated, the
battery health state would switch to unhealthy during that time.
Fixes intermittent 'Arming denied! Check battery' preflight failures on
v5x with 1 power module connected.
5 years ago
Matthias Grob
70c28c7274
mc_pos_control_params: update MPC_POS_MODE description
...
- remove deprecated sport mode
- clarify wording
5 years ago
Daniel Agar
15332a7e56
boards: reduce CONFIG_NFILE_DESCRIPTORS 20 -> 15
5 years ago
Daniel Agar
aa2f3a6624
sensors: complete move to uORB::Subscription
5 years ago
Daniel Agar
7c8ab49eb9
boards: mro_ctrl-zero-f7 fix i2c
...
- STM32_HSI_FREQUENCY 24 MHz -> 16 MHz (required for NuttX stm32f7 i2c)
5 years ago
Daniel Agar
02f4ad61ec
I2C/SPI require device type in constructor
5 years ago
Daniel Agar
04bf9afd1b
CDev delete unused pub_blocked
5 years ago
Daniel Agar
b3fe235129
drv_mag: delete unused MAGIOCSRANGE, MAGIOCCALIBRATE, MAGIOCEXSTRAP, MAGIOCSTEMPCOMP
5 years ago
Daniel Agar
cfc087c6ad
rm3100: move to PX4Magnetometer and cleanup
5 years ago
Daniel Agar
a59aa865da
qmc5883: move to PX4Magnetometer and cleanup
5 years ago
Daniel Agar
ade52d612b
lsm9ds1_mag: minor cleanup
5 years ago
Daniel Agar
c9c08d00c3
lsm303agr: move to PX4Magnetometer and cleanup
5 years ago
Daniel Agar
5f6f1c554b
lis3mdl: move to PX4Magnetometer and cleanup
5 years ago