Commit Graph

3340 Commits

Author SHA1 Message Date
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 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 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
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 d6c6cb72b2 Support PX4_I2C_BUS_ONBOARD not defined 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
Andreas Antener 9252414c76 added new parameter to enable/disable enforcing mount operation mode 2015-11-24 23:14:20 +01:00
Andreas Antener 7a31a8b1af implemented VEHICLE_CMD_DO_MOUNT_CONFIGURE and added possibility to set mount mode via RC switch when not in offboard
use output 5 for mount mode (e.g. to support landing gears)
2015-11-24 23:14:20 +01:00
Lorenz Meier f42b338f16 VDev: Switch to a timed wait semaphore 2015-11-23 19:51:45 +01:00
Lorenz Meier e12766826c VDev posix: Initialize HRT work 2015-11-22 14:01:52 +01:00
Lorenz Meier 40ef8c063c PWM Sim: Less verbose 2015-11-22 14:00:31 +01:00
Lorenz Meier aafb11ae92 VDev: Less verbose in header 2015-11-22 14:00:31 +01:00
Lorenz Meier bffce0c9eb VDEV: Less verbose 2015-11-22 14:00:31 +01:00
Lorenz Meier 103bf81a02 PWM SIM: Remove orb interval calls 2015-11-22 13:59:24 +01:00
Lorenz Meier 5a0c09c98d Merge branch 'master' into driver_framework 2015-11-22 13:59:01 +01:00
Lorenz Meier 2f75e4adc3 Camera trigger: Use smaller default stack for shell handler 2015-11-22 12:34:22 +01:00
Lorenz Meier b398064d55 Merge pull request #3232 from PX4/master_mpu9250_add_integration
Added the integration like on mpu6000
2015-11-21 12:30:01 +01:00
David Sidrane e41c3cf876 Missing Close es and poll rate reset 2015-11-21 01:09:58 -10:00
Lorenz Meier c6510bd2de Merge branch 'master' of github.com:PX4/Firmware into driver_framework 2015-11-21 11:20:27 +01:00
Roman 275761f3d5 properly assign struct member 2015-11-20 23:32:53 +01:00
David Sidrane 6bab225fed Added the integration like on mpu6000 2015-11-20 04:17:24 -10:00
Lorenz Meier 75e962ee7c Merged master into driver_framework 2015-11-20 09:14:37 +01:00
Mark Charlebois 34410e7ce4 Changes for updated DriverFramework
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-11-19 19:03:10 -08:00
Mark Charlebois b8c40ecb6b Enabled DriverFramework drivers for SITL build
The code here works only for SITL at the present time.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-11-18 11:58:21 -08:00
Mark Charlebois 238db8c6d7 Moved IOCTL definitions to DevIOCTL.h in DriverFramework
Removed sched.h from platform/qurt since it is now in DSPAL.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-11-17 19:30:51 -08:00
tumbili 2cc9f03c93 SITL: fixed control callback 2015-11-17 16:30:27 +01:00
Lorenz Meier b90e8a71f0 FMU: Fix sensor reset command, by Dmitry Prokhorov 2015-11-17 09:32:35 +01:00
Mark Charlebois 618626103f Use DevMgr::getNextDevicePath()
Also, a fix for number of args passed for accelsim.

Updated to newest version of DriverFramework.

DF drvices show up now in list_devices

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-11-16 16:57:57 -08:00
Mark Charlebois 3f20d78dfe Fixed code style
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-11-16 14:01:39 -08:00
Mark Charlebois dbe3b0e52b Re-enabling code to handle DF framework
Updated to latest DriverFramework and changed ioctl args to
unsigned int from void *.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-11-16 13:51:39 -08:00
Lorenz Meier 65cf8caef2 POSIX Device: Fix IOCTL interface 2015-11-14 11:16:42 +01:00
Karl Schwabe 48c467f602 Remove CONFIG_ARCH_BOARD #ifdef dependencies from mtd
Since mtd already checks whether CONFIG_MTD_RAMTRON is set in
defconfig use this define to check whether to call ramtron_attach()
or at24xxx_attach() in the main function, instead of checking
CONFIG_ARCH_BOARD_PX4FMU-V1.

Also instead of using #ifdef CONFIG_ARCH_BOARD_AEROCORE to determine
whether to start mtd on spi 2 or 4, rather use a new board define
PX4_SPI_BUS_RAMTRON in the board_config.h file.
2015-11-13 16:30:57 +01:00
Bartosz Wawrzacz c655b51d36 fixed formatting in px4io driver 2015-11-12 16:21:11 +01:00
Bartosz Wawrzacz 132a57c314 fix the scaling when using "RSSI from input channel" functionality 2015-11-12 15:38:44 +01:00
Lorenz Meier cc8f159bcc REVERT THIS COMMIT LATER: Temporarily disable the device listing 2015-11-12 15:31:38 +01:00
Lorenz Meier 437133aac4 Merged driver_framework from mcharleb 2015-11-12 15:20:15 +01:00
Mark Charlebois efd9995a10 Ported more simulated sensors to DriverFramework
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-11-10 07:45:13 -08:00
Lorenz Meier 8154fcdc8a IO driver: Fix code style 2015-11-06 10:24:10 +01:00
Lorenz Meier 1baf103ee7 IO driver: Set mixer ok flag once the mixer load completed 2015-11-06 10:24:10 +01:00
Lorenz Meier 06987c6244 Lock vdev devmap 2015-11-02 11:06:29 +01:00
Lorenz Meier c0a6635400 Lock VDEV table to prevent concurrent access 2015-11-02 10:51:53 +01:00