Commit Graph

247 Commits

Author SHA1 Message Date
klopezal f09b60ad9e lis3mdl : several fixes and enhancements 2017-02-12 13:52:41 +01:00
Lucas De Marchi 72e628f6e0 aerofc: use autodetection for MS5611 driver 2017-02-09 21:30:19 +01:00
Lucas De Marchi d6ef703fa4 aerofc: disable internal compass (#6485)
It uses a shared I2C bus with MS65611 which causes noise on the baro
reads. This will rely on the external compass instead of the internal
one.
2017-01-31 07:07:52 -10:00
Henry Zhang e81548bdb9 MindPX: Fix for hmc5883 rotation 2017-01-16 00:19:03 -08:00
José Roberto de Souza 53f2c1eb19 aerofc: Implement ADC
Measure the battery voltage of Aero RTF kit will be done by FPGA
and read by AeroFC using I2C bus.

The protocol is a little bit odd, it have different I2C slave
address for each "register", in future the FPGA RTL will
have a protocol more similar to other I2C sensors.

Also Aero RTF don't have a ADC line to measure current consumption.
2016-12-26 16:11:33 +01:00
Beat Küng f263ea7f7e rc.sensors aerofc: change external mag orientation to 'Yaw 180 deg' 2016-12-21 08:42:04 +01:00
Lorenz Meier 5ce9a35e95 Update rotation for FMUv5 ICM sensors 2016-12-21 08:34:22 +01:00
Lorenz Meier a7d31133ac Sensors startup: Whitespace fix 2016-12-21 08:34:22 +01:00
David Sidrane 489ee58773 px4fmu-v5 starts ICM 20602 and ICM 20689 2016-12-21 08:34:22 +01:00
David Sidrane 6ebd24a678 Added ICM20602 2016-12-21 08:34:22 +01:00
David Sidrane 120064b55d WIP:Startup for FMUV5
Incomplete changes to startup script for FMUv5.
   See "Place holder Need" in ROMFS/px4fmu_common/init.d/rc.sensors
2016-12-21 08:34:22 +01:00
David Sidrane 925102464b Adding px4fmu-v4pro 2016-12-21 08:34:21 +01:00
Lorenz Meier 4b99a8f28c Fix sf1xx start 2016-12-19 20:37:40 +01:00
Daniel Agar 77298e42db fix pixhawk 2 (solo) sensor start 2016-12-05 15:27:11 +01:00
Daniel Agar 69cc4d7e7f rc.sensors fix indentation 2016-12-05 15:27:11 +01:00
Daniel Agar a8747a01fe pixhawk 2.1 add 2nd ms5611 2016-12-05 15:27:11 +01:00
Lorenz Meier 1b19b78c2b ROMFS: Enable thermal control (set to off) for Pixhawk 2 2016-12-05 10:23:46 +01:00
Michael Schaeuble b982dca45a Add comments to clarify the BMI160 related changes 2016-12-02 12:40:12 +01:00
Michael Schaeuble 10867131fa Bring up BMI160 for px4fmu-v4 targets 2016-12-02 12:40:12 +01:00
José Roberto de Souza 621a0fe492 aerofc: Enable IST8310 2016-11-28 09:21:12 +01:00
José Roberto de Souza 8fb15f1de8 aerofc: Enable I2C1 for external compass
For now it is only checking if there is a external HMC5883, if
necessary more compass should be added and probe.
2016-11-28 09:21:12 +01:00
José Roberto de Souza 4943437327 aerofc: Set sensors rotation 2016-11-28 09:21:12 +01:00
Lucas De Marchi 1eadee19c3 aerofc: Fix for ms5611 init 2016-11-28 09:21:12 +01:00
James Goppert 893714dc6a aerofc: Fixes for init 2016-11-28 09:21:12 +01:00
David Sidrane 5b5076ae01 Added AUAV X2.1 sensor startup script 2016-11-28 09:18:45 +01:00
Michael Schäuble 697d401b73 Fix boot process on Pixhawk 2 (#5844)
* Pixhawk2: Check for mpu9250 during boot

* Fix indentation style
2016-11-12 12:57:33 +01:00
Henry Zhang b280e28623 MindPX: Remove hardcode for sensors rotation. 2016-10-29 10:56:32 +02:00
Lorenz Meier 605cffc230 Fix sensor rail reset on Pixracer. Increase the reset duration to 50 ms to ensure the sensor power has bled off. 2016-10-08 16:18:48 +02:00
Dennis Shtatnov 5100785f51 MPU9250 I2C mode
Fixes for other boards

Functioning sensors
2016-09-04 19:12:08 +02:00
Lorenz Meier fadac79617 Add 9250 startup for FMUv2 2016-08-23 19:51:57 +02:00
Lorenz Meier d32a7ffb8d Probe for ICM20608 2016-08-18 21:02:48 +02:00
Vasily Evseenko 49844f52d5 Fix SF10a driver. Add support for SF11c and rename to SF1xx 2016-08-04 15:09:33 +02:00
Lorenz Meier 021f0840ae Fix Hobbyking Pixracers 2016-07-11 15:03:07 +02:00
Robert Dickenson 45a601b9c1 New driver for the LIS3MDL magnetometer. 2016-04-22 10:30:19 +02:00
Lorenz Meier 936f6b6eb7 Fix FMUv3 startup script logic 2016-03-30 19:45:39 +02:00
Felix Hu c528c02e95 Optimize rc shell 2016-03-30 19:45:39 +02:00
Felix Hu bd580e09bf supports MindPXv2 borad which is a product from AirMind. 2016-03-30 19:45:39 +02:00
Andreas Antener fc061ea94d try meas airspeed on I2C bus 2 on fmu rev 3 2016-03-27 12:06:40 +02:00
Lorenz Meier 63235747c2 ROMFS: Run I2C clock config command for all non-v1 boards 2016-03-13 17:59:19 +01:00
ecmnet edfbb90656 Initial commit SF10x driver 2016-02-05 18:23:13 +01:00
Lorenz Meier 45c9ca5eb7 Start BlackSheep telemetry by default 2015-12-04 19:37:35 +01:00
Anton Babushkin 2ae84ca171 rc.sensors: run ms5611 driver on internal SPI bus only 2015-12-04 19:37:35 +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 775b64595c Fixed hmc5983 2015-11-28 09:13:15 +01:00
David Sidrane 6585b629e1 Set Rotations for 6 and 9 axis 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 75b96732b5 Extended to support PX4FMU_V4 hw 2015-11-28 09:13:15 +01:00
Lorenz Meier ad0e1fe2d7 ROMFS: Do not abort system boot on sensor error 2015-10-11 15:43:17 +02:00
Lorenz Meier c118351ba9 ROMFS: Wait for sensors to be started 2015-09-07 15:43:43 +02:00
Lorenz Meier ea2975c2a9 Merged beta into master 2015-08-11 11:03:01 +02:00
Lorenz Meier f7ef77371e Fix startup order of FLOW sensor 2015-08-10 17:13:20 +02:00
Lorenz Meier a17310bf33 Fix Lidar-lite start order 2015-07-17 10:52:05 +02:00
Simon Laube 440aedebad change start script to launch the px4flow driver in background.
Fixes issue #2145
2015-07-04 18:27:13 +02:00
Simon Laube 07efb655c4 change start script to launch the px4flow driver in background.
Fixes issue #2145
2015-06-30 21:15:50 +02:00
James Goppert 3cc84b1a15 Correct ll40ls param enable length. 2015-05-26 21:20:18 -04:00
Mohammed Kabir d06bdc0445 ll40ls : fix param typo 2015-05-26 21:54:19 +05:30
Mohammed Kabir 42358a60d1 ll40ls : conditional startup 2015-05-26 21:51:33 +05:30
Lorenz Meier 7f3f572c40 Always boot, even with no pressure sensor or ADC. Fixes #2151 2015-05-10 10:21:16 +02:00
Johan Jansen 3365e577e7 ROMFS: Update for preflight check in Commander 2015-04-20 09:14:12 +02:00
Lorenz Meier a1c698034d HMC5833 driver: Enable internal temperature calibration when available. 2015-04-11 00:59:58 +02:00
Lorenz Meier 3a151a9d00 Sensors startup: Correct startup for HMC5883 2015-02-09 22:56:25 +01:00
Lorenz Meier 8b5e54f765 Fix sensor startup and rotations 2015-02-09 22:56:25 +01:00
Lorenz Meier d638cbda83 start MS5611 in parallel 2015-01-02 12:28:22 +01:00
Lorenz Meier 407889ea2c Merged master into indoor branch 2014-12-26 17:06:19 +01:00
Thomas Gubler 642b2088c3 autostart ll40ls 2014-12-14 11:43:25 +01:00
Thomas Gubler 29eab8ebd4 change [init] to [i]
This change was introduced in pull #1461. This fixes some missed
occurrences.
2014-12-14 11:28:25 +01:00
Lorenz Meier f3a224e30d Merged master 2014-11-22 12:47:08 +01:00
Lorenz Meier 6d59df1a5f Make ROMFS less chatty 2014-11-15 16:19:51 +01:00
Lorenz Meier 0df878d2d5 Start flow driver, start MAVLink instance with right arguments 2014-08-27 09:49:19 +02:00
Lorenz Meier f4cf94b084 Improved rcS handling, added failsafe flag. Needs further testing for USB stability 2014-08-12 08:21:06 +02:00
Lorenz Meier 0b81d9883a Strip excessive binary text to save some flash, start all three sensor sets 2014-07-16 15:17:33 +02:00
Lorenz Meier ede1deaed6 Add support for external sensors in startup 2014-07-16 15:02:25 +02:00
Lorenz Meier c6c9c49823 Implement the external mag param in a fashion that retains backward compatibility 2014-07-16 14:58:43 +02:00
Anton Babushkin d39d5cc9da SYS_EXT_MAG parameter added for magnetometer selection 2014-07-16 11:26:32 +02:00
Lorenz Meier e6b5e3ae61 Add note about need to scan external buses first 2014-07-12 19:22:36 +02:00
ufoncz bd5a0cef1a ver command ready including hwcmp which replaces hw_ver, removed hw_ver
updated all scripts to use new ver hwcmp command
q
2014-04-27 17:42:45 +02:00
Lorenz Meier 0982b081b8 ROMFS cleanup to eleminate excessive comments and resulting flash usage 2014-02-01 15:46:04 +01:00
Anton Babushkin a8d362de13 Autostart: use MIXER instead of FRAME_GEOMETRY 2014-01-15 00:02:57 +01:00
Anton Babushkin 255d91d8d4 hw_ver app added for hardware version checking 2014-01-07 21:56:35 +01:00
Lorenz Meier f042ea1623 Removed whitespace 2013-12-17 10:20:22 +01:00
Lorenz Meier b63d4809de Enabled MPU6K and updated startup script to start all sensors 2013-12-15 19:35:23 +01:00
Lorenz Meier 252fc30ca7 Start digital airspeed sensors as default 2013-09-29 14:07:01 +02:00
Lorenz Meier fb4ca82b84 Hotfix: Cleanup on startup scripts 2013-08-31 11:33:57 +02:00
Lorenz Meier 7bd952c7ac Prevented double HMC start after merge 2013-08-19 17:38:03 +02:00
Lorenz Meier 24d8ca5092 Merge branch 'fmuv2_bringup' of github.com:cvg/Firmware_Private into fmuv2_bringup_new_state_machine_drton 2013-08-19 17:37:22 +02:00
Lorenz Meier f4b5a17a7b Improved sensor startup and error checking 2013-08-19 17:35:07 +02:00
Julian Oes a95e48c0b2 Don't stop the startup script if no external HMC5883 is connected 2013-08-19 16:51:22 +02:00
Julian Oes 00c9b8f87f Start the hmc5883 before the lsm303d so that an external mag is used 2013-08-19 16:34:12 +02:00
Lorenz Meier 66d294b5bf Fixed to FMUv2 autostart and config 2013-08-11 17:39:10 +02:00
Lorenz Meier cbb5ce8f59 Fixed startup behavior for PX4 autostart 2013-08-11 16:54:00 +02:00
Lorenz Meier bbecaa7de3 Merged 2013-07-20 08:31:52 +02:00
Lorenz Meier f93fbbae23 Make preflight check optional 2013-07-18 15:26:14 +02:00
Lorenz Meier ad8fc7e61e Merge branch 'master' of github.com:PX4/Firmware into fmuv2_bringup 2013-07-18 13:28:26 +02:00
Lorenz Meier 8d1abf4aa4 Lunchtime HOTFIX: Bring back USB console to operational, allow single-USB connection operation via QGC 2013-07-18 13:16:34 +02:00
Lorenz Meier 35a519a2ea Fixed sensor driver name 2013-07-16 20:36:50 +02:00
Lorenz Meier ff518e72d4 Make it harder to run into a non-existent uORB error 2013-05-13 08:34:48 +02:00
px4dev 01e427b17c Merge working changes into export-build branch. 2013-04-26 16:14:32 -07:00