Julian Kent
e847ef1a4d
Add trig tests for wind calculations, and fix bugs / edge cases
4 years ago
Julian Kent
7482413005
Add Range-based RTL
4 years ago
Ricardo Marques
e817fb83f5
pwm_extra: Add PWM_EXTRA parameters.
...
Signed-off-by: Ricardo Marques <marques.ricardo17@gmail.com>
4 years ago
Ricardo Marques
7a8203bf19
Enable third mixer when using UAVCAN for main mixer.
4 years ago
Matthias Grob
02c0f08060
flashfs: fix alignment ambiguity
...
Instead of ignoring the warnings.
Thanks to @Ole2mail and @yuhaim for the suggestions.
4 years ago
TSC21
920d6d84b5
rtps: increase non-alias ID range by reducing the alias space ID
4 years ago
TSC21
54486b995e
uorb_rtps_message_ids: add required topics to enable offboard control from DDS
4 years ago
Daniel Agar
dab90f86a4
drivers/gps: limit to ublox only flash constrained targets
4 years ago
Ricardo Marques
78c05275d2
tailsitter: Fix differential thrust in FW mode.
...
Signed-off-by: Ricardo Marques <marques.ricardo17@gmail.com>
4 years ago
Daniel Agar
e4d223f098
boards: CUAV Nora fix BMI088 orientation
4 years ago
Daniel Agar
1ec10bfcc6
boards: disable CONFIG_ARMV7M_LAZYFPU again ( #16573 )
...
- this was causing hard faults on the CUAV Nora and possibly other boards, disabling everywhere until we fully understand the root cause
4 years ago
Daniel Agar
3abe2e82d1
mpu9250: create dedicated i2c version and delete legacy driver
...
- update crazyflie and bbblue usage
- eventually this should be merged with the SPI version after interface
changes are made
4 years ago
Daniel Agar
c9a7894230
boards: bitcraze crazyflie fix boot
...
- add console to USART3 for now
4 years ago
David Jablonski
2ed48f041c
mavlink: Templated SCALED_IMU mavlink stream
4 years ago
Matthias Grob
031bbb7f3e
FlightModeManager: handle commands all the time
...
Moving the command handling to a separate function that gets called
whenever a vehicle command is available to always react on commands
and not just when already a task is running.
This solves e.g. commanding an Orbit when in Staibilized.
4 years ago
Matthias Grob
df54f938ef
FlightModeManager: correct setpoint struct initialization
...
It is important that setpoints get initialized with NAN and not overwritten
if specifically set by a successful flight task execution. It's then
clear if any setpoints were intentionally and successfully set.
Crucial for the position controller's emergency failsafe and the
seamless setpoint handover to the next flight task.
4 years ago
Matthias Grob
63db61a700
FlightModeManager: correct acceleration setpoint feedback naming
...
The variable was never renamed correctly in this in between layer when
we switched from normalized thrust to acceleration setpoints.
4 years ago
Daniel Agar
4d7b875ee2
flight_mode_manager: merge with flight_tasks
4 years ago
RomanBapst
b1e442b830
vehicle_local_position: added bitfield for terrain estimate sensor info
...
- indicate how the distance to the bottom is estimated as this is important
to know in the context
Signed-off-by: RomanBapst <bapstroman@gmail.com>
4 years ago
bresch
eaa2ae9dc9
ekf2: add param to enable synthetic mag Z fusion mode
4 years ago
bresch
983234e29d
ekf2: add param to set rng check hysteresis
4 years ago
Silvan Fuhrer
195a900ecf
change default of RTL_LAND_DELAY to 0
...
Signed-off-by: Silvan Fuhrer <silvan@auterion.com>
4 years ago
Silvan Fuhrer
037c821142
ROMFS: increase max distance between waypoints for VTOL and FW to 5km
...
Signed-off-by: Silvan Fuhrer <silvan@auterion.com>
4 years ago
JacobCrabill
8e8497ff77
heater: px4io: Add support for heaters on IO MCU
4 years ago
Jaeyoung-Lim
653fef56de
Update sitl_gazebo
4 years ago
Jaeyoung-Lim
af1b4c473e
Start user camera plugin
...
This commit starts the gazebo_user_camera_plugin together with the gzclient, so that it is always following the vehicle
4 years ago
Matthias Grob
8a7878f65c
arch.sh: update zsh support, latest ARM GCC, gazebo AUR
4 years ago
Silvan Fuhrer
cee4016665
Preflight checks: Airspeed checks update
...
-check for valid airspeed_validated (declared valid plus updated less than 1s ago)
-added param (COM_ARM_ARSP_EN) to enable/disable check for max airspeed for arming set max
airspeed limit to half of stall airspeed
Signed-off-by: Silvan Fuhrer <silvan@auterion.com>
4 years ago
Can Berk Durmus
ba9611621d
Retune Typhoon H480 PID
4 years ago
David Sidrane
1c0ed74d6a
platforms/nuttx/NuttX/nuttx net backports
4 years ago
Beat Küng
ade3871bee
adc: add support for multiple sensor voltage channels
4 years ago
Beat Küng
e2337a34eb
system_power: add comp_5v_valid and can1_gps1_5v_valid
...
And fill it in from the v5x GPIO expander.
4 years ago
Beat Küng
704a82aaa6
gpio: extend support for /dev/gp* GPIO's
...
Note that there's a small CLI interface change.
4 years ago
Beat Küng
88fe047556
px4/v5x: enable mcp23009 GPIO driver
4 years ago
Beat Küng
3e4b8763a5
nuttx: add mcp23009 gpio driver
4 years ago
Beat Küng
e1983381e7
rcS: add SYS_PARAM_VER to param reset_all exception list
...
Avoids an extra reboot when resetting the airframe
4 years ago
Matej Frančeškin
ba6a8080ea
mavlink: don't respond to MAV_CMD_REQUEST_MESSAGE if component doesn't match
...
PX4 is responding with NACK to MAV_CMD_REQUEST_MESSAGE from a GCS to
payload-manager which confuses a GCS.
PX4 shouldn't respond to commands that are not broadcasted or specificaly
addressed to it.
4 years ago
Beat Küng
26e8c231b0
v5x,v6x: move mtd_caldata after mtd_id partition
...
to avoid losing factory calibration params on existing setups
4 years ago
Lorenz Meier
a282f3df8d
CLI test: Disable by default on NuttX
...
First target is to enable this for POSIX tests and then later to roll them out to NuttX.
4 years ago
Lorenz Meier
03e9e10847
Add CLI tests for basic soak testing
...
This is in no way a complete test suite but is intended as a starting point to get minimal
test coverage for CLI handling tests in. This is necessary to QA the CLI handling
(e.g. removal of commands) and to ensure that we are exercising these code paths in
stack check and alike tests.
4 years ago
Julian Oes
5ae5c03c66
mavlink: handle param4/5 from mission_item_int
...
It turns out that we did not properly handle param4 and param5 if they
are transferred using mission_item_int if the frame is
MAV_FRAME_MISSION.
4 years ago
Beat Küng
12ebbd995d
bmp388: wait a bit longer to schedule first cycle after reset
4 years ago
Beat Küng
529c3112ac
bmp388: quiet if startup fails (no sensor on bus)
4 years ago
David Sidrane
1e7dfe227a
stm32_common:board_hw_rev_ver Use Analog resistor detection
...
When the VER_DRIVE and REV_DRIVE are the same GPIO
we need to use Analog detection.
4 years ago
Jakub Kákona
b87dd317d4
airframes: add new airframe for ThunderFly TF-G2 autogyro ( #16551 )
...
Co-authored-by: Roman Dvorak <romandvorak@mlab.cz>
4 years ago
Thomas
df41c99b61
make failsafe handling consistent over all VTOL types
4 years ago
Thomas
38e46ff341
Rename VtolAttitudeControl::abort_front_transition(const char *reason) to VtolAttitudeControl::quadchute(const char *reason)
4 years ago
Thomas Stauber
40fbfdc054
Undo make format change
...
Co-authored-by: Matthias Grob <maetugr@gmail.com>
4 years ago
Thomas
83ddb77a5f
delete excess empty lines
4 years ago
Thomas
b90fafd5cd
Fix quadchute logic so that it also works during back transition
4 years ago