Claudio Micheli
ec5d36d9c7
UAVCAN esc: relax threshold for detecting offline escs.
...
Signed-off-by: Claudio Micheli <claudio@auterion.com>
2019-08-23 11:40:53 -04:00
Claudio Micheli
f3eafdc296
Fix wrong initialization of PWM_AUX_RATE.
...
Signed-off-by: Claudio Micheli <claudio@auterion.com>
2019-08-23 15:37:57 +02:00
Julian Oes
a7c541d7e2
version: more tests to check tags with - prefix
2019-08-23 13:18:52 +02:00
Julian Oes
3fa3cbd28a
version: add beta tag
...
This adds the "beta" tag and adds a dash before "rc" or "beta".
2019-08-23 13:18:52 +02:00
Julian Oes
c3529baa5b
jMAVSim: disable GUI using HEADLESS=1
...
@katzfey added the option to run jMAVSim without GUI. Now we just need
to read the HEADLESS env variable to use it.
2019-08-23 09:27:42 +02:00
Daniel Agar
3c0f4f9ace
Jenkins hardware snapdragon build with CCACHE_BASEDIR and dump logs
2019-08-22 16:20:39 -04:00
Daniel Agar
331b533b3d
Jenkins hardware linux add CCACHE_BASEDIR for rpi build
2019-08-22 15:46:39 -04:00
Daniel Agar
e7e477962c
snapdragon fix sanity test and add to Jenkins hardware
2019-08-22 15:11:32 -04:00
Daniel Agar
b45f459ef1
Jenkins add linux (raspberry pi) build and test
2019-08-22 15:09:04 -04:00
Julian Oes
68078795c0
px_update_git_header.py: allow -beta/-rc in tag
...
This changes two things:
- This adds "-beta" as a valid tag suffix.
- This changes "rc" without "-" to "-rc". "rc" without is now described
as deprecated and with "-rc" is preferred.
2019-08-22 18:45:50 +02:00
bresch
f4b40865af
SmoothVel - Fix altitude lock logic.
...
It was broken because _velocity_setpoint is used for input and output
and was assumed to be the input at a place where it was already overwitten
To clarify this, the input setpoint is renamed "target"
2019-08-22 16:43:41 +02:00
Julian Oes
dd2d5c029f
platforms: match usb-Hex_ProfiCNC device ( #12772 )
...
This means that we are able to detect and flash the Pixhawk Cube Black.
2019-08-22 01:32:39 -07:00
Todd Colten
b55ae09f00
FW: set default RTL_TYPE = 1 for fixed wing
...
This change adds the line "param set RTL_TYPE 1" to the default init scripts for fixed wing. Similar to the other PR that sets default RTL_TYPE=1 for VTOLs, RTL_TYPE=1 should be default for normal fixed wings as well. Reference: https://github.com/PX4/Firmware/pull/12746/files
2019-08-22 08:47:50 +02:00
JaeyoungLim
950dbc1d2e
Rover: Enable Offboard support for Rover position control
2019-08-21 12:04:19 -04:00
Daniel Agar
ccdc2dffa9
WQ decrease att_pos_ctrl stack
2019-08-21 11:59:50 -04:00
Julien Lecoeur
7fa885c7b3
Document the behaviour of TERMINATE and LOCKDOWN in comments
2019-08-21 07:56:20 -07:00
Julien Lecoeur
85c2e7d65d
Offboard failsafe actions: cleanup and move to dedicated functions
2019-08-21 07:56:20 -07:00
Julien Lecoeur
84eeacfb38
Offboard failsafe actions: add DISABLED, LOCKDOWN and TERMINATE options
2019-08-21 07:56:20 -07:00
Julien Lecoeur
4c9288d993
Commander: cleanup COM_POSCTL_NAVL parameter
...
- move to px4::params
- use enum
2019-08-21 07:56:20 -07:00
Julien Lecoeur
907b6ccf46
fmu: fix implicit fallthrough
2019-08-21 07:56:20 -07:00
Julien Lecoeur
d41f72f092
Re-enable implicit-fallthrough warning
2019-08-21 07:56:20 -07:00
Beat Küng
7f6a9e587f
logger: fix multiple format definitions for multi-instance topics
...
With https://github.com/PX4/Firmware/pull/12123 all multi-instance topics
lead to repeated format definitions in the ULog file.
2019-08-21 10:47:31 -04:00
Julian Kent
5c68880b56
Reset parameters in test setup, not teardown
2019-08-21 14:53:41 +02:00
Julian Kent
ddd4181b39
Don't run each functional test in a different process
2019-08-21 14:53:41 +02:00
Julian Kent
63140f1d61
Do a single setup of uORB/Parameters instead of once every test
2019-08-21 14:53:41 +02:00
Jaeyoung-Lim
914417f580
Enable offboard local position setpoints for fixed wing position control
2019-08-21 12:12:29 +02:00
Silvan Fuhrer
536f073d02
VTOL: set RTL_TYPE default for VTOL to 1 (return to home via mission landing if available)
2019-08-21 10:15:06 +02:00
Silvan Fuhrer
8a8cc3b52b
Navigator: VTOL: set heading of transition of a VTOL_TAKEOFF to the VTOL_TAKEOFF waypoint (and enforce heading)
...
Signed-off-by: Silvan Fuhrer <silvan@auterion.com>
2019-08-21 10:08:04 +02:00
Silvan Fuhrer
b1d38ee050
Navigator: VTOL: fix mission yawing timeout (MIS_YAW_TMT)
...
Signed-off-by: Silvan Fuhrer <silvan@auterion.com>
2019-08-21 10:08:04 +02:00
Silvan Fuhrer
ab28f1e4f7
Navigator: VTOL: disable weather vane during yaw aligning before front transition
...
Signed-off-by: Silvan Fuhrer <silvan@auterion.com>
2019-08-21 10:08:04 +02:00
baumanta
af0d63250c
check velocity_setpoint instead of sticks in altitude mode
2019-08-21 10:02:40 +02:00
baumanta
d168d5049f
check vel_setpoint instead of stick input for position lock
2019-08-21 10:02:40 +02:00
Silvan Fuhrer
5a736c9af8
update babyshark VTOl config
...
Signed-off-by: Silvan Fuhrer <silvan@auterion.com>
2019-08-21 05:23:25 +02:00
Daniel Agar
5d813224c8
PX4 SPI default to thread locking mode
2019-08-20 21:36:21 -04:00
Daniel Agar
7d248e0f45
px4fmu: move to WQ with uORB callback scheduling ( #12224 )
2019-08-20 20:24:12 -04:00
Daniel Agar
b439e08e24
tone_alarm move to uORB::Subscription
2019-08-20 19:44:03 -04:00
Daniel Agar
5ae408382b
led drivers and controller move to uORB::Subscription
2019-08-20 14:03:23 -04:00
Daniel Agar
41dee3875e
VTOL: only run on actuator publications corresponding to VTOL mode
2019-08-20 13:50:34 -04:00
Tanja Baumann
be233f6bc7
Collision Prevention: don't allow moving outside sensor FOV ( #12741 )
...
* don't allow moving outside FOV
* Update parameters in tests
2019-08-20 17:01:13 +02:00
Daniel Agar
d38dfcfcd3
uORB::Subscription fix initialization but not yet published case
...
- otherwise uORB::Subscription will erroneously report published after the first successful initialization of an unpublished topic
2019-08-20 10:28:09 -04:00
Daniel Agar
6cf55ac83a
av_x-v1 fix timer_config clock bit
2019-08-19 15:22:08 -04:00
Daniel Agar
737f5d4e3d
px4io fix code style
2019-08-19 15:11:39 -04:00
dlwalter
310fd80405
added logic to encode NAN as INT16_MAX to transfer to IO from FMU
2019-08-19 21:08:11 +02:00
Hamish Willee
c1c253d9be
TRIG_PINS: clarify TRIG_PINS on FMU ( #12714 )
2019-08-19 14:45:59 +02:00
garfieldG
1958275495
drivers/boards/common: now checks if board has "px4-io" in its name instead of just "io"
2019-08-19 08:45:42 -04:00
Beat Küng
a7eed520b4
commander: refactor module usage output
2019-08-19 10:54:56 +02:00
Beat Küng
d64d3170c0
commander unit tests: enable preflight checks
...
- the last check expects pre_arm to run so we need to enable the
preflight checks. This is closer to the real system.
- as a result we need to enable HIL for other tests so that the sensors
are not checked.
2019-08-19 10:54:56 +02:00
Beat Küng
878ed8136c
commander: add 'commander arm -f' command to force arming
...
This allows to bypass preflight and prearm checks.
During development there are regular cases where I just want to arm the
board/vehicle no matter what, and the preflight checks are guaranteed to
fail (e.g. sensors uncalibrated, inconsistent, powered via USB, etc.).
Allowing an easy and quick way to arm (assuming you know what you are
doing) helps to speed up development considerably and is less frustrating.
2019-08-19 10:54:56 +02:00
Beat Küng
b8dba34fd0
commander arming_state_transition: do not call prearm_check if !fRunPreArmChecks
...
Reason: if you don't want preflight checks, you don't want prearm checks
either (these are the circuit breakers, like usb connected check).
The other changes are cleanup and rework of operations.
In most cases, arming_state_transition is called with fRunPreArmChecks set
to true, so no change in behavior.
The cases with fRunPreArmChecks=false are:
- unit tests
- in_arming_grace_period=true (quick arming after disarm)
- VEHICLE_CMD_PREFLIGHT_CALIBRATION (does not transition to armed)
2019-08-19 10:54:56 +02:00
Daniel Agar
f9f2afd856
add .gitattributes to force all line endings to LF
...
- this improves the windows development experience when moving between cygwin, WSL, and native tools
- cmd and bat files are left alone (we don't currently have any)
2019-08-18 14:13:26 -04:00