Katrin Moritz
258e5ca5c9
Rename of the DF Robot Rover Airframe
2020-08-10 09:46:36 -04:00
Daniel Agar
97fc1db768
vehicle_local_position: rename yaw -> heading and add reset logic
...
- vehicle_global_position yaw removed (redundant)
2020-08-10 11:42:03 +02:00
bresch
33fb9d0c62
Commander: update home position yaw in case of EKF yaw reset
...
This makes sure the drone lands in the correct orientation
during RTL even if the initial yaw at takeoff was wrong.
2020-08-10 11:42:03 +02:00
bresch
0ad3ddd864
Tko ramp: fix takeoff issue with large tko ramp time
...
Because the velocity starts with a positive value (down) to ramp-up
slowly the motors, the position setpoint (integral) was going down into
the ground, canceling the input of the velocity controller during the
early takeoff phase.
Instead of a smooth ramp, the behavior was a delay followed by a quick
takeoff or a land detection.
Setting the current altitude setpoint with the current altitude during
this phase avoids the canceling effect and creates a takeoff purely
velocity-based.
2020-08-10 10:39:56 +02:00
Daniel Leonard Robinson
fa4818e467
vehicles: add new vehicle type: Airship ( #14862 )
...
Co-authored-by: Anton Erasmus <anton@flycloudline.com >
Co-authored-by: Beat Küng <beat-kueng@gmx.net >
2020-08-10 08:52:51 +02:00
Daniel Agar
454433c2ef
mpu9250: mag relax scheduling and checks
2020-08-09 14:24:49 -04:00
Daniel Agar
fbc8e1b09e
boards: mRo X2.1-777 fixes
...
- ardupilot bootloader compatibility (first 3 sectors)
- clock tree fixes
- start mavlink
- start mpu9250 magnetometer (only onboard mag)
- fixes https://github.com/PX4/Firmware/issues/15466
2020-08-09 14:24:49 -04:00
Daniel Agar
e16c8fa345
boards: add new Holybro Pix32v5
2020-08-09 11:48:38 -04:00
SungTae Moon
9707ac5316
implement gazebo simulation based on RTPS for multiple UAVs ( #15463 )
...
- add t option for target
- add iris_rtps model (PX4/sitl_gazebo#558 )
2020-08-08 13:19:19 +02:00
Daniel Agar
3002e74b4f
mavlink: publish telemetry_status per instance with all HEARTBEATS from the same system
...
- one telemetry_status publication per mavlink instance
- each telemetry_status has an array of HEARTBEATS
2020-08-07 12:23:52 -04:00
Thies Lennart Alff
f950fe8a38
uuv_att_control: added bodyrate setpoint to the geometric controller
...
* added bodyrate setpoint to the geometric controller
* started switching to new uORB API
2020-08-06 10:40:44 -04:00
Beat Küng
0f68121ae0
kopis 2 airframe: enable frsky telemetry
2020-08-06 00:08:23 -04:00
Beat Küng
bc9be2d040
frsky_telemetry: add support for inverted single-wire S.Port on F7
2020-08-06 00:08:23 -04:00
Beat Küng
b6052fbb11
nuttx: update submodule
2020-08-06 00:08:23 -04:00
Daniel Agar
3345bf39b8
cdev: remove unnecessary virtuals and increase opt level
...
- poll, poll_notify, register_class_devname, unregister_class_devname aren't virtual
- increase max optimization level on platforms that aren't flash constrained (MAX_CUSTOM_OPT_LEVEL)
2020-08-05 19:07:32 -04:00
JacobCrabill
b164174037
uavcan: stm32h7: Fix improper loopback handling
...
Fixes #15305
2020-08-05 12:42:27 -04:00
Daniel Agar
f9c8d38e44
gitattributes eol=lf for nearly all file types
...
- even windows notepad supports eol=lf these days, so I believe this is the right thing to do for sanity across cygwin, WSL, etc
2020-08-05 11:32:26 -04:00
Daniel Agar
de59d6c788
flight_tasks: pass previous setpoint as const reference
...
- perform setpoint checks in place to simplify and avoid copy
2020-08-05 10:50:15 -04:00
Beat Küng
e28395a58b
TRIG_MODE: update description to support 78
2020-08-05 09:02:58 +02:00
Hamish Willee
8c6bb697d8
Update json param field names
2020-08-05 07:35:01 +02:00
Igor Mišić
f5283e0da1
spracing_h7extreme: OSD enabled with added internal SPI bus flag
2020-08-04 19:07:15 -04:00
Daniel Agar
b6a17a6538
new IntrusiveSortedList container used for uORB, WorkQueues, and WorkItems
...
- new intrusive linked list container (c++ template) that sorts on insertion
- primarily for convenience inspecting things in the system like uORB or WorkQueues
- uorb status or top sorted alphabetically
- work_queue status threads sorted by priority, then items sorted alphabetically within each
2020-08-04 11:09:41 -04:00
Beat Küng
dfc2160489
commander: update vehicle_status with at least 2Hz
...
So we're sure it's logged.
2020-08-04 10:53:20 -04:00
Beat Küng
5f8c6512b3
vehicle_status: add latest arming/disarming reason
...
Makes it easier to debug.
2020-08-04 10:53:20 -04:00
Daniel Agar
1f5d0cd2d0
Update submodule mavlink v2.0 to latest Tue Aug 4 12:39:39 UTC 2020
...
- mavlink v2.0 in PX4/Firmware (b62b12460195df9f4cfe7d8424e79b2f47f9e599): https://github.com/mavlink/c_library_v2/commit/57be0ae2af8d020fe50d716e5ecfab7100d14816
- mavlink v2.0 current upstream: https://github.com/mavlink/c_library_v2/commit/cdcea1c68565e435d18f88c12a4d5db20b070df1
- Changes: https://github.com/mavlink/c_library_v2/compare/57be0ae2af8d020fe50d716e5ecfab7100d14816...cdcea1c68565e435d18f88c12a4d5db20b070df1
2020-08-04 10:47:52 -04:00
PX4 BuildBot
201a3a19ff
Update submodule ecl to latest Tue Aug 4 12:39:50 UTC 2020
...
- ecl in PX4/Firmware (78d30efcf77284b21c130fd31061844ee561aa64): https://github.com/PX4/ecl/commit/77b11129fa567160a2ec442438ed513cb9de89e7
- ecl current upstream: https://github.com/PX4/ecl/commit/7eb2b08eedb70817779bc7968cf34a4cf6f01fa0
- Changes: https://github.com/PX4/ecl/compare/77b11129fa567160a2ec442438ed513cb9de89e7...7eb2b08eedb70817779bc7968cf34a4cf6f01fa0
7eb2b08 2020-07-27 kamilritz - Yaw measurement jacobian to Vector4f
15d360f 2020-07-27 kamilritz - saved_mag_ef_cov to Squarematrix2f
7609bc6 2020-07-27 kamilritz - drag innov member variables to Vector2f
960b80e 2020-07-26 kamilritz - Do not update output filter a second time after reset to flow.
2020-08-04 10:47:15 -04:00
Daniel Agar
c40cf9a626
uORB: remove lost message count per DeviceNode
...
- update 'uorb status' to print basic info for all advertised DeviceNodes
- report vehicle_command gaps in commander, navigator, mavlink
2020-08-04 10:34:11 -04:00
Beat Küng
4282b3dd47
TRIG_PINS: allow triggering on 78 while still using the lower 6 pins for pwm
2020-08-04 13:37:40 +02:00
Beat Küng
ca189fefb7
v5x: use board-specific camera capture pin PI0
2020-08-04 13:37:40 +02:00
Beat Küng
316085c154
camera_capture: remove board-specific ifdef
2020-08-04 13:37:40 +02:00
Beat Küng
46208edfac
fix camera_trigger: no need to check for '_pins[i] < num_gpios'
...
_pins[i] >= num_gpios is a valid config.
2020-08-04 13:37:40 +02:00
Beat Küng
002e671d3f
fix pwm_out,dshot: set _num_outputs to 5 for mode_pwm5
2020-08-04 13:37:40 +02:00
Beat Küng
78e918ff3a
fix pwm_out: respect _num_outputs for calling up_pwm_servo_set()
...
_num_outputs is set according to the mode_pwmX call, which is required
for camera triggering.
This fixes camera triggering via PWM, as it avoids overwriting the channel.
2020-08-04 13:37:40 +02:00
Silvan Fuhrer
7a71cbb9bf
FlightTask Auto: use yaw setpoint from Navigator if disable_weather_vane is true
...
When disable_weather_vane is true, the vehicle is aligning for the transition waypoint
(VTOL) and thus the yaw setpoint from Navigator should be used.
Signed-off-by: Silvan Fuhrer <silvan@auterion.com >
2020-08-04 11:45:08 +02:00
Daniel Agar
a93052f9b2
boards/spracing/h7extreme: delete unused stackcheck build
2020-08-03 15:56:33 -04:00
Daniel Agar
834dcbeb3d
add spracing_h7extreme_default to builds
2020-08-03 15:56:33 -04:00
Igor Mišić
7eaa48e36f
New board: SP Racing H7 Extreme
...
Authored-by: igor.misic <igor.misic@rimac@automobili.hr >
2020-08-03 15:32:58 -04:00
Daniel Agar
ba640acfcc
mc_hover_thrust_estimator: validity flag and other small improvements/fixes
...
- track and publish validity based on hover thrust variance, innovation test ratio, and hysteresis
- only publish on actual updates or becoming inactive
- fix dt (previous timestamp wasn't being saved)
- use local position timestamp (corresponding) to accel data rather than current time to avoid unnecessary timing jitter
- check local position validity before using
- mc_hover_thrust_estimator: move from wq:lp_default -> wq:nav_and_controllers to ensure the hover thrust estimator runs after the position controller and uses the same vehicle_local_position data
- land_detector: check hover thrust estimate validity and adjust low throttle thresholds if hover thrust is available
- mc_pos_control: only use hover thrust estimate if valid
2020-08-03 10:30:52 -04:00
Hamish Willee
958d5a36ec
params: generate param metadata as MAVLink-compatible JSON component info ( #15389 )
2020-08-03 12:00:37 +02:00
Daniel Agar
6923d9eb64
Update submodule mavlink v2.0 to latest Sun Aug 2 16:36:28 UTC 2020
...
- mavlink v2.0 in PX4/Firmware (71c633fabbc7a00f263ff8dc3d624afa73d80c4d): https://github.com/mavlink/c_library_v2/commit/cf6e8cb415d0e4e1a6722f8d0026de85f18f3057
- mavlink v2.0 current upstream: https://github.com/mavlink/c_library_v2/commit/57be0ae2af8d020fe50d716e5ecfab7100d14816
- Changes: https://github.com/mavlink/c_library_v2/compare/cf6e8cb415d0e4e1a6722f8d0026de85f18f3057...57be0ae2af8d020fe50d716e5ecfab7100d14816
Co-authored-by: PX4 BuildBot <bot@px4.io >
2020-08-02 13:41:14 -04:00
PX4 BuildBot
d3a14b3ff1
Update submodule sitl_gazebo to latest Sun Aug 2 16:36:22 UTC 2020
...
- sitl_gazebo in PX4/Firmware (1191a0efe6 ): https://github.com/PX4/sitl_gazebo/commit/ce1eca2bd0bedf9305d09b622454fa21962d50ba
- sitl_gazebo current upstream: https://github.com/PX4/sitl_gazebo/commit/037ce1b3b88b1c25abc1f525fbbbec84589d090d
- Changes: https://github.com/PX4/sitl_gazebo/compare/ce1eca2bd0bedf9305d09b622454fa21962d50ba...037ce1b3b88b1c25abc1f525fbbbec84589d090d
037ce1b 2020-07-24 Jan-Hendrik Ewers - Oversight fix from #544 (#553 )
2020-08-02 13:40:34 -04:00
Daniel Agar
f5f2897486
land_detector: multicopter ground contact fixes, improvements, and cleanup
...
- if "landed" and "maybe_landed" states are false then both the "hit_ground" and the "low_thrust" condition need to be true in order to detect landing
- ground contact MC NAN setpoint workaround
- ground contact additionally check acceleration setpoint
- schedule with vehicle_local_position updates (most updates require valid local position)
- don't allow LNDMC_Z_VEL_MAX to exceed MPC_LAND_SPEED
- ground contact horizontal movement checks default to failed if estimates aren't available
2020-08-02 13:37:23 -04:00
Daniel Agar
63a23957b1
rc/dsm: decode improvements
...
- always check system field for validity
- reject any data outside of "servo position" valid range from Spektrum specification
- properly support XPlus channels (12+)
- debug message if channel count changes
2020-08-02 12:52:16 -04:00
Daniel Agar
1191a0efe6
Update ecl to geo_lookup, SymPy covariance, bugfixes
...
Co-authored-by: Matthias Grob <maetugr@gmail.com >
2020-08-02 12:26:48 -04:00
David Sidrane
e2a9b68fc7
kinetis:Add kinetis_gpiosetevent in PX4 layer
...
Adds a compatible gpiosetevent interface. The helper call the
low level functions while providing a consistent API with
xxxx_ gpiosetevent(uint32_t pinset, bool risingedge,
bool fallingedge, bool event, xcpt_t func,
void *arg);
This wrapper was rjected upstream.
2020-07-31 09:46:27 -04:00
David Sidrane
726b1aa8bb
Add nxp_fmuk66-e to CI
2020-07-31 09:46:27 -04:00
David Sidrane
e67486d603
nxp:Add support for rev E HW nxp_fmuk66-e
2020-07-31 09:46:27 -04:00
David Sidrane
f8b6de24c7
nxp_fmurt1062-v1:Assign board_id
2020-07-31 09:46:27 -04:00
Steve Nogar
48bf9268c3
rename Mixer to MixerBase to resolve case-insensitivity on mac
2020-07-31 09:37:49 -04:00
TSC21
342b1c5ded
microRTPS: client: properly set task/thread naming
2020-07-31 14:13:10 +01:00