Commit Graph

1374 Commits

Author SHA1 Message Date
Lorenz Meier ad4c28507f Hotfixes for HIL and mode switching. 2013-09-22 17:08:29 +02:00
Julian Oes bdfc7b9f69 Listen to all consoles plus some more small fixes 2013-09-22 17:07:02 +02:00
Julian Oes 30b151b9a8 Improved esc_calib a little, only works on nsh over USB now 2013-09-22 16:27:52 +02:00
Lorenz Meier 6616aa6f99 Fixed in-air restart, now obeys the right order 2013-09-22 14:58:06 +02:00
Lorenz Meier 826d5687be Fixed in-air restart 2013-09-22 14:43:12 +02:00
Lorenz Meier 9424728af9 Fix a whole bunch of sanity checks across all mixers 2013-09-22 14:20:19 +02:00
Lorenz Meier c38e692ebb Merge branch 'master' into mixer_fix 2013-09-22 12:05:12 +02:00
Lorenz Meier 9eb4e05c9d Hotfix: Silence GPS driver if no GPS is connected 2013-09-22 12:04:30 +02:00
Lorenz Meier 3189b4a9b4 Merge branch 'master' of github.com:PX4/Firmware 2013-09-22 12:04:10 +02:00
Lorenz Meier 5a54354044 Merge branch 'master' into mixer_fix 2013-09-22 11:31:06 +02:00
Lorenz Meier ebd16975d0 An even number of bytes is when modulo 2 is zero, not modulo 1 is one. 2013-09-22 11:30:37 +02:00
Lorenz Meier f62aeba420 Cover last potential corner case with mixers, should be totally safe now 2013-09-22 11:16:19 +02:00
Anton Babushkin 96d8ee3483 Merge branch 'master' into mpc_yaw_fix 2013-09-21 15:36:16 +02:00
Lorenz Meier 7033aa173b Merge pull request #415 from PX4/gps_cleanup
GPS cleanup
2013-09-21 03:06:46 -07:00
Julian Oes 327f1f8001 Look for the appropriate images in the uploader 2013-09-21 11:23:42 +02:00
Anton Babushkin b56723af2a mavlink: bugfix 2013-09-21 10:20:26 +02:00
Anton Babushkin 32fbf80ab8 mavlink: EPH/EPV casting issue fixed 2013-09-21 10:17:00 +02:00
Anton Babushkin 42f930908f gps: more cleanup, some more info in 'gps status' 2013-09-21 10:13:50 +02:00
Anton Babushkin 8d6a47546a gps: fixed code style, more informative and clean messages 2013-09-21 08:59:04 +02:00
Lorenz Meier cd8854e622 Hotfix: Make param saving relatively robust 2013-09-20 19:59:48 +02:00
Anton Babushkin ab26ecf188 Merge branch 'master' into mpc_yaw_fix 2013-09-20 16:14:21 +02:00
Thomas Gubler d542735b2a re-enable state hil 2013-09-20 09:44:48 +02:00
Anton Babushkin 2362041dc1 commander: state indication changed, 3 green blinks = succsess, 3 white blinks = neutral, 3 red blinks = reject 2013-09-19 19:58:41 +02:00
Anton Babushkin 09452805b1 rgbled: copyright updated 2013-09-19 18:46:35 +02:00
Anton Babushkin 528666c912 multirotor_pos_control: yaw setpoint bug fixed 2013-09-19 18:26:33 +02:00
Anton Babushkin 7ac13df081 Merge branch 'master' into rgbled_fix 2013-09-19 18:14:42 +02:00
Anton Babushkin a012d5be82 rgbled: more cleanup 2013-09-19 18:13:11 +02:00
Anton Babushkin f2d5d008a6 rgbled: major cleanup and bugfixes 2013-09-19 11:33:04 +02:00
Lorenz Meier 8b992f720b Merge pull request #398 from NosDE/master
mkblctrl fix and qgroundcontrol2 startup script for different frametypes
2013-09-19 01:24:31 -07:00
Lorenz Meier fdc4521949 Hotfix: Disabling param lock, not operational yet 2013-09-19 07:51:37 +02:00
px4dev 978a234d29 Lock name should not equal locking function name. Urr. 2013-09-18 22:40:54 -07:00
Lorenz Meier a9de6149da Merge pull request #406 from jean-m-cyr/master
Implement Spektrum DSM pairing in V2
2013-09-18 22:30:15 -07:00
px4dev 7e0da345f0 The parameter system is supposed to have a lock; implement one. 2013-09-18 21:47:29 -07:00
Jean Cyr 72df378577 Finally get the #if right!!! 2013-09-18 20:24:33 -04:00
Jean Cyr 390d5b34de Fix backwards ifdef in dsm.c 2013-09-18 20:14:53 -04:00
Jean Cyr 89d3e1db28 Implement Spektrum DSM pairing in V2
- Bind control for V2
- Relays and accessory power not supported on V2 hardware
2013-09-18 20:04:22 -04:00
Lorenz Meier 626f433630 Merge branch 'master' of github.com:PX4/Firmware 2013-09-18 11:49:32 +02:00
Lorenz Meier 6624c8f1c4 Hotfix: Make voltage scaling for standalone default 2013-09-18 11:49:22 +02:00
Lorenz Meier 210e7f9245 Make param save command tolerant of FS timing 2013-09-18 08:44:02 +02:00
Lorenz Meier ac00100cb8 Hotfix: Disable gyro scale calibration to prevent people from wrongly using it 2013-09-18 08:43:38 +02:00
Lorenz Meier a4ecdc9582 Removed unneeded flush 2013-09-17 08:53:39 +02:00
Lorenz Meier 6c2640768d Merge branch 'master' of github.com:PX4/Firmware into fixedwing_l1 2013-09-16 13:30:49 +02:00
Lorenz Meier 9e7077fdf9 Added more acknowledgements after another author sweep 2013-09-16 13:09:37 +02:00
Lorenz Meier 489e7b2f1e Merge pull request #401 from PX4/sdlog2_LPOS
sdlog2: position & velocity valid, postion global and landed flags added...
2013-09-15 22:53:33 -07:00
Randy Mackay f4abcb51a1 tone_alarm: add #define for device path 2013-09-16 07:21:31 +02:00
Randy Mackay 1a641b791d tone_alarm: more device paths replaced with #define 2013-09-16 07:21:16 +02:00
Lorenz Meier 03727974f1 Fix binding states for DSM 2013-09-15 18:48:28 +02:00
Lorenz Meier 3c59877b50 Naming consistency improved 2013-09-15 09:13:13 +02:00
Lorenz Meier ac3f1c55c7 Adding more references, adding inline references to make sure a reader of the source file will not miss them 2013-09-15 09:08:14 +02:00
Anton Babushkin 2fbd23cf6e sdlog2: position & velocity valid, postion global and landed flags added to LPOS, some refactoring 2013-09-14 17:31:58 +02:00
Lorenz Meier a0d26cb282 Make mixer upload not depending on single serial transfer error 2013-09-14 16:25:38 +02:00
Anton Babushkin 8a70efdf43 Beep and print message when arming is not allowed 2013-09-14 08:55:45 +02:00
marco 318abfabcb mkblctrl fix and qgroundcontrol2 startup script for different frametypes 2013-09-13 21:05:41 +02:00
Lorenz Meier 7ad2654b2d Merge pull request #393 from PX4/takeoff_sp_fix
multirotor_pos_control: setpoint reset rewritten
2013-09-13 11:07:32 -07:00
Lorenz Meier 4b92138207 Merge pull request #395 from jean-m-cyr/master
Implement message based receiver pairing
2013-09-13 09:41:50 -07:00
Lorenz Meier 24648b5294 Minor cleanups in the drivers 2013-09-13 10:16:32 +02:00
Lorenz Meier 11530ac021 Merge remote-tracking branch 'origin/spi-device-locking' into fat-dma-spi 2013-09-13 09:56:01 +02:00
Lorenz Meier 6a784b770e Merge branch 'master' of github.com:PX4/Firmware into status_monitoring 2013-09-13 09:30:33 +02:00
px4dev 19fdaf2009 Use the generic device::SPI locking strategy. 2013-09-12 23:56:53 -07:00
Jean Cyr 41610ff7dd DSM pairing cleanup in px4io.cpp
- Simplify parameter range checking in dsm_bind_ioctl
- Replace DSM magic numbers with symbolic constants
2013-09-12 21:36:20 -04:00
Lorenz Meier d84fe2913e Move IRQ restore to right position 2013-09-13 01:34:49 +02:00
Lorenz Meier 6dd4069561 Merge branch 'master' of github.com:PX4/Firmware into fat-dma 2013-09-13 00:36:08 +02:00
Lorenz Meier 8fbf698e62 Adding missing author info and acknowledgements 2013-09-12 14:02:30 +02:00
Lorenz Meier df763ff7e2 Merged master 2013-09-12 13:54:59 +02:00
Lorenz Meier a418498f1b Hotfix: Use sensible default gains for users not being able to read instructions. 2013-09-12 12:51:21 +02:00
Lorenz Meier be436d3a99 Merge branch 'master' of github.com:PX4/Firmware into fat-dma 2013-09-12 09:52:49 +02:00
Lorenz Meier c92e3f3f4b Merge branch 'master' into fat-dma 2013-09-12 09:51:06 +02:00
Andrew Tridgell 4893509344 drivers: report error_count in drivers where possible 2013-09-12 09:26:49 +02:00
Lorenz Meier c9b8a019ea Merge branch 'master' of github.com:PX4/Firmware into status_monitoring 2013-09-12 09:26:30 +02:00
Andrew Tridgell 7257642371 perf: added perf_event_count() method
this allows drivers to get an event_count from a perf counter
2013-09-12 09:25:08 +02:00
Andrew Tridgell 0b7294a26e added error_count field to sensor report structures 2013-09-12 09:25:01 +02:00
Andrew Tridgell e9e46f9c9d px4io: added monitoring of vservo and vrssi
publish via servorail_status ORB topic
2013-09-12 09:24:53 +02:00
Andrew Tridgell f12794d30e uORB: added new servorail_status object
used for VSERVO and RSSI on FMUv2
2013-09-12 09:24:40 +02:00
Andrew Tridgell f7c3ed3ed6 px4io: split io_handle_battery() out from io_handle_status()
ready to add vservo and rssi
2013-09-12 09:24:23 +02:00
Jean Cyr 41982579b3 Refactor dsm binding code in px4io.cpp
- Move repeated code into member function
2013-09-11 22:54:23 -04:00
Jean Cyr 3b8039e4e0 Implement message based receiver pairing 2013-09-11 22:11:37 -04:00
Andrew Tridgell 760b3ab2e7 ringbuffer: converted to item_size units
this fixes a number of indexing bugs
2013-09-12 00:53:14 +02:00
px4dev cefc7ac00e Rework the ringbuffer class so that it's not templated, and refactor its clients so they aren't dancing around the linker anymore. 2013-09-12 00:53:08 +02:00
Andrew Tridgell a5821d2928 ms5611: converted to using RingBuffer 2013-09-12 00:53:01 +02:00
Andrew Tridgell 4b4f4fee5b lsm303d: convert to using RingBuffer 2013-09-12 00:52:53 +02:00
Andrew Tridgell 274e3aa2ca bma180: convert to using RingBuffer 2013-09-12 00:52:45 +02:00
Andrew Tridgell b8ffb574ca mb12xx: convert to using RingBuffer class 2013-09-12 00:52:38 +02:00
Andrew Tridgell 63fb702d7f l3gd20: convert to using RingBuffer class 2013-09-12 00:52:31 +02:00
Andrew Tridgell 36b7b7bc5f airspeed: convert to using RingBuffer class 2013-09-12 00:52:21 +02:00
Andrew Tridgell 815ccee0e7 mpu6000: fixed race condition in buffer increment 2013-09-12 00:52:13 +02:00
Andrew Tridgell 37d09f0944 mpu6000: use a wrapper struct to avoid a linker error
the linker doesn't cope with us having multiple modules implementing
RingBuffer<gyro_report>

