Daniel Agar
72792cef43
posix-configs shell scripts use /bin/sh to maximize compatibility ( #10292 )
...
- fix ocpoc line endings
2018-08-25 11:02:37 -04:00
Philipp Oettershagen
c997159e32
Fixed-wing autoland: Introduce parameter to enable/disable the early activation of the landing configuration
2018-08-24 10:13:07 -04:00
Philipp Oettershagen
334aa57a5f
Fixed-wing autoland: Remove the dynamic altitude acceptance calculation and just use a simple separate landing altitude acceptance radius instead. This gives users that do not use LOITER-TO-ALT waypoints more control over their landing procedure
2018-08-24 10:13:07 -04:00
Philipp Oettershagen
953cff7ba0
Fixed-wing autoland: Parameter description fixes
2018-08-24 10:13:07 -04:00
Philipp Oettershagen
20c02ae093
Fixed-wing autoland: Adapt according to @dagar's and @antiheavy's comments.
2018-08-24 10:13:07 -04:00
Philipp Oettershagen
08ceddaddb
Fixed-wing autoland: ALWAYS flare when close to the ground, independently of the horizontal distance to the land WP. This avoids that we crash into the ground at negative pitch and guarantees that the flare always starts at the same altitude above ground. However, the motor shutoff still depends on the horizontal distance to the LAND WP, thus avoiding that the motor is shut off prematurely
2018-08-24 10:13:07 -04:00
Philipp Oettershagen
ec4ccc1fcd
Fixed-wing autoland: Use a more appropriate (i.e. mostly tighter) altitude acceptance radius than just the standard altitude acceptance parameter (which may be too large to allow a precise autoland)
2018-08-24 10:13:07 -04:00
Philipp Oettershagen
4c4f585ad5
Fixed-wing autoland: 1) The landing configuration (flaps, different airspeed) is now already set during the loiter down instead of at the start of the landing approach. This is done to avoid any mode changes (which can cause altitude/airspeed jumps) so close to the gorund. 2) A scaling factor for the TECS throttle time constant was added which allows tighter throttle control during the landing (i.e. close to the ground) than high up in the air
2018-08-24 10:13:07 -04:00
Beat Küng
b6b935026a
mavlink: switch back from _mavlink_timesync.sync_stamp to hrt_absolute_time
...
- the timestamp is only used for logging and log analysis. For that it's
important to have the timestamp when a setpoint becomes active.
- there was a consistent problem with the position_setpoint_triplet
timestamp, where the timestamp was just bogus. Timesync seems to work
correctly though. Might be a problem on the sender side?
For example here:
https://logs.px4.io/plot_app?log=41918a7d-4c1d-464d-9abe-aef2c0818d92
2018-08-22 08:31:37 +02:00
dakejahl
f62e89638f
navigator: add yaw setpoint to rcloss state ( #10291 )
...
This fixes the issue where the vehicle yaws in a seemingly random direction when RC is lost.
2018-08-21 15:05:55 -04:00
Daniel Agar
29082d0118
commander battery_failsafe state machine share strings
2018-08-21 02:38:51 -04:00
Daniel Agar
6396e486bd
commander cleanup battery failsafe handling
2018-08-21 02:38:51 -04:00
Martina Rivizzigno
854e4ef3de
mc_pos_control_main: fix typo ( #10274 )
2018-08-20 10:56:43 -04:00
Hamish Willee
37aa2132e5
Make it clear up front that SDLOG is a bitmask
2018-08-20 15:12:08 +02:00
Daniel Agar
485c5db21e
Mavlink implement GPS2_RAW for 2nd GPS
2018-08-19 16:49:44 +02:00
mcsauder
3a22ee48db
Correct trailing whitespaces.
2018-08-18 15:15:41 -04:00
Daniel Agar
7d389a35ce
uORB: split uORBDevices into uORBDeviceNode and uORBDeviceMaster
2018-08-17 22:25:29 -04:00
Paul Riseborough
57052edfb2
logger: Log GPS drift data
...
This data is published at the GPS publication rate and only when on ground.
2018-08-17 10:44:07 +10:00
Paul Riseborough
c2fcef8fc1
ekf2: Tighten preflight GPS quality checks
...
Enable drift checks and reduce thresholds to reduce likelihood of commencing use of a unstable GPS position.
Publish drift data to assist with tuning.
2018-08-17 10:44:07 +10:00
dakejahl
f7147653ab
Navigator RTL: Removed the condition to transition straight to RTL_LAND if the previous setpoint was of type LAND. Not only does this not normally work, as the setpoints are cleared to invalid when navigator changes nav states, but the land lat/lon is set as home.lat and home.lot which is very wrong, as the vehicle would just beeline straight towards thatlocation. ( #10252 )
2018-08-16 18:08:46 -04:00
PX4 Build Bot
33ac659a10
Update submodule libuavcan to latest Thu Aug 16 15:14:07 EDT 2018
...
- libuavcan in PX4/Firmware (9c9160e015aa68ee7efe456dae7de6fc9a819715): 3ca697e64d
- libuavcan current upstream: aa3650d34d
- Changes: 3ca697e64d...aa3650d34d
aa3650d 2018-08-16 Pavel Kirienko - Merge pull request #156 from UAVCAN/master_kinetis_flexcan
0dc5751 2018-07-30 Pavel Kirienko - Merge pull request #155 from hjoertel/change-start-script
ff040ea 2018-07-30 Oertel - removed the confusing "echo ..." line (it confused Pavel)
8bb5677 2018-07-30 Oertel - replaced the depricated ifconfig command by the ip command
2018-08-16 12:49:13 -07:00
Daniel Agar
36403e9025
Mavlink expand telemetry_status and split radio_status
2018-08-16 17:32:15 +02:00
ChristophTobler
b14839ab2b
mc_pos_ctrl: send vehicle cmd if task fails and task should be switched
...
without this tasks will be switched all the time and the drone starts driftig
2018-08-16 09:48:59 +02:00
Daniel Agar
ce18225710
cmake px4_add_module add unity build support
...
- a unity build is a single compilation unit per module
2018-08-16 09:47:29 +02:00
Dennis Mannhart
a9d83b77de
ControlMath: math optimization
2018-08-15 16:19:51 +02:00
David Sidrane
cff3d55d33
uavcanesc:Fix date in copyright
2018-08-14 09:38:15 -04:00
David Sidrane
34812be2de
uavcan:Fix date in copyright
2018-08-14 09:38:15 -04:00
David Sidrane
619c9c5810
Update libuavcan submodule with Kinetis Flexcan submodule
2018-08-14 09:38:15 -04:00
David Sidrane
88cb57a093
update libuavcan with Kinetis support
2018-08-14 09:38:15 -04:00
David Sidrane
5c7cbc4d30
nxphlite-v3:Add uavcan
2018-08-14 09:38:15 -04:00
David Sidrane
4bd5c02455
uavcan:add architecture specific driver header
2018-08-14 09:38:15 -04:00
David Sidrane
78fcf1dc28
uavcan use the specified architecture driver
2018-08-14 09:38:15 -04:00
David Sidrane
caa0700ca3
uavcan:Build system specify architecture
2018-08-14 09:38:15 -04:00
David Sidrane
0c3386d255
uavcan:virtual_can_driver removed unused arch specific header
2018-08-14 09:38:15 -04:00
Beat Küng
83ea7fa45e
camera_feedback: remove unused class member & call orb_unsubscribe()
2018-08-13 21:50:14 -04:00
Beat Küng
273988c124
SITL: move all models to unified rcS startup and remove old scripts
2018-08-13 21:50:14 -04:00
Beat Küng
e6b9806ee1
SITL: add multi-vehicle support to rcS
...
This also removes the HIGHRES_IMU mavlink stream to the GCS. I don't see
why it's needed and it adds noticeable CPU load.
2018-08-13 21:50:14 -04:00
Beat Küng
b1c56813ae
gpssim: fix process name
2018-08-13 21:50:14 -04:00
Beat Küng
2baa4681d2
camera_feedback: add to SITL config
2018-08-13 21:50:14 -04:00
Alexis Paques
6b8ea8e543
Mavlink SET_ACTUATOR_CONTROL_TARGET support group_mlx ( #7477 )
...
- Allow to use the 4 groups from Mavlink
- Allow an Offboard control of the Gimball, Gripper or servoes.
- Fixes issue #7440
Signed-off-by: Alexis Paques <alexis.paques@gmail.com>
2018-08-12 10:08:50 -04:00
Beat Küng
f414d0c413
SYS_COMPANION: add 1500000 baud to metadata & increase the data rate
2018-08-10 07:11:07 +02:00
Martina
aef41a1378
remove empty lines
2018-08-09 16:38:47 -04:00
Martina
da2191b721
mc_pos_control: check parameter MPC_OBS_AVOID to enable obstacle avoidance
2018-08-09 16:38:47 -04:00
Martina
0694abf916
mc_pos_control: do not execute updateSetpoint twice if obstacle avoidance
...
active
2018-08-09 16:38:47 -04:00
Martina
4b54050358
mc_pos_control: get empty avoidance waypoint from fligth task so that code
...
isn't duplicated
2018-08-09 16:38:47 -04:00
Martina
8190242e02
mc_pos_control: port trajectory interface to the new mc_pos_control
...
structure (flight task refactor)
2018-08-09 16:38:47 -04:00
TSC21
e6bd9bdeeb
fix radio_status timestamp init
2018-08-09 13:40:48 +02:00
TSC21
91c3f1ae63
sync submodules with upstream
2018-08-09 13:40:48 +02:00
TSC21
e932030d88
add timestamp field to uORB msgs; sync timestamp whenever possible
2018-08-09 13:40:48 +02:00
acfloria
eb59407586
Fix starting the iridium driver in the start script
2018-08-08 21:13:56 +02:00