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