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
Pat Hickey
a0151aa66c
ArduCopter: fix cliSerial null ptr, do AP_Param::setup_sketch_defaults
...
* plus make SITL DataFlash available.
12 years ago
Pat Hickey
2aa4657315
ArduCopter: changes to use CONFIG_HIL_BOARD
12 years ago
Pat Hickey
ade7099d75
ArduCopter: add AP_HAL_MAIN
12 years ago
Pat Hickey
5bd7046a95
ArduCopter: sketch cpp builds!
12 years ago
Pat Hickey
7af03127f6
ArduCopter: more work
12 years ago
Pat Hickey
70f4739522
ArduCopter: more fixes
12 years ago
Pat Hickey
f281d9265e
ArduCopter: reworked sonar analog source creation
12 years ago
Pat Hickey
d9e0bbbbab
ArduCopter: first pass at AP_HAL porting
...
* changed all the byte types to uint8_t
* fixed up much of the serial stuff
12 years ago
Pat Hickey
a4f1f6a5db
AP_Progmem: fix dependencies for all sketches touched by AP_HAL_AVR
12 years ago
Pat Hickey
3f1d9d7f69
AP_Param: #include <AP_Param.h> fixups for libraries & sketches
...
* I mostly went through with grep and added an #include <AP_Param.h> below
every #include <AP_Common.h>. Not all of these example sketches might
strictly need AP_Param.
12 years ago