this also switches to use force() instead of put(), so we discard old
entries when the buffer overflows
2013-09-12 00:51:54 +02:00
Andrew Tridgell 3c45261117 hmc5883: use a RingBuffer to hold report queue
this simplifies the queue handling, and avoids the need for a
start()/stop() on queue resize
2013-09-12 00:51:41 +02:00
Andrew Tridgell 3329e3c38c ringbuffer: added resize() and print_info() methods
this simplifies the drivers
2013-09-12 00:51:34 +02:00
px4dev 1828b57c58 ringbuffer: added force() and use lockless methods
this adds force() which can be used for drivers wanting consumers to
get the latest data when the buffer overflows
2013-09-12 00:51:24 +02:00
Andrew Tridgell 04f8e338b6 hmc5883: add perf count, and removed unnecessary checks for -32768
we've already checked that the absolute value is <= 2048
2013-09-12 00:51:13 +02:00
Lorenz Meier 0308f399d9 Merge branch 'master' of github.com:PX4/Firmware 2013-09-12 00:43:27 +02:00
Lorenz Meier 5e6d3604a3 Made MS5611 startup exclusive as well 2013-09-11 22:46:00 +02:00
px4dev 514d32e961 Cut down 'tests file' for debugging 2013-09-11 13:42:29 -07:00
px4dev ed4b34547c Make the init code compile if we don't have the granule allocator / dma allocator required 2013-09-11 13:42:29 -07:00
px4dev bbac1445b0 Add DMA buffer allocation pool. 2013-09-11 13:42:29 -07:00
Lorenz Meier 3a326cb467 Guard probe / reset against other SPI drivers 2013-09-11 22:16:29 +02:00
Lorenz Meier da3620bd53 Compile fix 2013-09-11 01:15:54 +02:00
Anton Babushkin 90873474a9 multirotor_pos_control: setpint reset rewritten 2013-09-10 22:58:44 +02:00
Lorenz Meier 8131d28a0f Exported disarmed PWM values as IOCTLs 2013-09-10 21:38:32 +02:00
Lorenz Meier 3047b6ced0 Another set of minor style edits 2013-09-10 21:09:11 +02:00
Lorenz Meier c0b309760a More cleanup 2013-09-10 21:00:59 +02:00
Lorenz Meier 4e0c5f9489 Compile fixes, cleanups, better references 2013-09-10 20:26:50 +02:00
Lorenz Meier 21f4ce0ebd Style / code cleanup 2013-09-10 16:45:43 +02:00
Lorenz Meier 30499caecf Make sure to loiter at final waypoint on a best effort basis 2013-09-10 16:16:22 +02:00
Lorenz Meier dbeb2f3ec9 Merge branch 'master' into fixedwing_l1 2013-09-10 13:24:08 +02:00
Lorenz Meier c3b6cea77a Hotfix for S.Bus systems with more than 8 channels 2013-09-10 13:22:56 +02:00
Lorenz Meier 465f161427 Hotfix: remove bogus commit 2013-09-10 12:49:17 +02:00
Lorenz Meier b32f79fc99 Merge branch 'ringbuffer' of github.com:PX4/Firmware into fixedwing_l1 2013-09-10 12:17:28 +02:00
Andrew Tridgell ba712e1a22 ms5611: converted to using RingBuffer 2013-09-10 11:57:29 +02:00
Andrew Tridgell 2e0fc9a288 lsm303d: convert to using RingBuffer 2013-09-10 11:57:21 +02:00
Andrew Tridgell 6545997178 bma180: convert to using RingBuffer 2013-09-10 11:57:12 +02:00
Andrew Tridgell 4918148aa3 mb12xx: convert to using RingBuffer class 2013-09-10 11:57:03 +02:00
Andrew Tridgell 96b4729b37 l3gd20: convert to using RingBuffer class 2013-09-10 11:56:55 +02:00
Andrew Tridgell 5ee40da720 airspeed: convert to using RingBuffer class 2013-09-10 11:56:46 +02:00
Andrew Tridgell 4650c21141 mpu6000: fixed race condition in buffer increment 2013-09-10 11:56:36 +02:00
Andrew Tridgell c62710f80b mpu6000: use a wrapper struct to avoid a linker error
the linker doesn't cope with us having multiple modules implementing
RingBuffer<gyro_report>

