Randy Mackay
d1344e8c39
Copter: remove #define for CROSSTRACK_GAIN
...
Note: the cross track is still calculated inside the inertial nav based
loiter and wp controls but it's no longer requires a tunable parameter
12 years ago
Randy Mackay
1b6fcad90a
Copter: remove tilt compensation parameter
...
Note: this idea of feed forward tilt compensation is being incorporated
into the inertial nav based loiter and wp controllers but does not
require a separate tunable parameter
12 years ago
Randy Mackay
fdcb78ccf7
Copter: leonard's smoother alt-hold transition
...
Target altitude when entering alt-hold is based on a projection from
current alt and climb rate
12 years ago
Randy Mackay
150046f2b8
Copter: GPS Failsafe implemented
...
Switches to LAND mode 5 seconds after losing GPS if you're in a flight
mode that requires a GPS
12 years ago
Randy Mackay
a73f50494c
TradHeli: remove duplicate RC_FAST_SPEED definition
12 years ago
Randy Mackay
33bd984a91
Copter: remove unused input_voltage parameter
12 years ago
Randy Mackay
d6ff5ae261
Copter: add roll-pitch slew for auto modes
...
Added reporting of roll, pitch inputs for ACRO, AUTO
12 years ago
Randy Mackay
e297ba7d18
Copter: update default loiter gains for inertial nav
12 years ago
Randy Mackay
cbde042ec5
Copter: remove non-inav loiter and wp controllers
...
lon_speed, lat_speed changed to float
do_takeoff, do_land now set roll-pitch, yaw and nav modes specifically
removed fast_corners functionality (may need to be reimplemented with
new inertial nav controllers)
12 years ago
Randy Mackay
609676e26c
Copter: add logging of compass values
...
Removed rarely used ITERM because we didn't have enough bits in the log
mask
12 years ago
Randy Mackay
67c69a19ee
Copter: remove baro-only alt hold
...
Saves 8 bytes of memory and more importantly simplifies the alt hold
calculations
12 years ago
Randy Mackay
fcf102b2cf
Copter: inertial nav waypoint controller
...
#define added to allow compile time selection of traditional or inav
based loiter and wp controllers
12 years ago
Randy Mackay
8e4c9518ea
Copter: increase low voltage check to 10.5v
...
Change requested by Rob Lefebvre and Richie Wilson
12 years ago
Andrew Tridgell
4c7a1a1806
Copter: change PX4 main baud rate back to 115200
...
we now use USB console
12 years ago
Randy Mackay
06a71af12f
Copter: THR_MID used to scale manual throttle
12 years ago
Randy Mackay
ce370bab0c
Copter: rename CUR and CURR to CURRENT for logging
...
Based on user complaint that enable/disable was using CUR while message
was appearing as CURR
12 years ago
Randy Mackay
b74fe10aa9
Copter: set each flight mode's nav_mode
...
Allow ACRO flight mode's roll, pitch, yaw, throttle and nav mode to be
overwritten
12 years ago
Andrew Tridgell
f303554259
Copter: run serial0 at 57600 on PX4
12 years ago
Robert Lefebvre
dde713aaa5
Arducopter: Backing out my changes for a new Loiter Repositioning mode. Leonard and Jonathan's work will trump this.
12 years ago
Andrew Tridgell
580abf1106
Copter: fixed PX4 mag orientation
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
fef7569dee
Copter: added experimental LOITER_REPOSITIONING #define to config.h
...
APM_Config.h should be used to overriding the standard parameters but
they still require a definition in config.h or they will be undefined
when built by the mission planner.
12 years ago
Randy Mackay
9ad6f711f8
ArduCopter: replace FS_THR_RTL_MIN_DISTANCE with wp_radius
...
This effectively means that an RTL kicked off by a failsafe will
immediately switch to LAND mode only if within 2 meters. Previously the
radius was much wider (15m).
12 years ago
Randy Mackay
12f885c33c
ArduCopter: disable ITERM logging by default
...
This message takes 1ms to write and we are running over our limits on
some loops.
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
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
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
rmackay9
9b2956b377
ArduCopter: increase throttle rate P to 6.0 (was 1.0) and alt hold P to 2.0 (was 1.0)
12 years ago
rmackay9
d400e5040b
ArduCopter: turn on INERTIAL_NAV_Z in the config.h file so that it takes effect when built for the mission planner
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
rmackay9
5526ca204c
ArduCopter: on throttle failsafe, only initiate RTL if we are at least 15m from home
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
34e18ae12a
ArduCopter: increase accel based throttle PIDs and add D term to rate based throttle
12 years ago
Robert Lefebvre
9605bd8ee1
ACM: Trying to set a default MPU6K filter rate of 10Hz for TradHeli. Doesn't Work.
12 years ago
rmackay9
d8e3d5c10c
ArduCopter: allow RTL's yaw mode to be overridden with a #define in APM_Config.h
12 years ago
rmackay9
50d46898fb
ArduCopter: allow GUIDED mode roll-pitch, yaw and throttle control modes to be overridden
12 years ago
Andrew Tridgell
9e986801c9
Copter: fixed SITL for ArduCopter
12 years ago
Pat Hickey
5e63491994
ArduCopter: fix issues with HAL/HIL mixup and baro/compass instances
12 years ago
Pat Hickey
d93d932831
ArduCopter: defines fixes
...
Conflicts:
libraries/AP_Common/Arduino.mk
12 years ago
Pat Hickey
2aa4657315
ArduCopter: changes to use CONFIG_HIL_BOARD
12 years ago
rmackay9
2f748f8382
ArduCopter: renamed BATT_FAILSAFE to FS_BATT_ENABLE
12 years ago
rmackay9
d31efebd44
ArduCopter: rename throttle failsafe parameters.
...
Switch to LAND flight mode if throttle failsafe triggers and we do not have a GPS.
THR_FAILSAFE renamed to FS_THR_ENABLE.
THR_FS_VALUE renamed to FS_THR_VALUE.
THR_FS_ACTION removed (action is now controlled by setting FS_THR parameter).
12 years ago
rmackay9
2f1b2b70e6
ArduCopter: added ACRO_TRAINER parameter to allow enabling/disabling the acro training function which will bring the roll back to within +- 45 degrees
12 years ago
rmackay9
dadad8677e
ArduCopter: added descriptions for most parameters that did not have them
...
Renamed loiter_radius to circle_radius to better reflect it's purpose.
Removed some unused parameters including WP_MODE, WP_MUST_INDEX, LOG_LASTFILE, AXIS_P
12 years ago
rmackay9
cfe2507c0b
ArduCopter: reduce Rate Roll/Pitch P to 0.150 (was 0.175) and increase I to 0.1 (was 0.01)
12 years ago