rmackay9
d3de77f74c
ArduCopter: fix do_set_servo so that it works again
12 years ago
rmackay9
653535b9a1
ArduCopter: added CH7 option to trigger camera
...
Restructured reading of channel 7 into a switch statement.
12 years ago
rmackay9
d11ee04888
AP_Camera: add three new parameters DURATION, SERVO_ON and SERVO_OFF to allow better shutter control when using servo.
...
Removed unused variables to save 4 bytes.
Renamed some variables and functions to make more consistent with existing code base.
12 years ago
rmackay9
eac26b2313
RC_Channel_aux: immediately send output to servos when set_radio, set_radio_to_min, set_radio_to_max, set_radio_to_trim or set_servo_out functions are called.
12 years ago
rmackay9
4ca27defb3
ArduCopter: update comments related to CH7 switch options
12 years ago
rmackay9
75401756f2
ArduCopter: maintain loiter control even below 1m while landing
12 years ago
rmackay9
2dd4694eef
ArduCopter: adjusted pid_throttle_accel dt to 0.01 (100hz)
12 years ago
rmackay9
269e02ee93
ArduCopter: bug fix - initialise inertial nav
12 years ago
rmackay9
8d682b9812
ArduCopter: disable INERTIAL_NAV_XY by default
12 years ago
rmackay9
39d524212f
ArduCopter: allow accel based throttle controller to be enabled/disabled with the new THR_ACC_ENABLE parameter.
...
When disabled the original velocity based throttle controller is used.
12 years ago
rmackay9
a5bb54e36e
ArduCopter: RTL clean-up and slightly improved landing sensor
...
Consolidated RTL state to be captured by rtl_state variable.
Combined update_RTL_Nav and verify_RTL functions which performed the same function but one was for missions, the other for the RTL flight mode.
Renamed some RTL parameters and global variables to have RTL at the front.
Landing detector now checks accel-throttle's I term and/or a very low throttle value
12 years ago
rmackay9
6da07ef1d2
ArduCopter: increase CONTROL_SWITCH_COUNTER so that flight mode switch must be changed for at least 1/10th of a second
12 years ago
rmackay9
072ffec493
ArduCopter: allow INERTIAL_NAV to be enabled separately for horizontal and vertical position
12 years ago
rmackay9
aa5e7e63a0
ArduCopter: switch on INS in APM_Config.h (i.e. on by default for users uploading through Arduino IDE)
12 years ago
rmackay9
bdb47c449a
ArduCopter: pass linear altitude error to throttle rate controllers.
...
Previously the requested rate used the square root of the altitude error.
Scale pilot's desired vertical rate and acceleration based on ACCELERATION_MAX_Z and VELOCITY_MAX_Z #defines
12 years ago
rmackay9
d7f76ebd87
ArduCopter: add tuning of throttle rate controller's I term (THROTTLE_KI)
12 years ago
rmackay9
7b4ed2d227
ArduCopter: restored landing detector to landing throttle mode.
...
Added LAND_SPEED parameter to control the rate of descent for the last 10m of a landing.
Added CH6 tuning for accel based throttle controller.
12 years ago
rmackay9
560bb1d738
ArduCopter: removed unused AUTO_THROTTLE_HOLD #define
12 years ago
rmackay9
7035529953
ArduCopter: remove unused get_desired_climb_rate function
12 years ago
rmackay9
a94826f182
ArduCopter: add set_throttle_mode to better control initialisation of variables
12 years ago
rmackay9
1036b35128
ArduCopter: added back in angle boost and recombined for heli and multicopter
12 years ago
rmackay9
3cbef57c64
ArduCopter: first merge of leonard's accel based altitude controller plus other changes from Randy
...
Changes include:
New low-level get_throttle_accel function takes target acceleration and compares vs earth-frame Z accelerometer values to produce output to motors.
Higher level throttle controllers modified to call new get_throttle_accel controller
Throttle_rate_stabilized controller added which maintains a desired climb/descent rate
Throttle_land controller added - descends using normal auto throttle controller to 10m then descends at 50cm/s
Multiple throttle modes added including landing mode
Land flight mode no longer needs GPS
Throttle cruise maintenance moved to update_throttle_cruise function
12 years ago
rmackay9
e6686dcab8
ThirdOrderCompFilter: remove last_time_constant_xy and _z static variables to save 8 bytes.
12 years ago
rmackay9
06d1c6b0c1
AP_Buffer: bug fix to allow buffer to completely fill up.
...
Also removed redundant _tail parameter which saves 1 byte.
12 years ago
rmackay9
8b5f66255e
AP_InertialSensor: add comments to give credit for accel calibration method to Rolfe Schmidt
12 years ago
rmackay9
a92b7f3477
AP_InertialSensor: add comments to give credit for accel calibration method to Rolfe Schmidt
12 years ago
Robert Lefebvre
a5c4e65cdf
ACM: TradHeli
...
Fix for Rotor Speed Controller to switch on/off with Ch8 as opposed to the old way (throttle).
12 years ago
Robert Lefebvre
8c18a60766
ACM: Small fix to Yaw Look Ahead
12 years ago
Robert Lefebvre
1d589c0b7d
ACM: TradHeli
...
Fixes for Attitude rate controllers.
12 years ago
Robert Lefebvre
5723021be1
ACM: TradHeli
...
Creating Rate Feed-Forward Parameters
12 years ago
Robert Lefebvre
3e65dd3ded
ACM: TradHeli APM_Config.h changes
12 years ago
Robert Lefebvre
315a7e8000
ACM: Yaw Look Ahead Changes
12 years ago
Michael Oborne
47529e9454
firmware build
12 years ago
Andrew Tridgell
898aa0b260
Plane: fixed spelling error
12 years ago
Andrew Tridgell
e4949291e5
Plane: preparing for 2.68 release
12 years ago
Andrew Tridgell
33e6edcab2
scripts: added apm2 hil to build_all.sh
12 years ago
Andrew Tridgell
805a340350
Plane: enable attitude and raw logging in HIL modes
12 years ago
Andrew Tridgell
3b18c57691
AP_InertialSensor: removed axis getters for accel/gyro
...
these were only being used in one place, and in that place were used
incorrectly!
12 years ago
Andrew Tridgell
4484144228
Rover: removed INS print code
...
its all in parameters now
12 years ago
Andrew Tridgell
cbb97f7294
Plane: added apm2 hilsensors target
12 years ago
Andrew Tridgell
d2f9a705ea
MAVLink: clarify frame of reference for HIL_STATE
12 years ago
Andrew Tridgell
15abc784ec
MAVLink: use a smaller maximum payload to reduce memory
...
this limits the sizes of the MAVLink buffers. It doesn't make a big
difference now, but it will matter when we update to the latest
mavlink code which has some very large packets
12 years ago
Andrew Tridgell
5e77119377
AP_InertialSensor: fixed stub driver to work correctly with sensors HIL
12 years ago
Andrew Tridgell
24e1af1c82
Plane: fixed sensors and attitude HIL
...
we now use the Stub version of the InertialSensor driver. In sensors
HIL we can now correctly drive the AHRS code.
12 years ago
Andrew Tridgell
53951f995a
Plane: fixed GPS course in HIL
12 years ago
Andrew Tridgell
567cb47d35
Plane: fixed SERVO_OUTPUT_RAW for HIL
12 years ago
Robert Lefebvre
9130045298
ACM: Code Cleanup
12 years ago
Andrew Tridgell
1104287aa2
Plane: use enum FlightMode in more places
12 years ago
Andrew Tridgell
1fcffc6de9
autotest: increase speed in fly square test for ArduCopter
...
should prevent occasional timeouts
12 years ago
Andrew Tridgell
f5abc2c25e
Plane: switch to an enum for flight modes
12 years ago