Daniel Agar
2f96dbb216
gnd_att_control param fix incorrect FW metadata
2018-03-04 18:23:12 -05:00
Daniel Agar
5cbd19aef2
Jenkins archive nuttx elf files
2018-03-04 17:52:34 -05:00
Daniel Agar
5ef27c5425
mavlink add minimal mode ( #8947 )
2018-03-04 17:50:28 -05:00
Daniel Agar
6caeb2da4f
pwm_out_sim reduce stack 1310 -> 1000
2018-03-04 14:12:15 -05:00
Daniel Agar
38f5f60a1e
pwm_out_sim cleanup
...
- move to ModuleBase
- strip down to PWM 8 and 16 modes only
- remove all dead code
- implement missing pwm ioctls (current value, rates, etc)
- default rate 50Hz -> 400Hz
2018-03-04 14:12:15 -05:00
PX4 Jenkins
3d6854099e
Update mavlink v2.0 submodule Sun Mar 4 07:43:12 UTC 2018
2018-03-04 10:45:51 -05:00
ToppingXu
e340f6fd7a
FixedwingPositionControl: fix air_gnd_angle judgement condition.
...
air_gnd_angle is from acos(), and never return a value that bigger than
M_PI_F
2018-03-02 21:57:11 +01:00
Matthias Grob
d39a8b5a48
Battery: Switch thrust based load compensation back to linear
...
To account for the parameter definition.
My tests if quadratic is actually better in practise were anyways not conclusive.
2018-03-02 21:07:09 +01:00
Matthias Grob
5bb9babc20
Mavlink: round battery percentage up instead of down
2018-03-02 16:18:52 +01:00
Daniel Agar
4c4f990b3b
EKF2 remove FW_ARSP_MODE check
2018-03-02 08:58:08 +01:00
Sander Smeets
2ef9c4ec35
VTOL force land even when transitioning to FW ( #8958 )
2018-03-01 16:51:50 -05:00
Roman
ff86d15c13
caipirinha vtol: do not lock elevons in hover mode
...
Signed-off-by: Roman <bapstroman@gmail.com>
2018-03-01 22:07:36 +01:00
Daniel Agar
3b0b5645e1
vtol_att update poll fd before poll call
2018-03-01 18:27:57 +01:00
Anthony Lamping
1ef7b351be
CI: assmue plan file format
2018-03-01 12:21:22 -05:00
Anthony Lamping
3be6a439f1
CI: better detect end of mission
...
if the vehicle doesn't land and disarm at the end of the mission, the current sequence doesn't reset to 0
2018-03-01 12:21:22 -05:00
Anthony Lamping
25b02a9d0f
CI: Jenkins use plan file missions
2018-03-01 12:21:22 -05:00
Anthony Lamping
3b69361a00
CI: move missions into a folder
2018-03-01 12:21:22 -05:00
Anthony Lamping
4158b5e6a9
CI: remove old mission formats
2018-03-01 12:21:22 -05:00
Anthony Lamping
e9c7023083
CI: add missions in plan file format
2018-03-01 12:21:22 -05:00
Roman
ea3586cfd9
tailsitter: stop fiddling with thrust during transition and just let
...
the mc pos controller handle it for now
Signed-off-by: Roman <bapstroman@gmail.com>
2018-03-01 12:16:27 -05:00
Roman
08534588cd
fw_pos_control: get vtol parameter values if vehicle is vtol
...
Signed-off-by: Roman <bapstroman@gmail.com>
2018-03-01 12:16:27 -05:00
Roman
ee2163ce69
vtol_att_control: prevent segfault when no command line args given
...
Signed-off-by: Roman <bapstroman@gmail.com>
2018-03-01 11:35:34 -05:00
Andreas Antener
198708ba2e
rotation: updated board rotation meta data
2018-02-28 10:08:58 +01:00
Andreas Antener
ab9ee3aa6c
conversion: added -45 deg pitch rotation
2018-02-28 10:08:58 +01:00
Andreas Antener
add20389f6
conversion: added rotation +45 degree in pitch
2018-02-28 10:08:58 +01:00
Paul Riseborough
11e3081efd
ecl: Fixes bug preventing use of GPS reported speed accuracy ( #8981 )
2018-02-28 15:32:01 +11:00
Beat Küng
40675bd1f4
logger: fix potential semaphore counter overflow
...
When the timer callback is called at a higher rate than the logger can
execute the main loop (which is never the case under normal conditions),
the semaphore counter will increase unbounded, and eventually lead to
an assertion failure in NuttX.
The maximum semaphore counter is 0x7FFF, and when the logger runs at
default rate (3.5ms), the logger task must be blocked for 0x7FFF*3.5/1000
= 114 seconds continuously for an overflow to happen.
I see 2 cases where that could happen:
- the logger execution blocks somehow, or busy-loops in an inner loop
- a higher-prio task runs busy and hogs the CPU over a long period of time
2018-02-27 21:01:29 +01:00
Beat Küng
17cb5c4d58
hardfault_log: fix comment
2018-02-27 21:01:29 +01:00
Roman
49e349c753
updated sitl_gazebo: small tiltrotor fix to enable turns
...
Signed-off-by: Roman <bapstroman@gmail.com>
2018-02-27 16:28:22 +01:00
Julian Oes
38e5a06136
jMAVSim: update submodule again
...
This gets rid of a printf.
2018-02-26 10:37:34 +01:00
PX4 Jenkins
91d6f35fc8
Update jmavsim submodule Sat Feb 24 23:05:44 CST 2018
2018-02-25 19:07:23 +01:00
PX4 Jenkins
e0b32a6846
Update mavlink v2.0 submodule Sat Feb 24 02:43:15 EST 2018
2018-02-24 23:12:47 -08:00
Matthias Grob
611ab577d8
Battery: Fix estimate initialization
...
On the Intel Aero and probably also other specific platforms
the first measured voltage values despite connected battery are unuasable.
The solution here is to start filtering and determining warning
only after a measurement above 2.1V was received.
2018-02-24 16:27:44 +01:00
Matthias Grob
83ac74367c
Battery: move member initialization values to class declaration
2018-02-24 16:27:44 +01:00
Julian Oes
3917eb2d00
mavlink: don't send wrong time
...
This prevents the autopilot from sending an invalid unix timestamp.
Usually, if no time is set yet by a GPS, the date is somehow set
to 2000-01-01, therefore we can ignore anything earlier than 2001.
2018-02-23 16:14:02 +01:00
Matthias Grob
df7364d2e2
Battery: Correct unit for capacity parameter
2018-02-23 15:30:17 +01:00
Roman
ea8db53d15
fmu: removed obsolete _trim_pwm member and implemented proper fetching
...
of mixer trim values
Signed-off-by: Roman <bapstroman@gmail.com>
2018-02-23 15:28:22 +01:00
Roman
04a89f7e9b
mixer lib: added methods to fetch the active trim values
...
Signed-off-by: Roman <bapstroman@gmail.com>
2018-02-23 15:28:22 +01:00
Roman
29c60a1fd4
mixer_group: do not clamp offset to arbitrary value
...
- allow the user to apply an offset that covers the entire servo range
Signed-off-by: Roman <bapstroman@gmail.com>
2018-02-23 15:28:22 +01:00
ChristophTobler
6a987b5a15
update submodule sitl_gazebo to include isinf() fix
2018-02-23 09:10:39 +01:00
Roman
2549b702f0
pwm_out_sim, simulator_mavlink: fixed code style
...
Signed-off-by: Roman <bapstroman@gmail.com>
2018-02-22 15:10:22 -05:00
Roman
10bf6a4b59
params cmd: be less verbose
...
Signed-off-by: Roman <bapstroman@gmail.com>
2018-02-22 15:10:22 -05:00
Roman
a1f169f752
updated sitl_gazebo for tiltrotor support
...
Signed-off-by: Roman <bapstroman@gmail.com>
2018-02-22 15:10:22 -05:00
Roman
159834ce1b
posix-configs: set tiltrotor transition parameters
...
Signed-off-by: Roman <bapstroman@gmail.com>
2018-02-22 15:10:22 -05:00
Roman
ddb2dd89db
simulator mavlink: support for quad tiltrotor mav type
...
Signed-off-by: Roman <bapstroman@gmail.com>
2018-02-22 15:10:22 -05:00
Roman
e9c715f89b
pwm_out_sim: various fixes for tiltrotor simulation
...
- increased the number of pwm outputs
- handle PWM_SERVO_SET_MIN_PWM and PWM_SERVO_SET_MAX_PWM
Signed-off-by: Roman <bapstroman@gmail.com>
2018-02-22 15:10:22 -05:00
Roman
2886fe8da3
posix-configs: added sitl startup script for gazebo quad tiltrotor model
...
Signed-off-by: Roman <bapstroman@gmail.com>
2018-02-22 15:10:22 -05:00
Roman
86c472d8ff
ROMFS sitl: added a mixer for the gazebo quad tiltrotor model
...
Signed-off-by: Roman <bapstroman@gmail.com>
2018-02-22 15:10:22 -05:00
mcsauder
3ef6bc7d93
Update CMakeLists for the drivers/imu directory.
2018-02-22 12:48:34 -05:00
Julian Oes
4cac6d1a44
tune_control: added define for tune strength
...
This adds a define for the tune strength instead of hard-coding it with
a magic number.
2018-02-22 15:24:46 +01:00