Lorenz Meier
d04321bcf8
Hotfix: Typo
2013-10-11 09:14:57 +02:00
Lorenz Meier
d144213527
Added non-binary number between 8 and 16
2013-10-11 09:13:54 +02:00
Lorenz Meier
73f507daa6
Make tests file complete up to 64 byte shifts and 1.5 K chunks
2013-10-11 09:12:30 +02:00
Lorenz Meier
260ab5597a
Merge branch 'sdtest'
2013-10-11 08:07:59 +02:00
Lorenz Meier
44deeb85c0
We compile with GCC 4.7.4
2013-10-10 21:15:03 +02:00
Lorenz Meier
6745a91071
Added alignment attribute
2013-10-10 08:42:54 +02:00
Lorenz Meier
6ffa2955b9
Typo in debug output
2013-10-10 08:37:24 +02:00
Lorenz Meier
e0e708241b
More testing output
2013-10-10 08:34:08 +02:00
Lorenz Meier
8407677f20
Updated error message
2013-10-10 00:15:39 +02:00
Lorenz Meier
21dcdf11cf
WIP, typo fix
2013-10-10 00:14:03 +02:00
Lorenz Meier
13b07efc49
added hw test, added better io debugging
2013-10-10 00:12:39 +02:00
Lorenz Meier
d8396ca4b3
Merge branch 'sdtest' into hil_usb_only
2013-10-10 00:09:35 +02:00
Lorenz Meier
1ca718b57f
Slight fix to test, but still fails validating written data after non-aligned writes
2013-10-10 00:03:57 +02:00
Lorenz Meier
b8ccf67e8c
Merge branch 'sdtest' of github.com:PX4/Firmware into hil_usb_only
2013-10-09 22:53:25 +02:00
Lorenz Meier
ed00567400
Extended file test for alignment
2013-10-09 22:23:10 +02:00
Lorenz Meier
d63ad0fb81
Added debug output printing capabilities for IOv2
2013-10-09 09:26:18 +02:00
Julian Oes
b25b9d37d5
Small function definition correction
2013-10-09 09:00:22 +02:00
Julian Oes
1b9e2af742
Moved PWM ramp to systemlib
2013-10-08 17:03:57 +02:00
Anton Babushkin
b2555d70e3
sensors: minor optimization, cleanup and refactoring
2013-10-08 13:39:08 +02:00
Anton Babushkin
d70d8ae68e
mavlink, mavlink_onboard: bugfixes, code style fixed
2013-10-08 11:26:27 +02:00
Anton Babushkin
5e3bdd7789
mavlink_onboard: major optimization, cleanup and minor fixes, WIP
2013-10-08 09:38:04 +02:00
Lorenz Meier
a3bdf536e5
Dynamic integral resets for straight and circle mode, announcing turn radius now
2013-10-08 09:17:58 +02:00
Lorenz Meier
d59cdf6fcc
Added support for dynamic turn radii
2013-10-08 09:15:40 +02:00
Lorenz Meier
5bc7d7c00f
Fixed turn radius return value
2013-10-08 09:13:41 +02:00
Anton Babushkin
3fd2048188
commander: remove duplicate publishing of vehicle_control_mode and actuator_armed topics, remove unused "counter" field from topics
2013-10-07 22:16:57 +02:00
Anton Babushkin
87e1ffe0ba
px4io: code style fixed
2013-10-07 22:04:06 +02:00
Anton Babushkin
6e7300fb92
px4io: major optimization and cleanup
2013-10-07 22:02:46 +02:00
Julian Oes
19879432ad
Trying to get rid of magic PWM numbers
2013-10-07 18:03:05 +02:00
Julian Oes
ea0aa49b54
pwm info provides more information, some fixes for setting rate/min/max/disarmed
2013-10-07 16:24:49 +02:00
Anton Babushkin
2fd8c6b958
multirotor_att_control: cleanup, some refactoring
2013-10-07 13:54:31 +02:00
Anton Babushkin
378041ad31
px4io: make "too high rate" warning consistent with real behavor
2013-10-06 23:09:55 +02:00
Lorenz Meier
81e9c06129
Robustified flight close to waypoints
2013-10-06 21:04:59 +02:00
Lorenz Meier
d1871bd7bb
State machine fixes for HIL
2013-10-06 14:18:28 +02:00
Lorenz Meier
90c4664dce
Merged status changes
2013-10-06 14:17:37 +02:00
Julian Oes
9ff5217118
Some more interface changes, needs testing and cleanup
2013-10-04 17:20:34 +02:00
Julian Oes
baa4908054
Changes to pwm systemcmd, basic functionality there, needs polishing
2013-10-04 13:00:12 +02:00
Lorenz Meier
4ceddfdd92
Merge pull request #426 from limhyon/master
...
PX4Flow, and several tiny things enhanced.
2013-09-30 22:14:46 -07:00
Hyon Lim
1a3d17d4e7
Update sensor_params.c
...
Not necessarily modify this on initial.
2013-10-01 09:15:15 +09:00
Julian Oes
9493c7a45c
Merge remote-tracking branch 'px4/master' into pwm_ioctls
...
Conflicts:
src/drivers/drv_pwm_output.h
2013-09-29 18:31:13 +02:00
Lorenz Meier
1b32ba2436
Hotfix: Ensure that a minimum of 10 degrees pitch is set on takeoff
2013-09-29 14:12:50 +02:00
Randy Mackay
642081ddfe
tone_alarm: add GPS warning tone
2013-09-27 13:34:25 +02:00
Lorenz Meier
2c54e827ed
Hotfix: Improved file test
2013-09-27 09:24:49 +02:00
Hyon Lim (Retina)
4514045fb6
There were unintialized variables.
...
(control mode was not updated)
Also, new flags (xy_valid etc) were considered.
2013-09-25 02:12:55 +09:00
Hyon Lim (Retina)
bfe22c1140
RC3 usually used as Throttle, but trim was set to 1500 by default.
...
It should be 1000 by default.
2013-09-25 02:02:51 +09:00
Lorenz Meier
f7090db708
Fix the direction of the override switch for the new state machine
2013-09-24 08:22:44 +02:00
Jean Cyr
6f54825000
Comments in GPS UORB topic don't make sense
...
- Describe long, lat, and alt coordinates properly
2013-09-22 23:17:27 -04:00
Lorenz Meier
e7bc322b2d
Merge pull request #421 from julianoes/fix_console_input
...
px4io test and fmu test now work over USB as well
2013-09-22 13:11:01 -07:00
Lorenz Meier
7108c9f475
Merge pull request #420 from julianoes/fix_esc_calib
...
Listen to all consoles plus some more small fixes
2013-09-22 09:06:40 -07:00
Julian Oes
166dba09de
px4io test and fmu test now work over USB as well
2013-09-22 17:23:43 +02:00
Lorenz Meier
07f82efe9b
Merge branch 'master' of github.com:PX4/Firmware
2013-09-22 17:08:42 +02:00
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