Mark Whitehorn
81ae5cbd0d
check for incoming D type telemetry packet (RX also connected to telemetry port)
2016-01-29 09:02:22 +01:00
Andrew Tridgell
b8a60f2501
pwm: change default_value for all boards from 1000 to 0
...
the value '1000' is not really magic, and it was resulting in sending
a single 1ms pulse on all IO channels for a brief instant on
startup. With some servos this led to the control surfaces being at
extremes (and straining) on startup. It may also contribute to making
ESC calibration harder on multi-rotors
In the worst case it could cause a IC motor with reverse throttle to
go full throttle on startup
A logic analyser shows the problem very clearly. Changing the
default_value fields to 0 from 1000 fixes the issue and no pulses are
generated until an explicit value suitable for the airframe is
provided via one of the many methods PWM output values can be
generated
Conflicts:
src/drivers/boards/px4fmu-v4/px4fmu_pwm_servo.c
src/lib/ecl
2016-01-29 08:57:20 +01:00
Paul Riseborough
9236f11c80
EKF: Add position and velocity innovation consistency checks
2016-01-28 16:33:54 +11:00
Paul Riseborough
7713cc8c20
Merge pull request #17 from priseborough/pr-addMagErrHandling
...
EKF: Add magnetometer fusion error handling
2016-01-28 13:43:57 +11:00
Lorenz Meier
f4b2c0eecf
Merge pull request #11 from mcharleb/PRIu64-fix
...
Fixed printf of uint64_t
2016-01-28 01:01:10 +01:00
Pavel Kirienko
30059d8239
SLCAN helper script: using default baudrate 921600 because it is more common than 3M for serial adapters
2016-01-28 02:28:49 +03:00
Paul Riseborough
802129f384
EKF: Add magnetometer fusion error handling
2016-01-28 09:53:55 +11:00
Pavel Kirienko
818c4eaeb9
Merge pull request #84 from UAVCAN/socketcan_select_refactoring
...
Refactored SocketCAN select() call; fixes #83
2016-01-28 01:18:04 +03:00
Pavel Kirienko
f86a4b98d1
SocketCAN: Setting correct errno when throwing AllIfacesDownException
2016-01-28 01:06:29 +03:00
Pavel Kirienko
3d0186c547
SocketCAN doc comments
2016-01-28 00:54:22 +03:00
Pavel Kirienko
597e0b4356
SocketCAN: Proper error reporting from openSocket()
2016-01-28 00:50:28 +03:00
Paul Riseborough
39eef3a2d7
EKF: Remove use of camel case variable names
...
Also fixes bug in GPS speed accuracy check that was using horizontal position accuracy variable by mistake.
2016-01-28 08:37:45 +11:00
Paul Riseborough
cc50d26601
EKF: Update comments
2016-01-28 08:13:38 +11:00
Pavel Kirienko
587088bb18
Refactored SocketCAN select() call; fixes #83
...
Features:
- The driver will throw if it's fed a non-existing or malfunctioning interface during initialization
- When an interface becomes down/disconnected while the node is running, the driver will silently
exclude it from the IO loop and continue to run on the remaining interfaces.
- When all interfaces become down/disconnected, the driver will throw AllIfacesDownException() from
SocketCanDriver::select().
2016-01-28 00:12:27 +03:00
Paul Riseborough
4526cb9c4f
EKF: remove redundant variable
2016-01-28 07:50:45 +11:00
Andreas Antener
e6db5e2db1
set all outputs for firefly
2016-01-27 15:07:11 +01:00
Andreas Antener
1363e4aa8f
use 400Hz for motor outs in vtol configs, fixes #3609
2016-01-27 15:06:58 +01:00
Pavel Kirienko
cbd36a4a5b
Linux SocketCAN: Fixed hasReadyTx() - now checking whether the driver will be ready to release further frames from the queue
2016-01-27 14:31:05 +03:00
Pavel Kirienko
f9a10b1a81
Linux SocketCAN: Fixed handling of outgoing frames. The old logic was handling writes incorrectly, losing frames if the socket was not writable.
2016-01-27 13:56:43 +03:00
Roman
f35e3335be
- only use takeoff strategy when in auto mode
...
- after jumped takeoff set previous vel setpoint such
that thrust setpoint is continuous
v1.1.3
2016-01-27 11:47:41 +01:00
Lorenz Meier
f2af8a5a5d
IO Firmware: Reduce unnecessary buffer space
2016-01-27 09:56:20 +01:00
Lorenz Meier
b54a0308a7
IO: Do not allocate excessive UART buffers
2016-01-27 09:56:20 +01:00
Roman
ba169ce0b5
do not do jumped takeoff if already in air
2016-01-27 09:55:47 +01:00
Paul Riseborough
6326433c47
EKF: Eliminate call to hrt_absolute_time()
...
This will make the library more portable
2016-01-27 19:04:31 +11:00
Andreas Antener
3928924c43
RTL was broken by a recent change, revert
...
Revert "for multicopter landings make sure that the copter moves"
This reverts commit ad1058d3742bbfa9cbd16648aa2925fa1e618a55.
2016-01-26 15:53:52 +01:00
Lorenz Meier
5ea5ecf32b
Limit manual yaw command properly. Fixes #3600
2016-01-26 14:08:43 +01:00
Roman
c9b1fb154d
hotfix:
...
multirotors shouldn't use tailsitter recovery code.
2016-01-26 13:29:53 +01:00
Lorenz Meier
e11fff3011
Fix tests stack space
2016-01-26 12:58:17 +01:00
Lorenz Meier
17c3aa3bac
MC att control: Slightly increase max yaw rate
2016-01-26 12:32:26 +01:00
Lorenz Meier
fcbd717200
Switch POSIX sitl to EKF2 per default
2016-01-25 22:42:53 +01:00
Lorenz Meier
6c13cef85e
Lister: Add missing uint16
2016-01-25 21:46:07 +01:00
James Goppert
4cb1f8a440
Updated matrix for euler wrap fix.
2016-01-25 21:23:11 +01:00
Julian Oes
166f6e2e7a
posix sitl: bring the pxh back
2016-01-25 21:22:10 +01:00
James Goppert
ce30542dba
Fix output for unit test.
2016-01-25 13:54:13 -05:00
James Goppert
1778ac199c
Fixed euler wrapping.
2016-01-25 13:40:51 -05:00
Julian Oes
6ce5e1be49
posix sitl: don't exit if a command fails
2016-01-25 19:03:48 +01:00
Julian Oes
563460444a
ekf2: get the rad to deg conversion right
2016-01-25 19:03:16 +01:00
Julian Oes
28754d3f58
ekf2: don't reset GPS position in every loop
2016-01-25 19:03:16 +01:00
Lorenz Meier
9d5728b96f
FMU: Default to 900 us pulses
2016-01-25 12:08:26 +01:00
Lorenz Meier
2e8accc6ff
FMU driver: Only init pins right before using the for PWM. Prevents accidental pulses
2016-01-25 12:08:08 +01:00
Lorenz Meier
d32d533d11
FMUv4: Disable unused ADC channels
2016-01-25 12:07:38 +01:00
Lorenz Meier
9cccc0ec76
GPS: Do initial zero value publication to avoid corner cases
2016-01-25 09:30:45 +01:00
Paul Riseborough
94a6644684
Add comprehensive user selectable GPS checks
2016-01-25 13:07:57 +11:00
Lorenz Meier
6eac78d675
Sensors: Code style fix
2016-01-24 16:34:49 +01:00
Lorenz Meier
081da8bb7f
Navigator: Force yaw pointing towards waypoint for all cases
2016-01-24 16:34:36 +01:00
Lorenz Meier
737fe1fc7f
Always perform yaw SP generation, not only in multicopter mode
2016-01-24 16:30:21 +01:00
Lorenz Meier
b2237ce525
Current scaling: Employ per-board defaults
2016-01-24 16:02:21 +01:00
Julian Oes
4b55c5276e
px_romfs_pruner.py: fix indenting
2016-01-24 15:46:29 +01:00
Julian Oes
443592136b
px_romfs_pruner.py: PEP8ify and whitespace
...
- Changed from 8 spaces indent back to 4 which I find appropriate for
Python.
- Fixed linelength to 80 chars.
2016-01-24 15:46:29 +01:00
Julian Oes
6e26d1b8dc
px_romfs_pruner.py: ignore files starting with .
2016-01-24 15:46:29 +01:00