this also switches to use force() instead of put(), so we discard old
entries when the buffer overflows
2013-09-10 11:56:28 +02:00
Andrew Tridgell dcee02148e hmc5883: use a RingBuffer to hold report queue
this simplifies the queue handling, and avoids the need for a
start()/stop() on queue resize
2013-09-10 11:56:21 +02:00
Andrew Tridgell 51bc73fb28 ringbuffer: added resize() and print_info() methods
this simplifies the drivers
2013-09-10 11:56:11 +02:00
px4dev f9f41f5770 ringbuffer: added force() and use lockless methods
this adds force() which can be used for drivers wanting consumers to
get the latest data when the buffer overflows
2013-09-10 11:55:59 +02:00
Andrew Tridgell 778cfaa0b9 hmc5883: add perf count, and removed unnecessary checks for -32768
we've already checked that the absolute value is <= 2048
2013-09-10 11:55:03 +02:00
Lorenz Meier 12e4e393bd Checked in L1 position and TECS altitude control. Not test-flown in HIL or outdoors yet 2013-09-10 11:53:59 +02:00
Lorenz Meier 5182860a68 Added support for inverted flight 2013-09-10 11:53:43 +02:00
Lorenz Meier 8d497b58f9 Merge branch 'master' of github.com:PX4/Firmware 2013-09-10 11:53:06 +02:00
Buzz c12955fbc0 the "rgbled rgb X X X" command was broken, and would set green when you asked for red, and blue when you asked for green, and never set red. - off by 1 error in parameter numbering. 2013-09-10 13:32:32 +10:00
Lorenz Meier b6a0437c7c Fixed compile error 2013-09-08 22:30:56 +02:00
Lorenz Meier a7bff9f448 Merge branch 'master' of github.com:PX4/Firmware into fixedwing_l1 2013-09-08 22:27:31 +02:00
Lorenz Meier 7866b90477 Merge branch 'master' of github.com:PX4/Firmware 2013-09-08 22:07:47 +02:00
Lorenz Meier 98ac914cb0 Add setting queue depth to HMC test 2013-09-08 22:07:33 +02:00
Lorenz Meier 8bd018c561 Merge branch 'fixedwing_l1' of github.com:PX4/Firmware into fixedwing_l1 2013-09-08 21:50:14 +02:00
Lorenz Meier 11e4fbc374 Added additional vector functions, fixed seatbelt for global estimators 2013-09-08 21:49:59 +02:00
Lorenz Meier d3ac8c9ff3 Fixed HIL mode switching, HIL works 2013-09-08 21:06:55 +02:00
Lorenz Meier 2d6dfe2a9e Allow px4io detect to be run when IO is already running 2013-09-08 20:40:26 +02:00
Lorenz Meier 88ad9fc25b Merge branch 'master' of github.com:PX4/Firmware into fixedwing_l1 2013-09-08 20:06:37 +02:00
Lorenz Meier 690d29078f Merge branch 'master' of github.com:PX4/Firmware 2013-09-08 20:05:49 +02:00
Lorenz Meier c3bb6960e6 Fixed mavlink start / stop to ensure process is in a sane state once NSH return 2013-09-08 20:05:38 +02:00
Lorenz Meier 56a35cc889 Fixed commander start / stop to ensure the state is sane once NSH returns 2013-09-08 20:05:15 +02:00
Lorenz Meier 9b48fe3622 Compiling attitude control, ready for tests 2013-09-08 20:04:39 +02:00
Lorenz Meier 14828cfda5 Merge branch 'master' of github.com:PX4/Firmware into fixedwing_l1 2013-09-08 00:50:37 +02:00
Lorenz Meier 751c026469 Merge pull request #381 from PX4/waypoint_loiter
Have systems loiter at the last waypoint
2013-09-07 09:50:37 -07:00
Lorenz Meier 056fe1c0b9 WIP 2013-09-07 13:50:38 +02:00
Lorenz Meier 8398de7515 WIP on controllers 2013-09-07 12:53:39 +02:00
Lorenz Meier b6dd579e0e Merge branch 'master' into fixedwing_l1 2013-09-07 12:24:40 +02:00
Lorenz Meier b599a32c16 Removed dysfunctional includes. Need to be re-done properly when finally implementing SITL. No use to leave untested stuff in tree. 2013-09-07 12:22:24 +02:00
Lorenz Meier f721c6f7e0 Merge branch 'waypoint_loiter' of github.com:PX4/Firmware into fixedwing_l1 2013-09-07 11:52:22 +02:00
Lorenz Meier 5111249eb8 Merge branch 'master' of github.com:PX4/Firmware into fixedwing_l1 2013-09-07 11:12:56 +02:00
tstellanova 23a355644b grab the git hash and inject it into every log file header 2013-09-06 10:18:08 -07:00
Lorenz Meier 127832b8fd Have systems loiter at the last waypoint 2013-09-06 17:00:49 +02:00
Lorenz Meier 6104d14968 Have systems loiter at the last waypoint 2013-09-06 16:53:09 +02:00
Lorenz Meier d74bea57ac Merge branch 'master' of github.com:PX4/Firmware into fixedwing_l1 2013-09-05 22:18:00 +02:00
Julian Oes e8c309fb14 Workaround to prevent crash during mag calibration 2013-09-05 15:57:09 +02:00
Lorenz Meier 84f44107dd Merge branch 'master' of github.com:PX4/Firmware 2013-09-05 13:24:51 +02:00
Lorenz Meier 5dbe53877a Fixed sched param setup in MAVLink app 2013-09-05 13:24:37 +02:00
Lorenz Meier aa785b0d2b Hotfix: Better error reporting, fixed sched param setup 2013-09-05 13:24:21 +02:00
Anton Babushkin 1d7f3d0aa5 position_estimator_inav: land detector bug fixed 2013-09-05 12:20:03 +02:00
Lorenz Meier 0c7995fd03 Avoid unneccesary cast 2013-09-04 08:12:51 +02:00
Lorenz Meier 175020cb5b Hotfix: Identified mavlink issue source, workaround, working on a fix 2013-09-03 22:45:33 +02:00
Julian Oes e301bb4d94 Reset baudrate after px4io update 2013-09-03 17:07:41 +02:00
Lorenz Meier 1c5ceb17e8 Merge pull request #304 from julianoes/ardrone_fixes
Prevent flips at high throttle
2013-09-03 05:58:56 -07:00
Lorenz Meier 2457013bbb Hotfix for USB: Starting MAVLink only on USB if connected. Needs rewrite of MAVLink and delay / retries for correct approach 2013-09-03 08:17:22 +02:00
Lorenz Meier 791e22f442 MAVLink workaround 2013-09-03 07:50:27 +02:00
Lorenz Meier 238f018090 Merge branch 'master' of github.com:PX4/Firmware 2013-09-03 07:50:05 +02:00
Lorenz Meier 3c0c11aec3 v4 compatibility 2013-09-03 07:49:57 +02:00
Lorenz Meier b871e11943 Merge branch 'respect_takeoff_alt' 2013-09-03 07:32:03 +02:00
Anton Babushkin 40e1894872 Added parameter NAV_TAKEOFF_GAP 2013-09-02 23:30:32 +02:00
Anton Babushkin 193a52d813 multirotor_pos_control: added takeoff gap (hardcoded 3m), fixed code style 2013-09-02 23:13:01 +02:00
tstellanova 027d45acbf respect NAV_TAKEOFF_ALT instead of using hardcoded default takeoff value 2013-09-02 09:13:36 -07:00
Julian Oes 589ae937ee Allow mixer upload when PWM is on 2013-09-02 17:55:27 +02:00
Anton Babushkin e553087d10 pid.limit != 0 fix 2013-09-01 20:17:24 +02:00
Lorenz Meier 56293c8068 Merge branch 'master' into pid_fix 2013-09-01 15:33:05 +02:00
Lorenz Meier ff23feb24e Hotfix: Chasing log buffer issue 2013-09-01 15:32:40 +02:00
Lorenz Meier 89526c80af Merge branch 'master' of github.com:PX4/Firmware into pid_fix 2013-09-01 14:14:44 +02:00
Lorenz Meier a660dc3fa6 Merge pull request #367 from limhyon/master
Bug resolved & new data for setpoint topic.
2013-09-01 05:13:14 -07:00
Anton Babushkin f0a750714a pid.c: fixed bad merge of seatbelt_multirotor, should fix EASY/AUTO modes 2013-09-01 14:12:48 +02:00
Lorenz Meier 806fb0b076 Merge pull request #370 from jean-m-cyr/master
Allow tone_alarm cmd to take filename as parameter
2013-09-01 05:10:29 -07:00
Lorenz Meier 2d83c6f825 Closing all opened file descriptors, fixed param save issue, tests clean 2013-09-01 12:47:10 +02:00
Lorenz Meier 9eff3170a3 More verbosity on RC check 2013-09-01 10:30:04 +02:00
Lorenz Meier f6bf1c7bf2 Closing files that should be closed 2013-09-01 10:29:30 +02:00
Lorenz Meier c3408332fd Added test to test unlink() 2013-09-01 10:29:12 +02:00
Lorenz Meier 4b018e74a9 Merge branch 'master' of github.com:PX4/Firmware 2013-09-01 00:10:06 +02:00
Lorenz Meier a1c4c0fd78 Comments on scaling factors 2013-09-01 00:09:59 +02:00
Jean Cyr 54644e4206 Allow tone_alarm cmd to take filename as parameter
- Restore ability to play beloved William Tell Overture... from file
2013-08-31 16:06:15 -04:00
Lorenz Meier 3f4315b476 Hotfix: Increase stack size for low prio commander task 2013-08-31 11:49:36 +02:00
Lorenz Meier 87f7ebdd75 Hotfix: Rely on gyro calibration 2013-08-31 11:38:29 +02:00
Lorenz Meier 56975e0dd1 Hotfixed position control param update 2013-08-31 11:23:03 +02:00
Lorenz Meier 669a802921 Hotfix: Better PX4IO detection feedbak 2013-08-31 11:22:41 +02:00
Lorenz Meier acc06e7eb1 Added logbuffer free function 2013-08-31 11:22:15 +02:00
Lorenz Meier 7292e8c722 Hotfix for mavlink logbuffer, needs another round of validation. 2013-08-31 11:21:57 +02:00
Jean Cyr b80f0d46ae Allow tone_alarm cmd to use tone names as well as number
- remove script dependency on hard coded tone numbers
- fix bug restarting repeating tone after stop
2013-08-31 01:03:32 -04:00
Jean Cyr f246b68c7b Fix parameter range check 2013-08-30 20:24:14 -04:00
Jean Cyr efca6f2cb1 Remove unused tones and save about 6K flash space
- Comment out unused tones
- Create symbolic tone numbers rather than hardcoded
2013-08-30 20:12:35 -04:00
Hyon Lim (Retina) 6a6fe69371 Bug in so3 estimator related to R matrix 2013-08-31 03:23:03 +09:00
Hyon Lim (Retina) 9f2419698f Topic has been changed for quaternion-based attitude controller. 2013-08-31 03:22:19 +09:00
Hyon Lim (Retina) fff1856377 There was a bug in position_estimator_mc. Solved 2013-08-31 03:11:58 +09:00
Lorenz Meier 2b62497fb5 Fixed build error 2013-08-30 17:19:03 +02:00
Lorenz Meier e2b602339a Cleanup of detect return 2013-08-30 17:05:21 +02:00
Lorenz Meier 61936412f3 Speeded up IO startup, needs review 2013-08-30 15:40:28 +02:00
Anton Babushkin 3a00def189 commander: switch to AUTO_READY or AUTO_MISSION immediately, don't try to stay on ground 2013-08-30 10:11:24 +02:00
Anton Babushkin 5146dd8ff8 position_estimator_inav: critical bug fixed 2013-08-30 10:09:31 +02:00
Julian Oes 9bcfe49cff Changed RGBLED behaviour, breathe mode when disarmed and ready to arm 2013-08-29 16:45:33 +02:00
Julian Oes 55cfa5152c Made low/critical warnings consisting 2013-08-29 16:41:59 +02:00
Lorenz Meier 94d678098c Merge branch 'multirotor' 2013-08-29 08:10:41 +02:00
tstellanova b986607a75 Add defines for RC15 params (16 channels total)
minor cleanup of rc sanity check code
2013-08-28 18:32:16 -07:00
Anton Babushkin 53813d44a0 sdlog2: "landed" flag logging 2013-08-28 21:41:52 +02:00
tstellanova f2f66432d7 Grab UTC time from GPS 2013-08-28 08:49:21 -07:00
Lorenz Meier 756d67f2de Removed non-helpful verbosity 2013-08-28 16:38:09 +02:00
Lorenz Meier feb4dad9e1 Fixed IO detect message 2013-08-28 15:22:24 +02:00
Lorenz Meier a48be0446b Added IO detect command to be smart about what to start before actually doing it 2013-08-28 14:58:53 +02:00
Lorenz Meier b7ee1d3429 Prevented an analog airspeed corner case from happening 2013-08-28 14:34:49 +02:00
Lorenz Meier 0fb3be64ea More verbosity on RC cal fail in sensors app 2013-08-28 11:18:10 +02:00
Andrew Tridgell 76a9e34e08 I2C airspeed driver needs 2 retries
this prevents I2C transfer errors every few seconds with the
meas_airspeed driver
2013-08-28 11:17:22 +02:00
Andrew Tridgell 935ed2fe49 meas_airspeed: don't use stale/bad data in airspeed reading
also fixed handling of perf counters on error
2013-08-28 11:16:55 +02:00
Andrew Tridgell fdbc09e2a5 avoid counters going above limit in INCREMENT()
when using INCREMENT() the counter would temporarily read equal to
limit, which could cause an issue if the task is preempted.

