Lorenz Meier
5f8ee1ea1a
Update caipirinha config
2016-01-31 15:14:34 +01:00
Lorenz Meier
069471a62c
Commander: Indicate error number on failure
2016-01-31 14:53:54 +01:00
Lorenz Meier
260b77dd78
MPU9250: Make check return values more discriminative
2016-01-31 14:53:40 +01:00
Holger Steinhaus
1245b50ef5
fix typo
2016-01-31 14:53:04 +01:00
Pavel Kirienko
cf9edf13cd
Disabled SCE interrupts; error handling is now polling based
2016-01-31 14:47:23 +03:00
bugobliterator
d79e12dfa1
EKF: fix code style
2016-01-31 00:12:16 -08:00
bugobliterator
8200ef4d17
EKF: allocate and unallocate buffer more robustly
2016-01-31 00:12:16 -08:00
bugobliterator
c6249a2825
EKF: change estimator base class name to estimation interface
2016-01-31 00:12:07 -08:00
bugobliterator
3cafedd4c1
EKF: start storing samples only when ekf is initialised
2016-01-30 12:46:01 -08:00
bugobliterator
b062bd2e38
EKF: move estimator specific variables to estimator core
2016-01-30 12:45:23 -08:00
bugobliterator
287f5eb0c2
EKF: move all estimator specific types to common header
2016-01-30 12:44:19 -08:00
bugobliterator
b05e2d825c
EKF: move estimator specific initialisations to estimator core
2016-01-30 12:42:24 -08:00
Paul Riseborough
f1b82057c0
EKF: Combine GPS velocity innovation gate parameters
...
Separate vertical and horizontal parameters for GPS velocity innovation gates are not required
2016-01-30 12:21:50 -08:00
Paul Riseborough
466a104534
EKF: additional GPS check logic
...
Improve naming of NED origin initialisation status
Add check for GPS solution type
Use GPS checks when regaining GPs in-flight
2016-01-30 12:21:39 -08:00
bugobliterator
a779d45cd0
ekf2: fix bug causing faulty imu data storage
2016-01-29 23:56:24 -08:00
bugobliterator
92dc41e885
EKF: fix typo in function declaration
2016-01-29 20:05:07 -08:00
bugobliterator
3eea6cdcc5
EKF: use namespace for structure definitions
...
will be moved to a separate file in the future
2016-01-29 20:04:21 -08:00
bugobliterator
001d621eb1
EKF: move imu data processing code to estimator core
2016-01-29 20:03:25 -08:00
bugobliterator
251996d387
ekf: move gps checks to Ekf library from estimator_base
2016-01-29 17:15:18 -08:00
Paul Riseborough
46b0e9654c
Add filter control logic
2016-01-30 09:01:48 +11:00
Lorenz Meier
f50aba844f
CAN config: Drop default D gains
2016-01-29 11:40:37 +01:00
Lorenz Meier
7104a853c9
Firefly: drop D gain
2016-01-29 11:40:17 +01:00
Lorenz Meier
6a74f2c69d
F450: Fix default gain
2016-01-29 11:40:04 +01:00
Pavel Kirienko
f7a0e36882
Fixed unused variable in STM32 baremetal driver
2016-01-29 13:24:55 +03:00
Holger Steinhaus
76da9ab82b
Set default node id to 1, default bitrate to 1M
2016-01-29 09:19:57 +01:00
Holger Steinhaus
8d66e1c0ef
Renamed shadowed variable
2016-01-29 09:06:33 +01:00
Mark Whitehorn
7b7da618b8
format and disable some warnx output
2016-01-29 09:02:34 +01:00
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