TSC21
ae65289967
lpe: params: fix LPE_FUSION max value
2018-01-17 17:52:24 -05:00
Beat Küng
f672152d2d
logger: change 'removing log directory' warning to info
2018-01-17 02:19:01 -05:00
Julien Lecoeur
b7d7d1209b
px_generate_mixers.py: scale mixer so that sum(z_thrust_scale)==n_rotors
2018-01-17 00:01:00 -05:00
Julien Lecoeur
262d9c790b
MultirotorMixer: Apply thrust gain independently from other axes
...
Align the way motor output is computed with the model used in the mixer generation script.
previous:
`out = (roll_gain*roll + pitch_gain*pitch + yaw_gain*yaw + thrust)*out_gain`
new:
`out = roll_gain*roll + pitch_gain*pitch + yaw_gain*yaw + thrust_gain*thrust`
which is the standard matrix*vector multiplication.
This commit has 0 effect on symmetric platforms (i.e. most) as thrust_gain==1 on these platforms.
On asymmetric platform --where some thrust_gain are lower than 1-- the previous formulation resulted in coupling between thrust and other axes.
fixes #8628
2018-01-17 00:01:00 -05:00
Daniel Agar
0e3574c44f
hott automatically include hott_sensors and hott_telemetry
2018-01-16 23:46:45 -05:00
Daniel Agar
c20594cd0e
move all barometers to the same folder
2018-01-16 23:46:45 -05:00
Daniel Agar
bad813e911
move all magnetometers to the same folder
2018-01-16 23:46:45 -05:00
Beat Küng
094fa92de0
posix main shell: do not update the prompt for unprintable chars ( #8704 )
2018-01-16 23:45:28 -05:00
Simon Laube
b184b61457
IO: fix px4io uploader to work reliably on F7 platform.
...
- Missing get_sync() in verify function
- Allow some time to reboot before closing the serial port
(closing the serial port drives TX low)
2018-01-16 08:36:51 +01:00
Simon Laube
53249c53b5
IO: Move buffer allocation into the architecture dependent code files.
2018-01-16 08:36:51 +01:00
Daniel Agar
cc5e00feca
px4io_serial_f7 fix style
2018-01-16 08:36:51 +01:00
Simon Laube
c6c9f4dc64
IO: Implement serial driver for STM32F7 MCUs.
2018-01-16 08:36:51 +01:00
Simon Laube
a26c3a0530
IO: Split STM32F4 specific code for serial interface.
2018-01-16 08:36:51 +01:00
David Sidrane
e5317ed9b6
px4fmu-v5: Define UART7 for PX4IO
2018-01-16 08:36:51 +01:00
Daniel Agar
67f89f51ff
move all distance sensor drivers to the same folder
2018-01-15 14:34:02 -05:00
Daniel Agar
576b42fea3
move all differential pressure drivers to the same folder
2018-01-15 14:34:02 -05:00
ChristophTobler
6d3dda2802
update DriverFramework to get ltc2946 fix ( #8693 )
2018-01-15 14:33:22 -05:00
ChristophTobler
872cba12d4
update ecl submodule
2018-01-15 11:11:56 +01:00
ChristophTobler
3a52e7ee5d
simulator mavlink: set vision pos/val valid
2018-01-15 11:11:56 +01:00
ChristophTobler
66c67f89e6
ekf2: check if vision_position pos/vel are valid before using them
2018-01-15 11:11:56 +01:00
ChristophTobler
6609e4843b
mavlink receiver: set vision_position pos/vel invalid depending on covariance
2018-01-15 11:11:56 +01:00
ChristophTobler
c7cf442e16
ekf2: use ev eph/v for noise parameter if bigger than noise param
2018-01-15 11:11:56 +01:00
Nicolas de Palezieux
45fd908784
mavlink : add support for precision landing
2018-01-15 10:27:23 +01:00
Nicolas de Palezieux
4fecb6fe20
irlock : add support for precision landing
2018-01-15 10:27:23 +01:00
Nicolas de Palezieux
90e3aeda6c
logger : add support for logging precision landing messages
2018-01-15 10:27:23 +01:00
Nicolas de Palezieux
f2dbb0ad3b
commander : add support for precision landing measurements
2018-01-15 10:27:23 +01:00
Nicolas de Palezieux
d9b9b4407a
ekf2 : add support for precision landing measurement fusion
2018-01-15 10:27:23 +01:00
Nicolas de Palezieux
dd1d0adfef
LPE : add support for precision landing measurement fusion
2018-01-15 10:27:23 +01:00
Nicolas de Palezieux
f600cfbb9f
Add support for testing precision landing in SITL simulation
2018-01-15 10:27:23 +01:00
Nicolas de Palezieux
d9221bb8d2
mc_pos_control : add support for precision landing
2018-01-15 10:27:23 +01:00
Nicolas de Palezieux
aa4c6c038d
navigator : add support for precision landing
2018-01-15 10:27:23 +01:00
Nicolas de Palezieux
652d295b2d
Add landing_target_estimator for precision landing from @ndepal
2018-01-15 10:27:23 +01:00
TSC21
ec1c37e1af
modules: lpe: push sensor status update to object; prioritize lidar readings over sonar
2018-01-14 22:52:41 +01:00
TSC21
b512759336
modules: lpe: refactor fusion bitmask
2018-01-14 22:52:41 +01:00
ChristophTobler
9ac70ff639
update DriverFramework submodule to include LTC2946 driver
2018-01-14 12:56:49 +01:00
ChristophTobler
7c019b7da3
publish battery_status directly
...
This is temporary until there is a solution that works for adc and posix power modules
2018-01-14 12:56:49 +01:00
ChristophTobler
4b751bdc4f
add wrapper for snapdragon power module (ltc2946) from DriverFramework
2018-01-14 12:56:49 +01:00
stmoon
8b3ea27bb3
correct coding style
2018-01-14 12:55:47 +01:00
stmoon
eec1ead233
update description of LPE_FUSION
2018-01-14 12:55:47 +01:00
stmoon
28a5287a91
add FUSE_MOCAP, FUSE_LIDAR, and FUSE_SONAR to select more senors
2018-01-14 12:55:47 +01:00
Daniel Agar
b524c8a20f
navigator silence geofence update PX4_INFO
2018-01-14 12:53:53 +01:00
Daniel Agar
6e0f3ffa88
commander move mission init out of main loop
2018-01-14 12:53:53 +01:00
Daniel Agar
fe6006e22f
commander move mission_result to class
2018-01-14 12:53:53 +01:00
Daniel Agar
f49c061a3c
navigator fix mission_result increment and sign mismatch
2018-01-14 12:53:53 +01:00
Daniel Agar
b1a3475ebf
commander mission valid check require updated mission_result
2018-01-14 12:53:53 +01:00
Daniel Agar
916d6a15fd
Mission merge offboard + onboard and simplify
2018-01-14 12:53:53 +01:00
Daniel Agar
956935141e
Navigator simplify mission
2018-01-14 12:53:53 +01:00
Daniel Agar
25c7a03a8b
Navigator remove unnecessary calls to updateParams
...
- the SuperBlock already does this
2018-01-14 12:53:53 +01:00
Lorenz Meier
6227139df1
MAVLink app: Make debug messages a compile time check
...
The debug messages are too verbose to be run in a production vehicle and inherently were something that should only be run in SITL / debug sessions on hardware. Switching the flag to the PX4_DEBUG() macro does not only make this more explicit, but also saves a lot of flash space that otherwise was consumed by the strings.
2018-01-13 22:02:57 -05:00
Lorenz Meier
f1a3fd09a3
Iridium SBD: Make debug messages a compile-time flag
...
This ensures that users do not accidentally enable this in an airborne system and saves flash space.
2018-01-13 22:02:57 -05:00