Randy Mackay
577bf865b3
Copter: update firmware version to 2.9-dev
...
The -dev extension indicates that we are post 2.9 release
12 years ago
James Bielman
5631f865b2
Update floating point calculations to use floats instead of doubles.
...
- Allows use of hardware floating point on the Cortex-M4.
- Added "f" suffix to floating point literals.
- Call floating point versions of stdlib math functions.
12 years ago
Randy Mackay
148c227d73
Copter: update firmware version to rc5
12 years ago
Randy Mackay
c1fa850d10
ArduCopter: update firmware version to 2.9-rc4
12 years ago
Randy Mackay
175f69a64f
ArduCopter: smooth throttle when switching from manual throttle to alt hold
...
new set_accel_throttle_I_from_pilot_throttle function copies the
difference between the pilot's throttle and hover throttle to the
accelerometer based throttle controller's I term.
12 years ago
Randy Mackay
fbed8b8861
ArduCopter: alphabetized the contributors list
...
Jonathan Challinger added
12 years ago
Randy Mackay
5965914039
ArduCopter: increase firmware version to 2.9-rc3
12 years ago
Andrew Tridgell
b0c710b67f
Copter: move read_AHRS() before run_rate_controllers()
...
this ensures the rate controllers use the latest data
12 years ago
rmackay9
f25f1cb3bf
ArduCopter: changed alt hold to use the sonar if enabled and healthy
12 years ago
rmackay9
21b6c78d12
ArduCopter: added get_throttle_althold_with_slew to allow slower altitude target changes
...
Improved surface tracking by using slewed althold controller
Reduced sonar mode filter to just 3 elements to reduce lag but at the possible consequence of allowing sonar noise to creep through for people with margin sonar set-ups.
12 years ago
Randy Mackay
87627d883b
ArduCopter: use new logging method for remaining packet types
...
Additional changes include renaming RAW dataflash type to IMU
12 years ago
Andrew Tridgell
af478d52bc
Copter: use the new logging methods for 2 packet types
...
the rest still need to be converted
12 years ago
Andrew Tridgell
0fe7901422
Copter: only print perf data when SCHED_DEBUG is non-zero
12 years ago
Andrew Tridgell
dcb181d2d8
Copter: use new AP_Scheduler library
12 years ago
Andrew Tridgell
2e57720444
Copter: move memcheck_init() earlier in setup
12 years ago
James Bielman
7374e5d84e
ArduCopter: Use 16-bit arithmetic when comparing event tick counters.
...
- On the ARM, once the tick counter wrapped, we stopped running events
because the wraparound case wasn't being handled correctly. Make
sure the comparison is 16 bits to prevent this.
12 years ago
James Bielman
7827a4a54a
ArduCopter: Add AP_HAL_SMACCM support.
...
- Added default configuration to "config.h".
- Added main function to run under FreeRTOS with HWF4.
12 years ago
James Bielman
ab37f833db
MS5611: Fix CONFIG_MS5611_SERIAL definitions.
...
- Make sure the values are defined as integers. We were always using
SPI rather than using I2C when desired.
12 years ago
Andrew Tridgell
e575c5eba0
Copter: read baro at 50Hz
12 years ago
Andrew Tridgell
269804e866
Copter: use barometer.accumulate()
...
this gives us more consistent timing and faster baro reads on APM1
12 years ago
Andrew Tridgell
860f4b2605
Copter: merge the latest 2.9 changes into master
12 years ago
Andrew Tridgell
d11dde578f
Copter: a useful bit of timing debug code
...
enable when looking at main loop timing
12 years ago
Andrew Tridgell
d952ccf968
Copter: added main_loop_ready() function
...
this tells us when the main loop is ready to run. MAVLink won't send a
message if the main loop could run.
12 years ago
Andrew Tridgell
c48714be16
Copter: enabled PX4 sensors
12 years ago
James Bielman
264db3670e
AP_Baro: Add CONFIG_MS5611_SERIAL option to choose between SPI and I2C.
...
- Update ArduCopter and ArduPlane modules to pass the correct serial
driver to the MS5611 driver.
- Update barometer examples, assuming SPI.
12 years ago
Andrew Tridgell
94e3322e24
Copter: fixed build on px4
12 years ago
Andrew Tridgell
e56a7eacec
Copter: don't pass board version to motors
12 years ago
Andrew Tridgell
ead38f917f
Copter: use GRAVITY_MSS
12 years ago
rmackay9
228ad2198f
ArduCopter: update firmware version to 2.9-rc2
12 years ago
rmackay9
677b38a48e
ArduCopter: first implementation of surface tracking using sonar
...
Note: not yet enabled as part of any flight mode
12 years ago
rmackay9
68b62abd38
ArduCopter with the new Camera and Relay classes for APM1 and APM2.
...
All changes by Sandro Benigno
12 years ago
rmackay9
e850ab7ccd
ArduCopter: add AUTO_VELZ_MIN, AUTO_VELZ_MAX and PILOT_VELZ_MAX to allow better control of climb/descent rate in auto and manual throttle modes
12 years ago
Craig@3DR
0ed25cf719
Global change all references from
...
GPS_PROTOCOL_MTK16
to
GPS_PROTOCOL_MTK19
12 years ago
rmackay9
466097b383
ArduCopter: use inertial nav for current altitude and climb rate
12 years ago
rmackay9
5ba363b007
ArduCopter: move gcs_check function (which sends to ground station) to run when 50hz loop is not running
...
Also removed redundant heartbeat message
12 years ago
rmackay9
bd0e018ca0
ArduCopter: restore auto-trim method but now use AHRS.add_trim
12 years ago
Robert Lefebvre
6e64b1b357
ACM: Precision Loiter RePositioning code.
...
Protected behind a #define
12 years ago
rmackay9
e6519330f4
ArduCopter: remove unused rc_override variables to save 21 bytes
12 years ago
rmackay9
ac8af9a53f
ArduCopter: Leonard Hall's changes to alt hold including adding low pass filter to climb rate
...
get_throttle_rate_stabilized changed to simply update the target altitude instead of talking directly to the rate controller.
get_throttle_althold changed to use sqrt of distance when calculating the desired rate towards the target altitude.
added reset of accel based throttle PID's I term.
unrelated small bug fix from Randy to allow CH6 tuning of throttle rate D term.
12 years ago
rmackay9
d926360e81
ArduCopter: move gcs updates to run only when there are 4ms of spare time before the next 100hz iteration starts
12 years ago
rmackay9
6da68c53a5
ArduCopter: bug fix so AP_Limits does not use up memory if it is disabled
12 years ago
rmackay9
5633164fa0
ArduCopter: bug fix for compass.accumulate check in main loop (millis vs micros issue)
12 years ago
rmackay9
8e032b89ee
ArduCopter: create 2.9 branch and update firmware version
12 years ago
Andrew Tridgell
06357c40f2
Copter: use new functions
12 years ago
Andrew Tridgell
a02f723f3a
Copter: fixed HIL builds
12 years ago
Andrew Tridgell
9e986801c9
Copter: fixed SITL for ArduCopter
12 years ago
Andrew Tridgell
08b1c2d590
Copter: fixed GPS init
12 years ago
Pat Hickey
d5d97be837
ArduCopter: add param loader properly implement parameters
...
* thanks tridge!
12 years ago
Pat Hickey
5e63491994
ArduCopter: fix issues with HAL/HIL mixup and baro/compass instances
12 years ago
Pat Hickey
21d0da84a6
ArduCopter: temporarily disable AP_Param::setup_sketch_results
...
* rebased away tridge's AP_Param changes as they seemed possibly buggy?
12 years ago