Commit Graph

885 Commits

Author SHA1 Message Date
Julian Oes 56575eb068 Merge remote-tracking branch 'px4/new_state_machine_drton' into fmuv2_bringup_new_state_machine_drton
Conflicts:
	src/drivers/blinkm/blinkm.cpp
	src/drivers/px4io/px4io.cpp
	src/modules/commander/state_machine_helper.c
	src/modules/px4iofirmware/protocol.h
	src/modules/px4iofirmware/registers.c
	src/modules/systemlib/systemlib.h
	src/systemcmds/reboot/reboot.c
2013-08-15 14:04:46 +02:00
Lorenz Meier 74d519d9d0 Hotfix: Fixed Doxygen tags for uORB topics 2013-08-15 13:38:59 +02:00
Lorenz Meier 0dc240688d Merge branch 'fmuv2_bringup' of github.com:cvg/Firmware_Private into fmuv2_bringup 2013-08-15 11:26:17 +02:00
Julian Oes 561ec495b7 Merge branch 'new_state_machine_drton' of github.com:DrTon/Firmware into new_state_machine_drton
Conflicts:
	Documentation/flight_mode_state_machine.odg
2013-08-15 10:43:11 +02:00
Anton Babushkin 7476b03543 Merge branch 'master' into new_state_machine_drton 2013-08-15 10:33:45 +02:00
Julian Oes 39ae01dd07 Fix the low priority loop, calibration routines work again 2013-08-15 10:31:35 +02:00
Julian Oes e5af29be17 Fixed param save and load 2013-08-15 10:21:58 +02:00
Lorenz Meier cc9f1e81ad Rejecting arming if safety switch is not in safe position, added reboot command 2013-08-15 09:52:22 +02:00
Lorenz Meier 0bbc4b7012 Build fixes 2013-08-15 08:42:08 +02:00
px4dev 50cf1c01b7 Compile fix. 2013-08-14 22:29:36 -07:00
px4dev 33863165b2 Merge commit 'de749a3602423f5ee6ca56f3cf2dfff04e31ec6d' (kconfig-cleanup) into fmuv2_bringup 2013-08-14 21:23:00 -07:00
Lorenz Meier aebdd6e059 Merged master 2013-08-14 22:53:42 +02:00
Anton Babushkin 27d0885453 gyro_calibration: confusing typo in mavlink message fixed 2013-08-14 22:38:14 +02:00
Julian Oes 53def47216 Fixed gyro scale calibration (it was storing scale even though the scale calibration was skipped 2013-08-14 22:33:43 +02:00
Lorenz Meier d2f19c7d84 Merge pull request #354 from jean-m-cyr/master
Support initiating DSM bind via QGroundControl
2013-08-14 12:43:59 -07:00
Anton Babushkin 9505654f91 commander/px4_custom_mode.h added 2013-08-14 17:57:01 +02:00
Lorenz Meier 01d354effc Merge pull request #355 from PX4/kconfig-cleanup
Kconfig cleanup
2013-08-14 08:35:01 -07:00
Julian Oes 3a21cacdbb Fix bug where IO was in override mode for copter (workaround was to disconnect and reconnect Rx 2013-08-14 16:00:35 +02:00
Julian Oes 29d7836784 RGBled fixes: options and off after rgb working now 2013-08-14 15:03:52 +02:00
Andrew Tridgell 3b10f8431d rgbled: try expansion bus first, unless specific bus given
this will allow "rgbled start" to detect which bus the LED is on,
supporting boards with either external or internal LEDs
2013-08-14 15:02:35 +02:00
Andrew Tridgell 21a919d973 rgbled: added LED_MODE_RGB to allow for constant RGB values
this allows apps to fully control the 3 LED elements
2013-08-14 15:02:15 +02:00
Lorenz Meier e14d034528 Merge branch 'master' of github.com:PX4/Firmware into fmuv2_bringup 2013-08-14 14:58:02 +02:00
Anton Babushkin d7730a3444 commander, mavlink: fixed base_mode and custom_mode in mavlink 2013-08-14 10:59:22 +02:00
px4dev de749a3602 Stop expecting CONFIG_HRT_anything since we aren't baking it into the NuttX config anymore. 2013-08-13 00:34:41 -07:00
Lorenz Meier cd928b64f3 Fixed log conversion scripts copy operation. Each log comes now with the required conversion tools. Eats up only 10 KB flash for the good cause. 2013-08-13 09:10:47 +02:00
Lorenz Meier 0025e9ca90 Hotfix: Copy a current version of the log conversion tools to each log directory 2013-08-13 07:57:39 +02:00
Jean Cyr 0b93555043 Tell mavlink about bind results 2013-08-11 21:16:55 -04:00
Jean Cyr 35ec651cee Remove unused IOCTLs 2013-08-11 18:07:25 -04:00
Lorenz Meier 828626ee01 Merge pull request #347 from jgoppert/md25_dev
Segway Controller
2013-08-11 14:23:25 -07:00
Jean Cyr 1d408b80ad Support DSM bind via QGroundControl 2013-08-11 17:19:54 -04:00
Lorenz Meier 083cc60acb Increased logging to 200 Hz in F330 startup for v2, allowed to set up to 333 Hz update rate in IO driver for v2 link 2013-08-11 18:42:20 +02:00
Lorenz Meier 42b4961781 Reduced excessive IO stack size (had 4k, is using 0.7k, has now 2k) 2013-08-11 16:54:24 +02:00
Lorenz Meier cbb5ce8f59 Fixed startup behavior for PX4 autostart 2013-08-11 16:54:00 +02:00
Jean Cyr 36679fbb39 Some DSM satellites are fussier about bind pulse timing
These values work better
2013-08-10 11:22:08 -04:00
Lorenz Meier dccdc977d5 Made accel / gyro self tests aware of offsets and scales, added support to config command to call these 2013-08-09 17:56:32 +02:00
Anton Babushkin 32439d748a commander: set mode using base_mode and custom_mode 2013-08-07 20:21:49 +02:00
Andrew Tridgell 547a747752 Merged commit disabling FIFO in L3GD20 2013-08-07 15:40:43 +02:00
Anton Babushkin 40c56ab61e Corrected bug in px4io driver that lead to hang of FMU-IO communication 2013-08-06 21:10:41 +02:00
Lorenz Meier 0012b39b37 Merge branch 'master' of github.com:PX4/Firmware into fmuv2_bringup 2013-08-06 09:54:14 +02:00
Lorenz Meier 28fa96e2db Made sure airspeed tests reset the sensors to default state 2013-08-06 09:53:52 +02:00
Andrew Tridgell 46fd904b5a px4io: include board_config.h
without this we don't get the I2C interface built for PX4IO
2013-08-06 09:21:59 +02:00
Lorenz Meier 461b2eb366 Merge branch 'mpu6k_queue' of github.com:PX4/Firmware into fmuv2_bringup 2013-08-06 09:15:24 +02:00
Andrew Tridgell 338e506a28 mpu6000: set the default DLFP filter to 42Hz
this allows for apps to ask for slightly higher filters with the
software filter and not have it completely ruined by the on-chip DLPF
2013-08-06 09:07:12 +02:00
Lorenz Meier ca9a11a586 Indendation fixes 2013-08-05 23:09:02 +02:00
Lorenz Meier cfd737aa73 Made sensors startup routine more flexible 2013-08-05 21:08:19 +02:00
Lorenz Meier a2f923b9a3 Increased MPU6K poll and sampling rate to 1 KHz 2013-08-05 21:05:34 +02:00
Lorenz Meier b5d19d08ea Equipped MPU6k driver with Butterworth for accel and gyro 2013-08-05 21:05:08 +02:00
Lorenz Meier 86e5d39b89 Merge branch 'master' of github.com:PX4/Firmware into mpu6k_queue 2013-08-05 20:11:44 +02:00
Julian Oes 58a4c5d544 Added missing include for MS5611 2013-08-05 16:32:59 +02:00
Lorenz Meier 901a9c3e35 Hotfix: MEAS Airspeed sensor fixes from Sarthak Kaingade 2013-08-05 12:44:38 +02:00
Lorenz Meier 5ddbe24d8e Fixed code style for meas_airspeed.cpp 2013-08-05 12:26:31 +02:00
px4dev 1acbbe46d1 Make it possible to create a cdev without automatically creating a device node. 2013-08-04 19:49:19 -07:00
px4dev 1fb4705ab7 Add size and flush methods to the ringbuffer class. 2013-08-04 19:48:46 -07:00
px4dev 4b4f33e6a4 Add direct-access methods to the base Device class, so that there's a common way of talking to drivers regardless of which of the specialised classes they derive from.
Make the Device destructor public and virtual, so that arbitrary devices can be deleted. Likewise for classes that derive from it.

Make Device::init public so that arbitrary devices can be initialised after being returned by factories.
2013-08-04 19:48:20 -07:00
px4dev 567f621754 Fix an issue with the pwm_servo driver when using one of the STM32 advanced timers. 2013-08-04 19:43:05 -07:00
px4dev c33048b521 Add the ability to cancel a begin/end perf counter if the begin turns out to have been in error. 2013-08-04 19:42:16 -07:00
px4dev 97e4909d9e Improvements to the HX stream protocol implementation. 2013-08-04 19:40:57 -07:00
Lorenz Meier e95861e9df Merge branch 'mpu6k_queue' of github.com:PX4/Firmware into fmuv2_bringup 2013-08-04 23:50:41 +02:00
Lorenz Meier b6ceba4c0a Merged master 2013-08-04 23:50:23 +02:00
Lorenz Meier 8b4413f3b1 Hotfix for attitude estimator EKF init 2013-08-04 19:22:32 +02:00
Lorenz Meier cac4a6f578 Merge branch 'master' into mpu6k_queue 2013-08-04 19:21:45 +02:00
Lorenz Meier c2ee4437e0 Rate limit sensors, as the in-sensor lowpass allows us to operate at 200-250 Hz 2013-08-04 19:20:55 +02:00
Lorenz Meier 17da1e3f36 Fixed MS5611 startup on V1 boards 2013-08-04 19:19:48 +02:00
Andrew Tridgell ac89322d74 mathlib: added LowPassFilter2p object
used in gyro and accel drivers for better filtering
2013-08-04 19:12:41 +02:00
Lorenz Meier 36cca7a31b Added rate limit in sensors app. Just pending accel filters now 2013-08-04 19:10:56 +02:00
Lorenz Meier 9bcabc5ba9 Hotfix for attitude estimator EKF init 2013-08-04 19:09:10 +02:00
Andrew Tridgell 83189a85da l3gd20: disable the FIFO
the FIFO was not gaining us anything, and was adding latency. If we
use the FIFO we'd need to do multiple SPI transfers to ensure it is
drained
2013-08-04 16:13:48 +02:00
Andrew Tridgell 26204496b6 Merged LSM303D lowpass 2013-08-04 15:49:34 +02:00
Andrew Tridgell 686edfefb8 Removed LSM303D filter 2013-08-04 15:47:35 +02:00
Andrew Tridgell a87690d0e2 Added L3GD20 lowpass 2013-08-04 15:46:41 +02:00
Andrew Tridgell 7ddd88623e mathlib: added LowPassFilter2p object
used in gyro and accel drivers for better filtering
2013-08-04 15:43:56 +02:00
Lorenz Meier f45e74265e Fixed driver test / direct read, looks good 2013-08-04 15:15:41 +02:00
px4dev e931d3b9cd Add an option to the systemreset() call and to the reboot command (-b) to reboot into the bootloader.
The system will remain in the bootloader until it's reset, or until an upload is completed.
2013-08-03 22:35:18 -07:00
px4dev 02f5b79948 Try to save our sanity a bit and use the generic ringbuffer class rather than re-implementing the wheel. 2013-08-03 19:03:24 -07:00
px4dev a3ab88872c Add some more useful methods to the ringbuffer class. 2013-08-03 19:02:54 -07:00
px4dev 42f2794dee Merge branch 'master' into mpu6k_queue 2013-08-03 18:29:26 -07:00
px4dev 234ad24081 Simple ring-buffer template class, because re-implementing the wheel in every driver is silly. 2013-08-03 18:23:48 -07:00
Lorenz Meier 9499e48a52 Fixed setting mag queue depth 2013-08-04 01:52:22 +02:00
Lorenz Meier 9a97001cc8 Added queue to mpu6k driver 2013-08-04 01:50:58 +02:00
James Goppert 97b75951b1 Shortened segway param names. 2013-08-03 14:33:43 -04:00
James Goppert 8f1487b157 Merge branch 'master' of github.com:jgoppert/Firmware into md25_dev 2013-08-03 12:18:41 -04:00
Andrew Tridgell 4708693f86 nshterm: start a nsh console on any device
this is used in APM startup to fallback to a console on ttyACM0 if
startup fails for any reason
2013-08-03 11:41:35 +02:00
px4dev 9d6ec6b365 Restructure things so that the PX4 configs move out of the NuttX tree, and most of the PX4-specific board configuration data moves out of the config and into the board driver.
Rename some directories that got left behind in the great board renaming.
2013-08-02 22:34:55 -07:00
Andrew Tridgell a9c1882ea0 l3gd20: fixed bit definitions for filter rates
and allow requests for the rates in table 21 of the l3gd20H datasheet
2013-08-02 16:35:54 +02:00
Lorenz Meier b9446af3f9 Show correct battery voltage for v2 boards 2013-08-02 16:29:43 +02:00
Andrew Tridgell bee8e27f04 adc: allow "adc test" to read 10 values 2013-08-02 12:45:50 +02:00
Andrew Tridgell c7d8535151 px4io: don't try the px4io serial interface on FMUv1
this caused px4io start to fail on FMUv1
2013-08-02 12:45:41 +02:00
Andrew Tridgell f3764d0b5a px4fmu: expanded "fmu test"
this now does testing in a similar manner as "px4io test", except that
it tests both ioctl and write based setting of servos
2013-08-02 12:44:47 +02:00
Anton Babushkin 02d4480e8e commander rewrite almost completed, WIP 2013-07-31 20:58:27 +04:00
px4dev feee1ccc65 Remove some timer reload events; these seem to break PWM output on IO. 2013-07-30 22:47:17 -07:00
Julian Oes 7e9a18da79 Changed gyro scaling according to datasheet 2013-07-30 18:20:31 +02:00
Lorenz Meier 1543c99003 Merge branch 'master' of github.com:PX4/Firmware into fmuv2_bringup 2013-07-30 11:28:30 +02:00
Lorenz Meier d14891554e Merge branch 'config' of github.com:PX4/Firmware 2013-07-30 11:03:45 +02:00
Andrew Tridgell dad76c56c6 ets_airspeed: cope with zero value from ETS airspeed sensor 2013-07-30 10:58:47 +02:00
px4dev 57cbf724f1 Fix the clock enable register for FMUv2 PWM outputs 1-4.
Teach the stm32 pwm driver about the MOE bit on advanced timers.
2013-07-29 23:13:46 -07:00
Lorenz Meier db527ee881 Removed unused code 2013-07-29 11:00:36 +02:00
James Goppert dc542b2a48 Segway stabilized. 2013-07-28 22:27:05 -04:00
Anton Babushkin 8c1067a017 State machine rewritten, compiles, WIP 2013-07-28 23:12:16 +04:00
Lorenz Meier 1410625dea Enabled additional drivers on v2, kill misplaced code in mkblctrl 2013-07-28 16:12:40 +02:00
Lorenz Meier 453687a006 Merge branch 'master' of github.com:PX4/Firmware into fmuv2_bringup 2013-07-28 15:42:47 +02:00
Lorenz Meier 57db5d912b Merge pull request #343 from PX4/meas_split
ETS airspeed and MEAS airspeed combined driver
2013-07-28 06:41:42 -07:00
Lorenz Meier 382c637fab Fixed stack sizes for airspeed drivers 2013-07-28 15:41:10 +02:00
Lorenz Meier 1984e609b6 Merged in RAMTRON update 2013-07-28 14:57:19 +02:00
Lorenz Meier 4e5eb9740b Fixed led and reboot linker challenges in C++ environments 2013-07-28 14:50:27 +02:00
Lorenz Meier 30405331bd Merge branch 'master' of github.com:PX4/Firmware 2013-07-28 14:10:53 +02:00
Lorenz Meier f4fc3bbd57 Added RAMTRON device, updated diagrams 2013-07-28 14:10:37 +02:00
James Goppert 1980d9dd63 Working on segway controller, restructure of fixedwing. 2013-07-28 01:35:43 -04:00
James Goppert 95aa82f586 Fixed arg number. 2013-07-28 00:05:56 -04:00
James Goppert 308f1dbfa4 Added amplitude frequency to md25sine command. 2013-07-28 00:05:56 -04:00
James Goppert 4cfcea1767 Working on debug output. 2013-07-28 00:05:56 -04:00
James Goppert 77c084a4cf Fixed typo with strncpy. 2013-07-28 00:05:56 -04:00
James Goppert 76d086e077 Working with debug messages. 2013-07-28 00:05:56 -04:00
James Goppert 78ef6f5265 Changed final time. 2013-07-28 00:05:56 -04:00
James Goppert f2a0cce958 Fixed timing issues. 2013-07-28 00:05:56 -04:00
James Goppert e7cc6e71ad Added pub update. 2013-07-28 00:05:56 -04:00
James Goppert 42f09c4b54 Working on sysid. Added debug values. 2013-07-28 00:05:56 -04:00
James Goppert 7643106208 Added log print ability to md25 driver. 2013-07-28 00:05:56 -04:00
James Goppert f3bfbd87b1 Added sine test. 2013-07-28 00:05:56 -04:00
Lorenz Meier 95dde5f1be Implemented config command, fixed a number range set / get issues for some sensor drivers, fixed gyro calibration 2013-07-26 18:24:37 +02:00
Lorenz Meier 18635c5f5f Merge branch 'fmuv2_bringup' of github.com:cvg/Firmware_Private into fmuv2_bringup 2013-07-26 15:16:58 +02:00
Lorenz Meier dd3033fa6f Symbol cleanup for servo vs. battery voltage 2013-07-26 15:16:48 +02:00
Anton Babushkin a013fc5d0b multirotor_pos_control: limit xy velocity integral output to tilt_max / 2 2013-07-25 20:05:45 +04:00
Lorenz Meier ffd14e1396 Updated F330 script, enabled amber led 2013-07-25 12:44:47 +02:00
Lorenz Meier 830dff9b6a First operational test version, provides correct readings (as far as tests were possible) 2013-07-25 11:16:25 +02:00
Lorenz Meier a726ec632f Merge branch 'master' of github.com:PX4/Firmware into fmuv2_bringup 2013-07-25 08:16:22 +02:00
px4dev 33e33d71b8 Just the changes required to avoid SPI bus conflicts for MS5611 2013-07-24 22:53:10 -07:00
px4dev d57d12818a Revert "Disable interrupts during ms5611 SPI transactions to prevent interruption by sensor drivers polling other sensors from interrupt context."
This reverts commit 31ded04c80.
2013-07-24 22:51:27 -07:00
Anton Babushkin 8dd5130d99 position_estimator_inav, multirotor_pos_control: bugs fixed 2013-07-24 18:20:04 +04:00
Anton Babushkin 7c1693a877 commander: don't notify user about rejected disarm to not confuse, flag_control_altitude_enabled added, flags values fixed 2013-07-23 14:56:12 +04:00
Anton Babushkin 55fd19f281 sensors: ASSISTED switch channel added 2013-07-22 22:37:10 +04:00
Anton Babushkin 963abd66ba commander: WIP, SEATBELT renamed to ASSISTED, added SIMPLE mode, added ASSISTED switch, some cleanup and reorganizing 2013-07-22 21:48:21 +04:00
Anton Babushkin 57837eb0b9 Merge commit 'dc5bcdda761e5f8f4f7f26a600f02df007ab1df6' into seatbelt_multirotor 2013-07-22 14:58:40 +04:00
Lorenz Meier edcd25b5ed Airspeed sensor driver operational, needs cleanup / testing 2013-07-22 10:24:35 +02:00
Lorenz Meier 97f732ccf1 Fixed up ets driver (not tested, WIP on meas driver) 2013-07-22 09:19:59 +02:00
Anton Babushkin bd50092dd2 position_estimator_inav: accelerometer bias estimation for Z, default weights for GPS updated 2013-07-21 22:44:46 +04:00
Anton Babushkin 98a4345410 multirotor_pos_control: some refactoring and cleanup, attitude-thrust correction moved to thrust_pid 2013-07-21 22:42:45 +04:00
Lorenz Meier dc5bcdda76 Hotfix: Made accel calibration a bit more forgiving about motion threshold 2013-07-21 11:29:10 +02:00
Lorenz Meier 0f19de5311 Ensured correct pointer init 2013-07-21 11:27:52 +02:00
px4dev 31ded04c80 Disable interrupts during ms5611 SPI transactions to prevent interruption by sensor drivers polling other sensors from interrupt context. 2013-07-20 19:09:59 -07:00
px4dev f6daafba03 Revert "Changed the MS5611 from the workq to hrt_call_every implementation, this seems to solve the SPI chip select overlaps"
This reverts commit c93e743374.
2013-07-20 18:51:46 -07:00
px4dev cfbdf7c903 Revert "Corrected the interval of the MS5611"
This reverts commit 094ff1261a.
2013-07-20 18:51:25 -07:00
Lorenz Meier eb52eae153 Code style for BlinkM 2013-07-20 13:48:19 +02:00
Lorenz Meier 68ab69de01 moved commander to C++, preparation for better gyro scale calibration respecting the current attitude for more accurate results 2013-07-20 13:47:51 +02:00
Lorenz Meier bbecaa7de3 Merged 2013-07-20 08:31:52 +02:00
Lorenz Meier c88e8e335c Merged master 2013-07-20 08:30:20 +02:00
Anton Babushkin 1dac58571e multirotor_pos_control: minor cleanup 2013-07-19 22:40:45 +04:00
Julian Oes 094ff1261a Corrected the interval of the MS5611 2013-07-19 18:30:01 +02:00
Julian Oes c93e743374 Changed the MS5611 from the workq to hrt_call_every implementation, this seems to solve the SPI chip select overlaps 2013-07-19 17:47:32 +02:00
Lorenz Meier da1bf69ce2 Added gyro scale estimation (but param is NOT written) 2013-07-19 13:07:51 +02:00
Lorenz Meier 1575da4390 Merge branch 'master' of github.com:PX4/Firmware into new_state_machine 2013-07-19 12:53:37 +02:00
sjwilks a8ac56b9e5 Merge pull request #338 from PX4/autostart
Implemented new, simple system boot config and sane default value system
2013-07-19 03:42:51 -07:00
Lorenz Meier 4d88b56e38 Handle case of non-present leds in preflight check 2013-07-19 08:14:44 +02:00
Lorenz Meier 2c31961bb0 Minor change to make USB startup more resilient 2013-07-19 08:09:35 +02:00
Julian Oes 374d204b92 Enable BDU instead of CONT mode 2013-07-18 19:48:15 +02:00
Julian Oes e309b9ab4a Disable IIR filter for now 2013-07-18 19:45:44 +02:00
Julian Oes da152e148d Added iirFilter to LSM303D 2013-07-18 16:15:43 +02:00
Lorenz Meier da54659b5e Removed wrong dependency check 2013-07-18 15:55:06 +02:00
Lorenz Meier 798075c90d Work around orb_check fail in sensors app 2013-07-18 15:50:07 +02:00
Julian Oes f4df4a4e08 Forgot to add current samplerate to constructor 2013-07-18 15:30:39 +02:00
Julian Oes eb28f5996f Some lost LSM303D fixes for range and scale 2013-07-18 15:21:39 +02:00
Lorenz Meier e19d2e94ec Hotfix: Ensured there are never two filters running at the same time if auto-magic happens via USB link 2013-07-18 15:20:36 +02:00
Julian Oes f5f7b3f6dd Added scale ioctl to LSM303D driver 2013-07-18 14:42:08 +02:00
Lorenz Meier a5c8d8c5f2 Robustified accel cal 2013-07-18 14:24:32 +02:00
Lorenz Meier 7bf2edc3bf Script cleanup, WIP on mavlink logging 2013-07-18 14:01:42 +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 a4d0594bd7 Merge branch 'master' into autostart 2013-07-18 13:18:42 +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 d84824dd4f Compile fixes 2013-07-18 10:35:36 +02:00
Lorenz Meier 349c962469 Compiling / executing WIP on leds, leds not operational yet 2013-07-18 10:01:43 +02:00
Lorenz Meier 17445b0fbb Added led support to FMUv2 2013-07-17 22:54:05 +02:00
Anton Babushkin 68b7e03155 sdlog2: copyright fix 2013-07-17 22:27:22 +04:00
Anton Babushkin 17366c4b0d multirotor_pos_control: fixes for AUTO mode, minor cleanup 2013-07-17 22:22:51 +04:00
px4dev 5679a1b2b1 Fix handling of register read operation errors. 2013-07-17 09:19:17 -07:00
Anton Babushkin c4248c055f position_estimator_inav: minor fixes 2013-07-17 19:54:47 +04:00
Anton Babushkin c6d184e29d Merge branch 'master' into seatbelt_multirotor 2013-07-17 19:16:49 +04:00
Lorenz Meier e86e2a0938 Add additional file name options 2013-07-17 07:57:02 +02:00
Julian Oes bcdedd9a35 Changed location of lots of flags and conditions, needs testing and more work 2013-07-16 18:56:31 +02:00
Lorenz Meier 6e44a486c1 Merged 2013-07-16 18:28:05 +02:00
Julian Oes 76edfa896b Fixed disarming bug, use flag instead of mode switch 2013-07-16 13:24:02 +02:00
Lorenz Meier c8aca814ca Improved comments 2013-07-16 12:46:23 +02:00
Lorenz Meier 6902177b99 Default to 2000 dps for L3GD20 2013-07-16 12:45:43 +02:00
Julian Oes 6dc3fcd1ad Some more commander cleanup, param update handling code was doubled 2013-07-16 10:05:51 +02:00
Julian Oes 08926019ea Just some reordering in commander 2013-07-16 09:35:31 +02:00
Julian Oes 3e161049ac Got rid of useless orb_receive_loop, moved some helper functions 2013-07-16 09:24:21 +02:00
Lorenz Meier 2f76c81147 More compile fixes 2013-07-16 09:08:05 +02:00
Lorenz Meier ce8e2fd726 Fixed compile error due to bad merge 2013-07-16 09:00:21 +02:00
Lorenz Meier 41b51bdb88 Merge branch 'master' of github.com:PX4/Firmware into fmuv2_bringup 2013-07-16 08:57:40 +02:00
Simon Wilks 1a408431e1 Merge remote-tracking branch 'upstream/master' into hott-esc 2013-07-16 08:14:23 +02:00
Lorenz Meier 1d883ad4c6 Hotfix: Fixed RC calibration 2013-07-16 08:10:38 +02:00
Simon Wilks 7380cebb67 Cleanup comments and make them more consistent between messages. 2013-07-16 08:08:55 +02:00
Julian Oes 1b38cf715d Renamed actuator_safety back to actuator_armed, compiling but untested 2013-07-15 22:15:15 +02:00
Lorenz Meier bf2ff98856 Merged master 2013-07-15 15:02:45 +02:00
Lorenz Meier eb2a9ded69 Only printing value if equal 2013-07-15 14:17:42 +02:00
Lorenz Meier 17338ca61a Removed unneccesary casts in airspeed calculation to double precision 2013-07-15 13:59:23 +02:00
Lorenz Meier 0b47ed86e0 Implemented new, simple system boot config and sane default value system based on two parameters evaluated at boot time 2013-07-15 13:58:43 +02:00
Anton Babushkin b174a60515 multirotor_pos_control: PID ontroller derivative mode fixed 2013-07-15 09:11:52 +04:00
px4dev dca9019f75 Merge branch 'master' of https://github.com/PX4/Firmware into fmuv2_bringup 2013-07-14 13:04:44 -07:00
px4dev 6cf1208312 Don't build interface drivers we don't have configs for. Make the interface drivers build.
Change the way we handle the prom buffer so that we can init the interface before constructing the driver.
2013-07-14 12:42:51 -07:00
px4dev b11e05d614 Don't build interface drivers we don't have config for. 2013-07-14 12:40:26 -07:00
Lorenz Meier 08ddbbc23e WIP on MEAS bringup, ETS airspeed sensors should be operational 2013-07-14 21:12:09 +02:00
px4dev f8f6a43fea Use common, board-type-agnostic code to allocate the PX4IO interface. 2013-07-14 11:50:35 -07:00
px4dev 5350c2be09 Refactor MS5611 driver to use interface nubs for the I2C and SPI versions of the chip. This reduces the amount of duplicated code. 2013-07-14 11:45:21 -07:00
px4dev 6c7f1e883e Direct-access device functions return errors directly.
Move to using ::init rather than ::probe in keeping with device changes.
2013-07-14 11:44:46 -07:00
px4dev 12b84597d8 Direct access functions return errors directly, not touching errno. 2013-07-14 11:43:43 -07:00
px4dev 7c83e928a5 destructors for I2C and SPI should be virtual. 2013-07-14 11:42:56 -07:00
Lorenz Meier 319eb18ab5 Merged 2013-07-14 11:32:04 +02:00
Lorenz Meier 7fe2aa2797 Fixed last few compile errors, ready for testing 2013-07-14 11:22:20 +02:00
px4dev 28f996b026 rename the px4io serial perf counters so it's clearer what they belong to 2013-07-13 21:34:31 -07:00
px4dev 4f0ae1cdea Build the px4io interfaces on top of the Device direct-access API. 2013-07-13 21:00:27 -07:00
px4dev 26eb0b9d72 Move the direct-access methods from CDev to Device… makes more sense that way. 2013-07-13 21:00:03 -07:00
px4dev e67f6a51a3 Make px4io driver filenames less ambiguous. 2013-07-13 20:13:53 -07:00
Simon Wilks 6b631afaef Reduce the max stack size needed. 2013-07-14 00:04:17 +02:00
Simon Wilks 9aa25c5671 Remove unused code. 2013-07-13 22:18:52 +02:00
Simon Wilks fa29694f0b Whitespace cleanup 2013-07-13 01:12:47 +02:00
Simon Wilks 1ccfb623ee Merge remote-tracking branch 'upstream/master' into hott-esc 2013-07-13 01:08:45 +02:00
Simon Wilks b500cce31e Major refactor of HoTT drivers and finished sensor read implementation. 2013-07-13 01:08:06 +02:00
Anton Babushkin 8778230050 multirotor_pos_control fixes, systemlib/pid now accepts limit = 0.0, means no limit 2013-07-12 21:59:49 +04:00
Anton Babushkin eb5af244b9 sdlog2: GVSP (global velocity setpoint) message added, cleanup 2013-07-12 21:57:46 +04:00
Anton Babushkin 5937c3a31b uORB topic vehicle_global_velocity_setpoint added 2013-07-12 16:30:11 +04:00
Anton Babushkin 77add4b511 Merge branch 'master' into seatbelt_multirotor 2013-07-12 13:23:31 +04:00
Anton Babushkin d4c6ebde33 multirotor_pos_control: global_position_setpoint support in AUTO mode 2013-07-12 13:17:42 +04:00
Lorenz Meier 3b9c306d64 Hotfix for relative altitude waypoints 2013-07-12 11:11:26 +02:00
px4dev c459901f26 Let's have some direct-access I/O methods as well. 2013-07-11 23:52:36 -07:00
px4dev 16cb0a793d Some more v2 pin / gpio configs missed in the previous commit 2013-07-11 23:23:10 -07:00
Anton Babushkin babbcea3b6 Merge branch 'sdlog2_GPSP' into seatbelt_multirotor 2013-07-12 10:11:08 +04:00
Anton Babushkin 1d986d6c04 sdlog2: Global Position Set Point message added, vehicle_global_position_setpoint topic fixed 2013-07-12 10:09:38 +04:00
Anton Babushkin c51c211bba position_estimator_inav: global position altitude fixed 2013-07-12 08:45:49 +04:00
Lorenz Meier f6b45ac2e1 Merge branch 'master' of github.com:PX4/Firmware 2013-07-11 23:25:19 +02:00
Lorenz Meier 28f536dc44 Hotfix: fixed compile warnings 2013-07-11 23:25:08 +02:00
Anton Babushkin c291c4482a Merge branch 'master' into seatbelt_multirotor 2013-07-11 20:49:28 +04:00
Lorenz Meier 3ac760978f Merge pull request #331 from jean-m-cyr/master
Don't leave RX in bind mode if console open fails
2013-07-11 08:21:48 -07:00
Jean Cyr 39b3fc8d32 Don't leave RX in bind mode on console open fail
Don't leave RX in bind mode in the unlikely eventuality that console
open fails
2013-07-11 10:36:17 -04:00
Anton Babushkin 0ccf50bca3 ubx: SVINFO parsing optimized and message rate increased, CPU consumption reduced in 6 times, ~0.3% now. 2013-07-11 18:17:36 +04:00
Anton Babushkin 4685871c83 Major ubx driver cleanup: few pages of code removed, send update only when full navigation solution received 2013-07-11 15:28:56 +04:00
px4dev f5b91e109d More GPIO and general pin assignment fixes. 2013-07-10 23:50:37 -07:00
Lorenz Meier 3a76162b08 Merge pull request #317 from DrTon/arm_safe_fix
Arm/disarm and SAS modes order safety fixes
2013-07-10 22:53:45 -07:00
Lorenz Meier 290ca1f9bf Reworked airspeed driver to keep most of it abstract 2013-07-10 21:45:59 +02:00
Lorenz Meier f87595a056 Minor initialization / formatting change 2013-07-10 20:59:35 +02:00
Lorenz Meier dc600e7d65 First stab at IOCTL driven offset handling (in PA) for all airspeed sensors. Untested 2013-07-10 20:58:47 +02:00
Lorenz Meier f27491d2e5 Merge branch 'master' of github.com:PX4/Firmware into fmuv2_bringup 2013-07-10 11:58:48 +02:00
Jean Cyr 897b541b12 General cleanup of /dev/px4io and /dev/px4fmu
- Use distinct common symbols for px4io and px4fmu device files, and use
instead of hardcoded filenames
- Use common symbols defining px4io bits consistently between px4fmu and
px4io builds.
2013-07-09 20:37:00 -04:00
unknown 328f4f8c87 Merge remote-tracking branch 'upstream/master' 2013-07-09 20:14:34 -04:00
Lorenz Meier 71ca3ec449 Merged GPS info fixes from pigeonhunter 2013-07-09 23:16:53 +02:00
unknown c264267814 Merge remote-tracking branch 'upstream/master' 2013-07-09 17:10:49 -04:00
Lorenz Meier c3d07030dd Minor additions to fix, pushing 2013-07-09 22:56:02 +02:00
Lorenz Meier 6cbbb9b99f Hotfix for GPS driver 2013-07-09 22:46:24 +02:00
Lorenz Meier e3bb9e87e2 Hotfix for GPS: Disable unknown message classes 2013-07-09 17:36:48 +02:00
Lorenz Meier 9910a5ef5f Merge branch 'top' of https://github.com/a-ha/Firmware into top 2013-07-09 13:36:38 +02:00
Lorenz Meier 33c7c2c32e Merge branch 'master' of github.com:PX4/Firmware 2013-07-09 13:34:12 +02:00
Lorenz Meier 82c13efad1 Merged CPU load changes by freddie chopin 2013-07-09 13:27:17 +02:00