Simone Guscetti
8a7dc1b320
commander: Remove usb_ connected flag on battery warnings
...
Battery warning gets only fired if a battery is inserted.
2018-04-16 14:33:43 -04:00
Thomas Stastny
71170dce0a
mavlink: HIGHRES_IMU set diff_pressure in fields_updated ( #9296 )
2018-04-16 11:43:52 -04:00
alessandro
c16e17f47b
mag_calibration: only allocate as much memory as needed
2018-04-16 14:49:45 +02:00
Beat Küng
123f11fcdd
land_detector: use user-defined literals for time constants
2018-04-14 13:45:57 +02:00
Beat Küng
e98919cf3c
drv_hrt: add user-defined integer literals for time constants
...
The goal is to improve the readability for expressions like:
if (hrt_elapsed_time(&start_time) > 8000000)
Available since C++11
2018-04-14 13:45:57 +02:00
Daniel Agar
17beeb13c4
Jenkins set CCACHE_BASEDIR on Mac
2018-04-14 02:11:30 -04:00
Daniel Agar
e9aa79e309
Update submodule ecl to latest Fri Apr 13 20:26:41 CDT 2018 ( #9303 )
...
- ecl in PX4/Firmware (163fdded13d1cb48ea4849a4596feaa7025cb796): https://github.com/PX4/ecl/commit/ba2b9dfdd96d50d697165407b88b5bc94cdef84c
- ecl current upstream: https://github.com/PX4/ecl/commit/02e319431b948f660f8548707849489d6c822fad
- Changes: https://github.com/PX4/ecl/compare/ba2b9dfdd96d50d697165407b88b5bc94cdef84c...02e319431b948f660f8548707849489d6c822fad
02e3194 2018-04-11 Daniel Agar - cmake remove embedded vim settings
91b5bfe 2018-04-11 Daniel Agar - attitude_fw remove unused perf include
02055ac 2018-04-09 Paul Riseborough - EKF: Fix non GPS aiding data reset logic (#418 )
2018-04-13 23:43:48 -04:00
Daniel Agar
90b81cf4c4
move check stack to cmake and run in Jenkins
2018-04-13 23:24:34 -04:00
PX4 Jenkins
0c9f483581
Update submodule DriverFramework to latest Fri Apr 13 20:26:36 CDT 2018
...
- DriverFramework in PX4/Firmware (1297859680ce15980a970c95d7caa95be67957c7): https://github.com/PX4/DriverFramework/commit/f98ea65e9bd35a8d2bdedd39e519b7320fe82b16
- DriverFramework current upstream: https://github.com/PX4/DriverFramework/commit/e06222dd151e2f92476762e483915df5bd67929d
- Changes: https://github.com/PX4/DriverFramework/compare/f98ea65e9bd35a8d2bdedd39e519b7320fe82b16...e06222dd151e2f92476762e483915df5bd67929d
e06222d 2018-04-11 Daniel Agar - cmake change px4_add_module -> px4_add_library
2018-04-13 23:22:43 -04:00
Daniel Agar
119fe0a24f
Update submodule v2.0 to latest Fri Apr 13 20:26:31 CDT 2018
...
- v2.0 in PX4/Firmware (23017d051b7ff6686c8c8ff025a8e98af094780a): https://github.com/mavlink/c_library_v2/commit/163d4c84b9eb58a02cab94d039f54c303977d991
- v2.0 current upstream: https://github.com/mavlink/c_library_v2/commit/c55dd0ec312a667f28b0cab4f1fe697d2888c00c
- Changes: https://github.com/mavlink/c_library_v2/compare/163d4c84b9eb58a02cab94d039f54c303977d991...c55dd0ec312a667f28b0cab4f1fe697d2888c00c
c55dd0e 2018-04-12 PX4BuildBot - autogenerated headers for rev https://github.com/mavlink/mavlink/tree/292874beed6bf756be45421bd2ae2420de921f2b
e2916e5 2018-04-10 PX4BuildBot - autogenerated headers for rev https://github.com/mavlink/mavlink/tree/012765b923546224ef928caeb86c72d5a78a433a
2018-04-13 23:21:45 -04:00
PX4 Jenkins
8c9b941e60
Update submodule sitl_gazebo to latest Fri Apr 13 20:26:27 CDT 2018
...
- sitl_gazebo in PX4/Firmware (4ffa98aa2a ): https://github.com/PX4/sitl_gazebo/commit/28921bca9df9a212675b8e888c926d1ec6f6b28e
- sitl_gazebo current upstream: https://github.com/PX4/sitl_gazebo/commit/0df46c53b14ef4241b33fb7a74a3cb6f9d83c6dd
- Changes: https://github.com/PX4/sitl_gazebo/compare/28921bca9df9a212675b8e888c926d1ec6f6b28e...0df46c53b14ef4241b33fb7a74a3cb6f9d83c6dd
0df46c5 2018-04-13 Tully Foote - Only use catkin env hook command if building with catkin.
38c0d07 2018-04-12 Tully Foote - Add package to GAZEBO_RESOURCE_PATH to make the worlds accessible.
5811488 2018-04-11 Tully Foote - updating OpticalFlow submodule
7c79bd7 2018-04-10 Tully Foote - Add environment hooks to export paths for plugins and resources.
2018-04-13 23:21:05 -04:00
Daniel Agar
4ffa98aa2a
Jenkins add OSX builds and disable circleci ( #9198 )
2018-04-12 12:19:44 -04:00
Beat Küng
d4faaff854
logger: remove some unneeded SITL topics
...
We got over the limit
2018-04-12 11:32:15 +02:00
Roman
c206e0f1ac
vtol_type.cpp: close pwm output device file descriptor
...
Signed-off-by: Roman <bapstroman@gmail.com >
2018-04-12 09:19:47 +02:00
Roman
bd434636e9
vtol_type: avoid code duplication
...
- created one method which has access to the pwm output device
Signed-off-by: Roman <bapstroman@gmail.com >
2018-04-12 09:19:47 +02:00
Roman
733d773bcc
drv_pwm_output: include board config header
...
- board config can define PX4_PWM_ALTERNATE_RANGES which needs to be known
by the compiler prior to processing this file
Signed-off-by: Roman <bapstroman@gmail.com >
2018-04-12 09:19:47 +02:00
Roman
41a9ac0acb
vtol_att_control: initialise VT_FW_MOT_OFFID correcly for standard vtol
...
Signed-off-by: Roman <bapstroman@gmail.com >
2018-04-12 09:19:47 +02:00
Roman
df53dce6e1
vtol_type.h: initialise flag_idle_mc correctly
...
Signed-off-by: Roman <bapstroman@gmail.com >
2018-04-12 09:19:47 +02:00
Roman
cd49c4bc17
vtol_type: improve comments
...
Signed-off-by: Roman <bapstroman@gmail.com >
2018-04-12 09:19:47 +02:00
Roman
79ff1436b8
vtol_att_control: move handling of motor state and idle speed selection
...
to VtolType class
Signed-off-by: Roman <bapstroman@gmail.com >
2018-04-12 09:19:47 +02:00
Roman
744f806214
vtol_att_control: merge methods to disable a selection of motors
...
- moved methods used to modify channel maximum pwm value to VtolType
class so that the can be shared by the differnt vtol types
Signed-off-by: Roman <bapstroman@gmail.com >
2018-04-12 09:19:47 +02:00
Daniel Agar
00f98c64db
VTOL preserve PWM min and max when enabling/disabling actuators
2018-04-12 09:19:47 +02:00
Daniel Agar
a78ab02144
fw_pos_control_l1 don't store TECS and L1 parameters
2018-04-12 00:46:49 -04:00
Daniel Agar
d2abd53692
mixer lib remove custom constrain and cleanup includes
2018-04-12 00:14:50 -04:00
Daniel Agar
08cc963de3
px4iofirmware use std NAN instead of undefined 0.0f/0.0f
...
- closes #9277
2018-04-12 00:14:50 -04:00
Daniel Agar
1ecfb22dbc
EKF2 move all orb_subscribe/unsubsribe to the constructor/destructor
2018-04-11 23:26:58 -04:00
Daniel Agar
2a58c7a28c
EKF2 and replay add all consumed messages to ekf2_timestamps and refactor
2018-04-11 23:26:58 -04:00
Daniel Agar
07edec282e
replay update sensor_combined fields
2018-04-11 23:26:58 -04:00
Daniel Agar
3b5b12e1d1
move baro and magnetometer data out of sensor_combined
2018-04-11 23:26:58 -04:00
Paul Riseborough
3e6ba1d541
simulator: Use baro pressure direct from simulator
2018-04-11 23:26:58 -04:00
Daniel Agar
5dc23def2a
move pressure altitude from baros to sensors module
2018-04-11 23:26:58 -04:00
Daniel Agar
bdf4f19867
enable -fno-math-errno as we never check errno ( #9281 )
...
- disables setting of the errno variable as required by C89/C99 on calling math library routines
2018-04-11 22:17:39 -04:00
Mohammed Kabir
28f9b38919
mavlink : fix pointer for main_mode and sub_mode
2018-04-11 22:03:12 +02:00
Oleg Kalachev
1b1617b5a0
Add new mode AUTO_PRECLAND
2018-04-11 14:50:07 -04:00
Beat Küng
f02ef20a23
commander: set timestamp for vehicle_command publication
2018-04-11 15:19:47 +02:00
acfloria
0caa4dc171
Mavlink: Don't use a packed struct as input for the convert_limit_safe function
...
- Addional small cleanup of the iridium driver and the include guards of mavlink module header files
2018-04-11 15:15:28 +02:00
acfloria
477a4e7ec8
MavlinkReceiver: Don't start MissionManager in IRIDIUM mode
2018-04-11 15:15:28 +02:00
acfloria
41de588a73
Move HIGH_LATENCY2 stream to separate file and update some comments"
2018-04-11 15:15:28 +02:00
acfloria
fb1bb7a769
Move the SimpleAnalyzer to a separate file
2018-04-11 15:15:28 +02:00
acfloria
ae807fc189
Move VEHICLE_CMD_CONTROL_HIGH_LATENCY ack to commander
2018-04-11 15:15:28 +02:00
acfloria
975d7ddcb2
IridiumSBD: Clean up MavLink message parsing
2018-04-11 15:15:28 +02:00
acfloria
f1a6aecb4d
IridiumSBD: Log tx buffer reset in the telemetry_status instead of a status text
2018-04-11 15:15:28 +02:00
acfloria
53fdbb6c04
Remove unnecessary newlines
2018-04-11 15:15:28 +02:00
acfloria
219980cec1
Commander: Combine telemetry variables into struct
2018-04-11 15:15:28 +02:00
acfloria
6f0d3ffe9b
Mavlink: Add acknowledge for VEHICLE_CMD_CONTROL_HIGH_LATENCY
2018-04-11 15:15:28 +02:00
acfloria
2a5c7efd8d
Mavlink: Use filtered update rate for HIGH_LATENCY2 stream instead of main loop delay
2018-04-11 15:15:28 +02:00
acfloria
e9dde721f7
Commander: Remove Mavlink from CMakeFile
2018-04-11 15:15:28 +02:00
acfloria
8c0450b483
revert v2 cmake changes
2018-04-11 15:15:28 +02:00
acfloria
b95d65df53
Commander: Fix bug when changing to high latency telemetry
...
Due to the old heartbeat of the high latency telemetry when activating it after flying sufficiently long in normal telemetry it is first detected as lost until the first message is sent.
By updating the heartbeat to the current time on switching this issue is avoided.
Also includes a small style fix for the HIGH_LATENCY2 stream
2018-04-11 15:15:28 +02:00
acfloria
1124a397f2
Commander: Move telemetry logic to separate functions
2018-04-11 15:15:28 +02:00