(this macro should be in a common header, though which header?)
2013-08-28 11:16:30 +02:00
Andrew Tridgell ad732ee3a1 free perf counters in driver destructor
this prevents drivers that probe on one bus then instantiate on
another from leaving behind stale/duplicate perf counters
2013-08-28 11:15:43 +02:00
Lorenz Meier 7fa2b9c91a Merge branch 'multirotor' of github.com:cvg/Firmware_Private into fixedwing_l1 2013-08-28 11:14:31 +02:00
Lorenz Meier d0c59ffe54 First stab at actual controller 2013-08-28 11:14:22 +02:00
Lorenz Meier d28f5ac03f Updated IO firmware upgrade strategy and locations 2013-08-28 09:14:38 +02:00
Anton Babushkin 66c61fbe96 Full failsafe rewrite. 2013-08-27 23:08:00 +02:00
Lorenz Meier 0104f070c6 Merge branch 'multirotor' into fixedwing_l1 2013-08-27 16:11:41 +02:00
Anton Babushkin b9d6981cee multirotor_att_control: yaw control bug fixed 2013-08-27 13:40:18 +02:00
Lorenz Meier 33c7342909 Minor fixes for calibration, UI language much more readable now 2013-08-27 10:36:43 +02:00
Lorenz Meier 70c9d48f6c Merge branch 'fmuv2_bringup' into multirotor 2013-08-27 10:16:18 +02:00
Andrew Tridgell 9c58d2c5c6 airspeed: retry initial I2C probe 4 times
this fixes a problem with detecting a MS4525D0 at boot
2013-08-27 10:15:34 +02:00
Lorenz Meier 665a232592 More calibration polishing 2013-08-27 10:15:17 +02:00
Lorenz Meier 94d8ec4a1c Calibration message cleanup 2013-08-27 09:48:22 +02:00
Anton Babushkin b29d13347a position_estimator_inav: reset reference altitude on arming. 2013-08-26 22:08:56 +02:00
Anton Babushkin 7326f8a421 multirotor_pos_control: fixes, set local_position_sp.yaw 2013-08-26 13:53:43 +02:00
Anton Babushkin baa2cab69d commander: do AUTO_MISSION after takeoff 2013-08-26 13:53:43 +02:00
Anton Babushkin bf9282c988 position_estimator_inav: requre EPH < 5m to set GPS reference 2013-08-26 13:53:42 +02:00
Anton Babushkin 00a2a0370e accelerometer_calibration fix 2013-08-26 13:53:42 +02:00
Anton Babushkin c5731bbc3f TAKEOFF implemented for multirotors, added altitude check to waypoint navigation. 2013-08-26 09:12:17 +02:00
Lorenz Meier 2537977101 Merge pull request #15 from sjwilks/multirotor_unittests
Add a simple unit testing framework and tests for the commander state machine.
2013-08-25 14:27:38 -07:00
Simon Wilks e25f2ff44f Whitespace and formatting cleanup. 2013-08-25 22:54:31 +02:00
Simon Wilks 548f322493 Added a simple unit test framework and initial testing some of the commander state machines. 2013-08-25 22:43:01 +02:00
Anton Babushkin 725bb7697c Minor fix in "set mode" command handling. 2013-08-25 20:17:42 +02:00
Lorenz Meier bb5819a13f Merge branch 'multirotor' of github.com:cvg/Firmware_Private into multirotor 2013-08-25 16:33:24 +02:00
Lorenz Meier e119bbb0f1 A lot more on calibration and RC checks. Needs more testing, but no known issues 2013-08-25 16:33:14 +02:00
Anton Babushkin 8579d0b7c9 Allow disarm by RC in assisted modes if landed and in AUTO_READY state. 2013-08-24 20:31:01 +02:00
Lorenz Meier c42c28ebf4 Merge branch 'seatbelt_multirotor_new' of github.com:PX4/Firmware into multirotor 2013-08-23 23:08:12 +02:00
Anton Babushkin 5e9b508ea0 Indicate AUTO submodes in mavlink custom_mode. 2013-08-23 23:03:59 +02:00
tstellanova d1fd1bbbf7 Fix timestamp on rates_sp 2013-08-23 13:27:16 -07:00
Lorenz Meier a897b3d88e Added complete attitude control framework 2013-08-23 16:28:53 +02:00
Lorenz Meier 29b926db1b Merged seatbelt_multirotor_new 2013-08-23 08:33:42 +02:00
Anton Babushkin 330908225e sdlog2: free buffer on exit 2013-08-22 18:23:42 +02:00
Anton Babushkin 41fac46ff0 mavlink VFR_HUD message fixed, minor fixes and cleanup 2013-08-22 18:05:30 +02:00
Anton Babushkin bb91484b26 Default flight mode switches parameters changed. 2013-08-22 17:34:59 +02:00
Anton Babushkin c0c5c1c70c Merge branch 'master' into seatbelt_multirotor_new 2013-08-22 17:32:59 +02:00
Anton Babushkin b5bb20995b multirotor_att_control: yaw setpoint reset fix 2013-08-22 17:31:59 +02:00
Julian Oes 5f1004117f Restore proper feedback (mavlink and tone) for calibration commands, etc 2013-08-22 15:57:17 +02:00
Julian Oes 6c3da5aedd Reset yaw position when disarmed in multirotor controller 2013-08-22 15:55:33 +02:00
Julian Oes ca96140b21 Allow the tone alarms to be interrupted 2013-08-22 15:53:46 +02:00
Lorenz Meier 966cee66df Add navigator - not enabled for compilation, WIP 2013-08-22 15:32:58 +02:00
Lorenz Meier 85eafa323a Fix to RC param updates on IO 2013-08-22 10:43:19 +02:00
Lorenz Meier e97c39a125 Merge branch 'fmuv2_bringup' into multirotor 2013-08-22 10:14:01 +02:00
Lorenz Meier 11257cbade Fixed commandline handling 2013-08-22 10:13:47 +02:00
Lorenz Meier fab110d21f Moved math library to library dir, improved sensor-level HIL, cleaned up geo / conversion libs 2013-08-21 18:13:01 +02:00
Lorenz Meier 309ea81460 Merged fmuv2_bringup 2013-08-21 15:19:19 +02:00
Lorenz Meier db1229dca3 Merge pull request #12 from cvg/fmuv2_bringup_lsm303d_config
Fmuv2 bringup lsm303d config
2013-08-21 06:10:33 -07:00
Lorenz Meier 5be2f4a792 Moved mavlink log to system lib 2013-08-21 14:54:57 +02:00
Julian Oes 4f51f333a9 Adapted the MPU6000 to have the same get range ioctls and defines for defaults 2013-08-21 14:52:20 +02:00
Julian Oes 1ede95d252 L3GD20 and LSM303D reset and range config working properly now 2013-08-21 14:21:54 +02:00
Julian Oes 8083efb60c Use gyro at correct rate 2013-08-21 14:21:11 +02:00
Julian Oes 7db420b9b2 Get units right in config 2013-08-21 14:20:42 +02:00
Lorenz Meier 64b8f5232b Build fix, added command line switch norc to disable RC 2013-08-21 13:54:37 +02:00
Julian Oes fc24037b03 Changed range handling of LSM303D once again, added defines for default values 2013-08-21 12:37:06 +02:00
Lorenz Meier 5fbee23945 Added flag to disable RC evaluation onboard of IO (raw values still forwarded) 2013-08-21 11:17:29 +02:00
Julian Oes 3875df2fe0 Workaround to get the HMC5883 default rate right 2013-08-21 10:44:47 +02:00
Julian Oes 9762cf86a0 Forgot to comment mag init in sensors.cpp back back in 2013-08-21 09:52:21 +02:00
Julian Oes 658276e1cc Add reset and samplerate ioctl to HMC5883 driver 2013-08-21 09:23:21 +02:00
Julian Oes 408b29ba61 Don't store m/s^2 and G at the same time 2013-08-21 08:40:51 +02:00
Julian Oes f5c92314f1 Improved LSM303D driver, plus some fixes to the HMC5883 2013-08-20 20:02:06 +02:00
Julian Oes 307c9e52c7 Sorry, finally got the axes of the external mag right 2013-08-20 20:00:16 +02:00
Julian Oes d2d59aa392 Handle the config command line arguments a bit more intuitive 2013-08-20 19:59:52 +02:00
Lorenz Meier 2a58929ffd Merge branch 'master' of github.com:PX4/Firmware into fmuv2_bringup 2013-08-20 16:26:15 +02:00
Lorenz Meier ec49c72a8b Merge branch 'seatbelt_multirotor_new' of github.com:PX4/Firmware into fmuv2_bringup_new_state_machine_drton 2013-08-20 16:24:29 +02:00
Anton Babushkin db950f7489 position_estimator_inav: "landed" detector implemented, bugfixes 2013-08-20 12:17:15 +02:00
Lorenz Meier fd911cd006 Merge branch 'master' of github.com:PX4/Firmware into fmuv2_bringup_new_state_machine_drton 2013-08-20 10:55:21 +02:00
Julian Oes ae3a549d57 Fixed accel self test 2013-08-20 10:39:11 +02:00
Lorenz Meier 0be4508cb3 Merge branch 'master' into fmuv2_bringup_new_state_machine_drton 2013-08-20 10:08:56 +02:00
Lorenz Meier e943488e9f Show values when selftest fails 2013-08-20 10:07:37 +02:00
Lorenz Meier 7cff9b1e84 Merge branch 'master' of github.com:PX4/Firmware into fmuv2_bringup_new_state_machine_drton 2013-08-20 09:41:16 +02:00
Lorenz Meier 95260d4535 Fixed NSH terminal init 2013-08-20 09:36:26 +02:00
Lorenz Meier 16559313db Merged calibration_cleanup 2013-08-20 09:17:28 +02:00
Lorenz Meier deb426b660 Merge branch 'sensor_selftests' 2013-08-19 22:51:30 +02:00
Lorenz Meier 1e96633907 Merged seatbelt_multirotor_new / master 2013-08-19 19:04:10 +02:00
Lorenz Meier 69a183e221 Merged master 2013-08-19 18:51:25 +02:00
Anton Babushkin 449dc78ae6 commander, multirotor_pos_control, sdlog2: bugfixes 2013-08-19 18:33:04 +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 230c09e2f4 Merge pull request #11 from cvg/fmuv2_bringup_ext_mag_rotation
Support for external mags with different rotation
2013-08-19 08:37:11 -07:00
Lorenz Meier f4b5a17a7b Improved sensor startup and error checking 2013-08-19 17:35:07 +02:00
Julian Oes 12df5dd269 Corrected orientation of external mag 2013-08-19 16:32:56 +02:00
Lorenz Meier 871b4c19bc Added stop command to RGB led 2013-08-19 15:19:51 +02:00
Lorenz Meier cdd09333f9 Minimized nshterm flags, fixed some pretty stupid non-standard coding in top, now behaving with two shell instances as expected 2013-08-19 15:12:13 +02:00
Lorenz Meier a9743f04be Fixed status changed flag 2013-08-19 15:09:06 +02:00
Lorenz Meier 1ae5a6ac1d Minimized nshterm flags, fixed some pretty stupid non-standard coding in top, now behaving with two shell instances as expected 2013-08-19 15:02:15 +02:00
Lorenz Meier 9610f7a0d7 Fixed merge compile errors 2013-08-19 09:53:00 +02:00
Lorenz Meier c57b345e70 merged 2013-08-19 09:44:42 +02:00
Lorenz Meier 3465ee7f90 Merge branch 'fmuv2_bringup' of github.com:cvg/Firmware_Private into fmuv2_bringup_new_state_machine_drton 2013-08-19 09:42:22 +02:00
Anton Babushkin f96bb824d4 multirotor_pos_control: reset integrals when disarmed 2013-08-19 09:31:33 +02:00
Anton Babushkin 3370ceceaf vehicle_control_mode.flag_armed added, reset integrals in multirotor_att_control when disarmed 2013-08-19 08:43:16 +02:00
Anton Babushkin ffc2a8b7a3 vehicle_local_position topic updated, position_estimator_inav and commander fixes, only altitude estimate required for SETBELT now. 2013-08-18 23:05:26 +02:00
Lorenz Meier 80f38e3dea Put console and syslog on UART8, added support to nshterm for proper serial port config 2013-08-18 21:00:47 +02:00
Lorenz Meier e5f1a7c2c3 Better transparency in IO mode display, fixes to commander arming, minimum publishing rate for arming 2013-08-18 12:42:24 +02:00
Lorenz Meier e597f97982 Merged master 2013-08-18 12:04:07 +02:00
Julian Oes bc717f1715 Sensors should now take into account the orientation of an external mag 2013-08-18 09:33:59 +02:00
Julian Oes 408eaf0ad1 Add ioctl to find out if mag is external or onboard 2013-08-18 09:24:27 +02:00
Lorenz Meier 061be7f7fe Merged master 2013-08-17 20:30:52 +02:00
Lorenz Meier 628e806df5 Minor style changes 2013-08-17 18:48:14 +02:00
Lorenz Meier eda528157a Make state updates atomic (just to be really, really sure) 2013-08-17 18:40:28 +02:00
Lorenz Meier 36d474bfa3 WIP on getting low-priority non-command tasks out of the commander main loop 2013-08-17 18:39:46 +02:00
Julian Oes 74802f0692 Added possibility to set board orientation 2013-08-17 18:06:39 +02:00
Jean Cyr 3f800e5861 Make it obvious that file * isn't used here 2013-08-17 10:29:35 -04:00
Lorenz Meier 6ff3f51f88 Added dim RGB led support, not operational yet 2013-08-17 15:47:42 +02:00
Lorenz Meier 6c45d9cb5c Fixed in-air timout, bumped protocol version 2013-08-17 15:47:13 +02:00
Lorenz Meier 64145252d4 Added dim RGB implementation 2013-08-17 15:46:34 +02:00
Lorenz Meier b71c0c1f49 Added support for FMUv1 for RGB led and dim led support 2013-08-17 15:46:13 +02:00
Anton Babushkin 2be5240b9f commander, multirotor_att_control, position_estimator_inav: position valid flag fixed, other fixes and cleaunup 2013-08-17 12:37:41 +02:00
Jean Cyr 0301e2d145 Flesh out PX4IO documentation comments and delete unnecessary class var 2013-08-16 20:09:22 -04:00
Jean Cyr bafc5ea8a1 Remoce C++ style Doxygen comments
Replace C++ style comments with C comments
2013-08-16 18:35:52 -04:00
Anton Babushkin c543f89ec1 commander, multirotor_pos_control, multirotor_att_control: bugfixes 2013-08-16 23:36:49 +02:00
Anton Babushkin 4882bc0f1c position_estimator_inav: fixed global_pos topic publishing 2013-08-16 21:24:19 +02:00
Julian Oes 451adf2aa0 Added part of RGBLED stuff to commander 2013-08-16 18:05:59 +02:00
Julian Oes af3e0d459a Add pattern ioctl for RGBLED 2013-08-16 18:04:24 +02:00
Julian Oes 1d7b8bb565 Somehow alarm 14 didn't always work 2013-08-16 18:03:04 +02:00
Lorenz Meier 05e4c086ce Added orientation support and detection to the L3GD20/H driver to support the different variants in use 2013-08-16 16:24:44 +02:00
Lorenz Meier 52d15ac7b1 Merged public master 2013-08-16 16:22:38 +02:00
Anton Babushkin 63af0a80ee multirotor_att_control: run rate controller only if vehicle_control_mode flag set, codestyle fixed 2013-08-16 15:08:10 +02:00
Lorenz Meier 57f8fe3719 merged master, updated fixed wing 2013-08-16 14:44:00 +02:00
Anton Babushkin f78666e0c8 Merge branch 'seatbelt_multirotor' into seatbelt_multirotor_new
WIP, TODO fixedwing
2013-08-16 13:23:33 +02:00
Julian Oes 0fe612e843 Simplified the RGBLED driver 2013-08-16 13:04:57 +02:00
Julian Oes 2c6570cec8 Forgot load change in mavlink_onboard 2013-08-16 10:20:04 +02:00
Julian Oes 02c23c785e System status load is now from 0 to 1 instead of non-intuitive 0 to 1000 2013-08-16 10:17:57 +02:00
Julian Oes ec9de4ad84 Critical voltage now leads to a proper arming state transition 2013-08-16 09:27:05 +02:00
Lorenz Meier 3f9f1d60e0 Added audio and text warning if arming is refused due to mode switch 2013-08-16 09:23:39 +02:00
Jean Cyr ab80b0e273 Doxygenate and style dsm.c
One file a day... this'll take a while!
2013-08-15 19:51:36 -04:00
Julian Oes d75c3c4e73 Try to open RGBLEDs in commander (WIP) 2013-08-15 17:48:28 +02:00
Julian Oes 901cef922c Some cleanup for the RGB LED driver, added ioctl to set color 2013-08-15 17:43:01 +02:00
Julian Oes 0c4e3dce0e Added LED_TOGGLE for normal LEDs 2013-08-15 17:34:49 +02:00
Julian Oes 98f403002f Lov voltage warning should work again 2013-08-15 17:29:27 +02:00
Julian Oes f51320d1af Lov voltage warning should work again 2013-08-15 17:27:29 +02:00
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