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
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
Lorenz Meier
9c6cca8b9b
Merge pull request #310 from PX4/att_fix
...
fixed attitude estimator params
2013-07-09 04:11:38 -07:00
Anton Babushkin
04fbed493a
multirotor_pos_control: use separate PID controllers for position and velocity
2013-07-09 14:09:48 +04:00
Lorenz Meier
d63730419b
Merge branch 'mpu6000_set_sample_rate' of https://github.com/fibr/Firmware into mpu_rate
2013-07-09 11:16:42 +02:00
Darryl Taylor
2990a7384b
Merge branch 'master' of https://github.com/PX4/Firmware into gps_fix
2013-07-09 17:09:59 +08:00
Lorenz Meier
bbe6615884
Merge pull request #324 from DrTon/gpio_led_io_relay
...
gpio_led: PX4IO RELAY and ACC outputs support
2013-07-09 02:09:30 -07:00
Darryl Taylor
dc2ef7b3c6
Some cleanup of NAV_SVINFO message handler
2013-07-09 17:07:11 +08:00
Darryl Taylor
6dff71668d
Merge branch 'master' into gps_fix
2013-07-09 14:49:58 +08:00
Darryl Taylor
d878d4756c
Ammended UBlox driver to record SV Info, satelites_visible == satelites used. Info is recorded for all SVs, used or not. Might be useful for GPS debugging.
2013-07-09 14:25:47 +08:00
Simon Wilks
a18c6cea18
Merge remote-tracking branch 'upstream/master' into hott-esc
2013-07-09 08:04:07 +02:00
unknown
a9b327b1fe
Merge remote-tracking branch 'upstream/master'
2013-07-08 17:13:41 -04:00
Lorenz Meier
ced2871263
Merged mkblctrl
2013-07-08 20:48:30 +02:00