Lorenz Meier
a444d2610a
Spektrum passive power: Only use if present
4 years ago
Lorenz Meier
641cc33d79
RC input: Always report DSM state
4 years ago
Lorenz Meier
e85afb22a5
FMUv5: Default Spektrum power to passive
4 years ago
Lorenz Meier
cc34d4601d
FMUv5: Support passive power controls
...
This ensures that FMU-side power controls are not interfering with IO-side power controls of DSM receivers if they happen to be OR-ed in the schematics
4 years ago
Lorenz Meier
6529e1444f
RC input: Better monitoring
...
The output is now less confusing in terms of which protocol is currently active.
4 years ago
Lorenz Meier
af28a298e5
DSM driver: Add option for passive power controls
4 years ago
Lorenz Meier
4237c8be25
Commander: Do not acknowledge binding
...
This is now done in the respective modules directly and based on implementation and execution state.
4 years ago
Lorenz Meier
2d1551e5bf
PX4IO: Acknowledge binding
4 years ago
Lorenz Meier
8445a08bff
RC input: Acknowledge binding (or indicate that feature is not implemented)
4 years ago
Lorenz Meier
44bdd5456f
PX4IO: Bind if not armed
...
DSM binding was disabled before if safety was off, which on a lot of multicopters is today the default. The logic is now checking instead for wether the system is armed.
4 years ago
Lorenz Meier
a34e57a4cc
Simulator: Increase stack, publication affinity
...
This commit increases the send thread stack size and changes the thread affinity of the lockstep clocking topic. It also improves verbosity in case error states occur.
4 years ago
Lorenz Meier
fda63f802e
Tone alarm: Adjust log levels
...
The earlier log levels represented normal operation scenarios as errors, this aligns the log levels.
4 years ago
Lorenz Meier
3cc53f551d
MAVSDK tests: Use full system timeout off
...
Depending on loop iterations for timeouts is not accurate, as usleep behavior depends on the system load and asking for a 0 ms sleep can potentially return immediately.
4 years ago
Lorenz Meier
e27d80abc4
Camera feedback: Indicate success
...
If the feedback module is loaded then we want to provide capture feedback.
4 years ago
Daniel Agar
404f74f996
boards: mro/pixracerpro add flight_mode_manager
4 years ago
RomanBapst
fe2e299046
FlightModeManager: small rebase change
...
Signed-off-by: RomanBapst <bapstroman@gmail.com>
4 years ago
Matthias Grob
e92795b474
Temporary logging addition to debug CI
4 years ago
Matthias Grob
fafbb687d8
FlightModeManager: fix integral reset on ground
...
This information could also be used for yaw and integral
resets of the lower level controllers.
4 years ago
Matthias Grob
7de288877a
MulticoperPositionControl: 3rd pass get rid of zombie members
4 years ago
Matthias Grob
62ada2e2dc
FlightModeManager: restore weathervane calls
...
I had to do an extra subscription to the vehicle attitude.
I don't know how to test this.
4 years ago
Matthias Grob
aa888223f0
FlightModeManager: fix takeoff state in stabilized mode
4 years ago
Matthias Grob
8edb06e94f
FlightModeManager: make sure emergency failsafe works
4 years ago
Matthias Grob
8329208b84
FlightModeManager: fix takeoff ramp from zero
4 years ago
Matthias Grob
88c274b3cd
MulticopterPositionControl: 2nd pass to move to FlightModeManager
4 years ago
Matthias Grob
f52bad87e2
mc_pos_control: separate out flight_tasks (into FlightModeManager)
4 years ago
Matthias Grob
7545249215
Add flight_mode_manager to all targets with mc_pos_control
4 years ago
Matthias Grob
fa7170bc4f
Add FlightModeManager
...
to separate out setpoint generation from controllers
4 years ago
Daniel Agar
49d4cc7d5b
commander: CMD_NAV_LAND/CMD_NAV_PRECLAND reply RESULT_ACCEPTED unless transition is denied
4 years ago
Benjamin Linne
80068093d6
add esc_battery module to modalai/fc-v1 build
4 years ago
Daniel Agar
91f5f26618
commander: main_state_transition call trivial style fixes
4 years ago
Daniel Agar
4f62355dec
msg: new estimator_status_flags message for more accessible ekf2 status logging
...
- log all estimator (ekf2) flags as separate booleans in a new dedicated low rate message (only publishes at 1 Hz or immediately on any change)
- this is a bit verbose, but it avoids the duplicate bit definitions we currently have across PX4 msgs, ecl analysis script, flight review, and many other custom tools and it's much easier for casual log review in FlightPlot, PlotJuggler, csv, etc
- for compatibility I've left estimator_status filter_fault_flags, innovation_check_flags, and solution_status_flags in place, but they can gradually be removed as tooling is updated
Co-authored-by: Mathieu Bresciani <brescianimathieu@gmail.com>
4 years ago
Lorenz Meier
ddc1f964d2
Mac OS CI: Harden against intermittent install failures
4 years ago
Lorenz Meier
565da15f2f
MAVSDK test: Increase timeout
4 years ago
Lorenz Meier
7510e6ba0a
FMUv2: Exclude rarely used configurations
4 years ago
Lorenz Meier
53711926ab
FMUv2: Exclude specialized fixed wing configs
...
The FMUv2 users can default back to generic configs for those.
4 years ago
Lorenz Meier
aa28c3bd3c
VTOL airframes: Exclude FMUv2
...
This excludes FMUv2 targets, since VTOL is already disabled on FMUv2.
4 years ago
Lorenz Meier
3d809134f5
Updating SITL gazebo (Mac OS fixes)
4 years ago
Daniel Agar
adb98d5702
mavlink: move HIL_ACTUATOR_CONTROLS to separate streams header
4 years ago
Daniel Agar
3b20310e9c
mavlink: move POSITION_TARGET_GLOBAL_INT to separate streams header
4 years ago
Daniel Agar
672a1c90aa
mavlink: move POSITION_TARGET_LOCAL_NED to separate streams header
...
- position type_mask
4 years ago
Daniel Agar
6b1d02feb7
mavlink: move RC_CHANNELS to separate streams header
4 years ago
Daniel Agar
48be6962d1
mavlink: move MANUAL_CONTROL to separate streams header
4 years ago
Daniel Agar
629d03b684
mavlink: move TRAJECTORY_REPRESENTATION_WAYPOINTS to separate streams header
4 years ago
Daniel Agar
5762c3b356
mavlink: move NAV_CONTROLLER_OUTPUT to separate streams header
4 years ago
Daniel Agar
9f57df75e8
remove rotation 41 (ROLL_270_YAW_180)
...
- duplicate of 31 (ROLL_90_PITCH_180)
4 years ago
Daniel Agar
a66cb0cbaf
mavlink: check TX buffer before processing command ack
4 years ago
bazooka joe
8d5813994f
format smart battery serial number as string on mavlink
...
according to change on mavlink protocol message
formatted as 'dd/mm/yy-123456'
4 years ago
Daniel Agar
ceadcd74d0
mavlink: CAMERA_TRIGGER stream check free tx buf before send
4 years ago
Daniel Agar
ae706537b8
mavlink: CAMERA_IMAGE_CAPTURED stream check free tx buf before send
4 years ago
Daniel Agar
27b631e827
mavlink: ADSB_VEHICLE stream check free tx buf before send
4 years ago