Matthias Grob
68e2940f58
math: support max of three values additional to min and use it everywhere
3 years ago
Matthias Grob
e8676fe87a
BATTERY_STATUS: improve filling cell voltage
...
according to review comment
3 years ago
Matthias Grob
b41e345a5b
battery: correct updateBatteryStatus() description
3 years ago
Matthias Grob
ee3bc6673a
AnalogBattery: make update variables const
3 years ago
Matthias Grob
fdc40880d0
battery: separate out publishing from updating
...
to allow smart battery drivers to use the battery class and
filling in additional information in case it makes sense.
3 years ago
Matthias Grob
e70d70468a
battery: pass voltage and current by setter
3 years ago
Matthias Grob
39641494da
battery: pass connected flag in by setter
3 years ago
Matthias Grob
38d23f5345
battery: pass priority in by setter
3 years ago
Matthias Grob
f9fc9a9af6
battery: pass source in by constructor
3 years ago
Matthias Grob
b965923c08
battery: fetch throttle value inside of class
3 years ago
Matthias Grob
ddc6b6bc9c
battery: move MAVLink specific handling out of battery class
3 years ago
Matthias Grob
da2fdf923e
battery parameters: allow usage of 1S battery
3 years ago
Jukka Laitinen
d0d7f29422
platforms/common/shutdown.cpp: Enable boardctl functions for shutdown and poweroff
...
Shutdown and poweroff must go through boardctl in NuttX protected build
Signed-off-by: Jukka Laitinen <jukkax@ssrc.tii.ae>
3 years ago
Daniel Agar
7185bb3243
vmount: output rc simple protections
3 years ago
bresch
c947562183
ekf: get rid of intermediate variable "fuse_height"
3 years ago
bresch
9651f78b0a
ekf: centralize the height fusion decision
3 years ago
bresch
d583ef6b79
ekf2: move height fusion code to separate source file
3 years ago
Daniel Agar
452a7199a6
Jenkins: HIL stop modules before running certain tests
3 years ago
Daniel Agar
f9faa97d85
Tools/HIL/run_nsh_cmd.py increase timeout 3->4 minutes
3 years ago
Daniel Agar
01e60e853e
navigator: increase stack slightly
3 years ago
Daniel Agar
41378fcef9
ms5611: lower SPI clock 20 MHz -> 16 MHz
...
- this was necessary to get the secondary ms5611 working reliably on a
particular CubeOrange
- the sensor is transferring very little data, so lowering the speed by
default everywhere is harmless
3 years ago
Daniel Agar
8cd517f533
dataman: PX4_ERR on create_work_item failure
3 years ago
Daniel Agar
9ab633c18f
drivers/imu/invensense: check register bank during probe if necessary
...
- the WHO_AM_I is only accessible in register bank 0, which might not
be currently selected if the sensor didn't have a clean reset
3 years ago
Daniel Agar
4bf1b46e47
boards: free up flash on crazyflie and omnibus
3 years ago
Daniel Agar
2256def180
Jenkins: hardware run param dump
3 years ago
Daniel Agar
1f6acd0171
parameters: add simple backup and restore mechanism
3 years ago
Daniel Agar
e692f4ca01
ROMFS: rcS param import fail try to gather data
...
- startup tune and console message to notify user
- save dmesg and param bson copy to microsd
- run param dump to show full contents of bson
3 years ago
Daniel Agar
674b92df18
parameters: sleep 10 ms before retrying a failed import/export
3 years ago
Daniel Agar
7bfebf5289
parameters: add param dump to read and decode bson to console
3 years ago
Daniel Agar
7560d45c61
parameters: import tolerate unhanlded BSON types
3 years ago
Daniel Agar
9db5bc0755
px4_mtd: increase retries, wait inbetween, try decreasing frequency
3 years ago
Daniel Agar
1af068179e
parameters: tinybson print errors and count imported types
3 years ago
Silvan Fuhrer
ba1526896d
Navigator: VTOL: remove generate_waypoint_from_heading()
...
The FW Position controller sets the wp to be tracked during a
VTOL front transition, the coordinates sp set here weren't used.
Signed-off-by: Silvan Fuhrer <silvan@auterion.com>
3 years ago
Matthias Grob
10ceea2fe6
geo: refactoring on comments and usage
3 years ago
Thomas Debrunner
8db7a6225b
geo: Moved the map_projection_* functions and state into a self-contained C++ class
3 years ago
Daniel Agar
fe23718e2c
drivers/gps: require valid device to start
3 years ago
Daniel Agar
3160e7a3cd
Jenkins: run calib_udelay on test rack
3 years ago
PX4 BuildBot
01192e3c37
Update submodule simulation-ignition to latest Sun Dec 5 12:38:56 UTC 2021
...
- simulation-ignition in PX4/Firmware (4e3d944f58
): 0ea4dbe2c3
- simulation-ignition current upstream: 483193d9b8
- Changes: 0ea4dbe2c3...483193d9b8
483193d 2021-11-27 JaeyoungLim - Merge pull request #2 from PX4/pr-upstream-merge
4f3fd67 2021-11-27 Jaeyoung-Lim - Merge remote-tracking branch 'origin/master' into pr-upstream-merge
bd96d89 2021-11-27 Jaeyoung-Lim - Use mavlink develop dialect
bba86d6 2021-11-27 Jaeyoung-Lim - Fix firmware build test on github actions
e78ad94 2021-09-04 Jaeyoung-Lim - Update Readme
63ac33c 2021-09-03 Jaeyoung-Lim - Rename world path to accomodate different models
794a8dc 2021-07-12 Jaeyoung-Lim - Add ignition gazebo firmware build test
3 years ago
Daniel Agar
58421f2edc
Update submodule GPS drivers to latest Fri Dec 3 12:38:58 UTC 2021
...
- GPSDrivers in PX4/Firmware (3e0d06c65167c0bd79c193ea75ca5c7959053ff7): bd72eb6794
- GPSDrivers current upstream: d6940d9c8c
- Changes: bd72eb6794...d6940d9c8c
d6940d9 2021-12-02 alexklimaj - Update F9P moving base with direct UART2 connection
eb0cb58 2021-11-25 sebastian - always using groundspeed for vel_m_s in ubx driver
0408160 2021-11-18 alexklimaj - Remove extra UART1 baudrate set
3 years ago
Daniel Agar
f63a7642d6
NuttX debug helper improvements
...
- use NuttX gdb script for nxthreads and thread backtrace
- update jlink_gdb_backtrace and jlink_debug_gdb helper targets to use
NuttX gdb script
- Debug/PX4 fix "perf" divide by zero
- Debug/PX4 add "dmesg"
3 years ago
Daniel Agar
10f2564ae8
systemcmds/tests: dataman test use proper signed type for dm_read() return
3 years ago
Daniel Agar
713350930d
boards: px4_fmu-v5 add test variant
3 years ago
Daniel Agar
37c1598f38
boards: cubepilot_cubeorange enable calib_udelay and run on test rack
3 years ago
Daniel Agar
7d515e3d58
boards: cubepilot_cubeorange lower cpu clock 480 -> 400 MHz to reduce temperature
3 years ago
PX4BuildBot
aae794965a
[AUTO COMMIT] update change indication
3 years ago
PX4 BuildBot
4478877820
Update world_magnetic_model to latest Sun Dec 5 11:14:12 UTC 2021
3 years ago
Matthias Grob
4e3d944f58
mixer_module: typo con(s)tructor
3 years ago
Julian Oes
accbdbf129
DEBUG: get some mavsdk_test_runner.py output
3 years ago
Julian Oes
7c0165ea0c
ROMFS: avoid setting none params
3 years ago
Julian Oes
f537b30c86
init.d-posix: exit on error
...
This fixes a case where the px4 startup is not stopped when the
px4 process is killled using -SIGKILL against the px4 deamon.
In that case, the currently executing command/client is killed
and properly shutting down with result -1, however, the next command
is started anyway.
This means that the next time we try to run the simulation we get a
"PX4 daemon already running for instance 0" error and PX4 doesn't start
properly.
By adding exit on error, we properly exit in the case where the startup
script gets stopped/killed.
3 years ago