Commit Graph

18758 Commits

Author SHA1 Message Date
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 cb286d0ae6 FMUv4: Initialize complete board correctly 2015-11-29 17:03:50 +01:00
Lorenz Meier 57ce3cfd01 FMUv2: Remove unneeded code 2015-11-29 17:03:19 +01:00
Lorenz Meier f8ccac69bc FMUv1: Remove unneeded code 2015-11-29 17:03:06 +01:00
Lorenz Meier fa197ee490 FMU driver: Run slightly faster to accomodate S.BUS 2015-11-29 14:55:25 +01:00
Lorenz Meier 151402748e S.BUS input: Be less sensitive on timing 2015-11-29 14:55:03 +01:00
Lorenz Meier c28f394c3c Gyro sim: Remove unused perf counter 2015-11-29 13:42:42 +01:00
Lorenz Meier f4f143927f MPU9K: Remove unused perf counter 2015-11-29 13:41:17 +01:00
Lorenz Meier 44d32a31d1 MPU6K: Remove unused perf counter 2015-11-29 13:41:02 +01:00
Lorenz Meier 05d248480a Initialize FMU actuator control feedback struct 2015-11-28 11:37:59 +01:00
Lorenz Meier d07c69d329 MAVLink: Output RC inputs faster 2015-11-28 11:16:21 +01:00
Lorenz Meier d407f0dfe7 Fixed FMU code style 2015-11-28 09:13:15 +01:00
Lorenz Meier b196d29662 FMU driver: Output and read at 400 Hz 2015-11-28 09:13:15 +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 5500ad16d8 Fix RC 2015-11-28 09:13:15 +01:00
Lorenz Meier bb2d3a36b7 Remove old build system artifact 2015-11-28 09:13:15 +01:00
Lorenz Meier 05840535f1 Fix math tests 2015-11-28 09:13:15 +01:00
Andrew Tridgell 46631b5c8a mpu6000: work around apparent ICM20608 bug
undocumented register 0x11 sometimes starts with value 0, which gives
an offset on the Y accel axis of 2.7m/s/s. It sometimes boots with
0xc9, which gives a zero offset. Force it to 0xc9 to get consistently
correct behaviour
2015-11-28 09:13:15 +01:00
Lorenz Meier 38724d9e12 Sumd: Fix code style 2015-11-28 09:13:15 +01:00
Lorenz Meier f101ad6e85 S.BUS header: Fix code style 2015-11-28 09:13:15 +01:00
Lorenz Meier 81d9d8b259 S.BUS: Fix code style 2015-11-28 09:13:15 +01:00
Lorenz Meier 09ef7fa9ca DSM: Fix code style 2015-11-28 09:13:15 +01:00
Lorenz Meier abfd471fed v4 board config: Move HRT to TIM3 2015-11-28 09:13:15 +01:00
Lorenz Meier c2c6f3c958 FMU driver: Add S.BUS and DSM FDs, not active yet 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 83ed9e1096 Update IOv2 config 2015-11-28 09:13:15 +01:00
Lorenz Meier 2d5b02e967 Update IOv1 2015-11-28 09:13:15 +01:00
Lorenz Meier d2b154cd07 Build S.BUS and DSM decoders in 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 731daec744 Added missing conditional compilation control for FMUV4 2015-11-28 09:13:15 +01:00
David Sidrane 6df5aab064 px4fmu-v4 uses MPU6000 driver for ICM-20609-G 2015-11-28 09:13:15 +01:00
David Sidrane 46c63da8be Added support for ICM-20608-G to MPU6000 driver 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 7fb90d751f Ran Astyle 2015-11-28 09:13:15 +01:00
David Sidrane 30bc968ed6 Ran Astyle 2015-11-28 09:13:15 +01:00
David Sidrane f3b7585a89 Wip FMUV3 2015-11-28 09:13:15 +01:00
David Sidrane 1b5db91c35 Added Fix me re chan 1/2 interactions 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
David Sidrane d6c6cb72b2 Support PX4_I2C_BUS_ONBOARD not defined 2015-11-28 09:13:15 +01:00
David Sidrane 2641ebb99b Build without pio
TEMP - uses nuttx_next_cmake version long term
2015-11-28 09:13:15 +01:00
Amir c23562c9ed GPS: Add height above the ellipsoid info
Modification of the GPS message, add height above the ellipsoid info.
2015-11-27 22:28:41 +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
Erik de Castro Lopo 5e9a8d0c03 Baro sim: Add missing initializers 2015-11-26 13:29:11 +11:00