6261 Commits

Author SHA1 Message Date
Lorenz Meier
c4ed598dff MAVLink app: Do not decode buttons when they are not true mode switches 2015-12-02 23:00:53 +01:00
Lorenz Meier
fa49d27d09 Merge pull request #3307 from UAVenture/sub_mode_support
Sub mode support
2015-12-02 14:26:41 +01:00
Roman Bapst
59be11f31d Merge pull request #3304 from PX4/mc_pos_tilt_comp
use tilt compensation also for position control
2015-12-02 13:51:46 +01:00
Andreas Antener
756282b195 added auto takeoff sub mode 2015-12-02 13:38:44 +01:00
Andreas Antener
df6fe7f993 transition to auto mission if custom mode param is not set 2015-12-02 13:38:44 +01:00
Nate Weibley
4e4f780ecc Add support for switching to auto modes via SET_MODE 2015-12-02 13:38:44 +01:00
Lorenz Meier
b6c4501d0e Adjust data size of dataman to force reset of all existing user data 2015-12-02 09:15:37 +01:00
Lorenz Meier
557fd3d99b Navigation: Turn mission item into packed struct and make nav_cmd compiler-independent 2015-12-02 09:15:11 +01:00
Lorenz Meier
6828e4db2c Geofence: Use machine data types 2015-12-02 09:14:08 +01:00
tumbili
c0f45ed8a7 use tilt compensation also for position control 2015-12-01 17:14:32 +01:00
tumbili
33f85a5024 fixed unused variable 2015-12-01 15:01:15 +01:00
Lorenz Meier
5f9da470bb Do not redefine GNU source in modules 2015-12-01 13:49:55 +01:00
Lorenz Meier
72e0664f1e Simulator: Add missing header 2015-12-01 13:41:33 +01:00
Lorenz Meier
360e3c03b6 Krait: Add missing header 2015-12-01 13:41:24 +01:00
Lorenz Meier
895747825c MAVLink app: Include task header 2015-12-01 13:10:57 +01:00
Lorenz Meier
f57eff5433 Bump internal sim thread priority. Output warning if sim packets are spaced more than 10 ms apart, giving some hints what is at miss with the system 2015-12-01 13:02:17 +01:00
Lorenz Meier
247d7960b9 MAVLink sim: Code style 2015-12-01 12:43:38 +01:00
Lorenz Meier
f0a4979da6 Merged master into driver_framework 2015-12-01 12:34:02 +01:00
Lorenz Meier
1e99b04d9c Fixes in simulator interface 2015-12-01 12:32:22 +01:00
Lorenz Meier
d5541ee2a7 sdlog2 writer: Use new prctl syntax 2015-12-01 12:01:52 +01:00
Lorenz Meier
58d5fdc853 Simulator: All app names are lowercase! 2015-12-01 12:01:31 +01:00
Lorenz Meier
eb64a6813f Sim MAVLink: Return correct type, remove very uninformed comment 2015-12-01 12:01:10 +01:00
Lorenz Meier
05d5292641 MAVLink receiver: Set thread name 2015-12-01 11:56:49 +01:00
Lorenz Meier
1feb30fd39 commander: Set process name on all OS 2015-12-01 11:53:59 +01:00
David Sidrane
3ce6ee57e4 Set nunmber of UAVCAN interfaces on HW from top level cmake file 2015-11-30 15:44:36 -10:00
Lorenz Meier
1fc774bbf8 Q estimator: Increase phase margin 2015-11-30 10:26:55 +01:00
Lorenz Meier
a9fb11829f Commander: Fix scheduling so its not running at higher prio than control apps 2015-11-29 18:50:02 +01:00
Lorenz Meier
65002d279f Commander: Allow setting home position faster 2015-11-29 18:49:58 +01:00
Lorenz Meier
3c26ca99a0 Q estimator: Increase phase margin 2015-11-29 18:45:48 +01:00
Lorenz Meier
ce1b35d024 Q estimator: Fix scope of sensor voting scheme 2015-11-29 18:41:18 +01:00
Lorenz Meier
66e9abc774 SDLOG2: increase stack size as needed 2015-11-29 17:38:48 +01:00
Lorenz Meier
3515e6ae91 INAV: Increase stack size as needed 2015-11-29 17:38:26 +01:00
Lorenz Meier
f99e14144e Q estimator: Increase stack size as needed 2015-11-29 17:38:08 +01:00
Lorenz Meier
00e9804b5a Mixer: Fix dependencies 2015-11-29 17:05:39 +01:00
Lorenz Meier
94eff8d9a8 Commander: Fix scheduling so its not running at higher prio than control apps 2015-11-29 17:05:01 +01:00
Lorenz Meier
d07c69d329 MAVLink: Output RC inputs faster 2015-11-28 11:16:21 +01:00
Lorenz Meier
a3eeafebeb Enable UART6 and enable S.BUS. Tested to work. 2015-11-28 09:13:15 +01:00
Lorenz Meier
6bc6eda295 Fixed drivers 2015-11-28 09:13:15 +01:00
Lorenz Meier
10a3954232 IO firmware: Depend on external RC lib 2015-11-28 09:13:15 +01:00
Lorenz Meier
ba4fdf197e Move S.BUS and DSM decoders into RC lib 2015-11-28 09:13:15 +01:00
David Sidrane
fa3cccc96a Start mpu6000 driver before mpu9250 -> need to change cal code 2015-11-28 09:13:15 +01:00
David Sidrane
a67097731a Renamed pax4fmu-v3 to pax4fmu-v4 2015-11-28 09:13:15 +01:00
David Sidrane
30bc968ed6 Ran Astyle 2015-11-28 09:13:15 +01:00
David Sidrane
32ae638974 Support GPIO_CAN2_RX not defined 2015-11-28 09:13:15 +01:00
David Sidrane
09f83e78e5 Support PX4IO_DEVICE_PATH not defined 2015-11-28 09:13:15 +01:00
Erik de Castro Lopo
67d61488da sensors: Initialize _parameters 2015-11-27 17:51:12 +11:00
Erik de Castro Lopo
fb4bf7c59c MAVLink: Fix call to orb_advertise_multi
Previously, pointer to an uninitialized int was being passed as the
instance pointer. Now we pass a NULL pointer instead and the code
being called will use the default instance value of zero.
2015-11-27 17:51:12 +11:00
Erik de Castro Lopo
6c2c2b19a7 MAVLink: Only update rx count on successful read 2015-11-27 17:51:12 +11:00
Erik de Castro Lopo
0b3889e2e3 INAV: Valgrind fix
Make sure `struct position_estimator_inav_params params` is properly initialized.

At first there was no indication that this struct was un-initialized because valgrind
was issuing warnings about values that were derived (via float calculations) from
values in this struct. Maybe instruction re-ordering during optimization caused
this disconnect between the source of the problem and the symptom.
2015-11-27 17:51:12 +11:00
Erik de Castro Lopo
4f7ab6f4f3 uORBManager: Make orb_check fail safely
The `orb_check` function takes a pointer to a `bool` which it then passes
to `px4_ioctl`. However, if the call to `px4_ioctl` fails, the bool
doesn't get updated (neither set nor cleared). Therefore, in `orb_check`
we explicitly set the bool to `false` before passing the pointer to
`px4_ioctl`.
2015-11-26 15:42:09 +11:00