Amilcar Lucas
0b0b9c29a2
Allow fully independent operation of two AP_Mount instances
13 years ago
Amilcar Lucas
9cc705939a
Add a second mount instance
13 years ago
Andrew Tridgell
03714fc695
ACM: make it possible to set AHRS_GPS_GAIN on ArduCopter
...
this was affected by the AP_Param change, in particular the
constructor ordering. To ensure a user can set AHRS_GPS_GAIN to 1.0 if
they want to, we need to do a set_and_save() if the value isn't in
EEPROM
13 years ago
Andrew Tridgell
103b02fe94
ACM: removed pointless load() calls
13 years ago
Andrew Tridgell
fb26160d3b
ACM: change to use get_bearing_cd() instead of get_bearing()
13 years ago
Andrew Tridgell
c2a4d59132
AP_Param: update ArduCopter core for new AP_Param interface
13 years ago
rmackay9
f79b90725e
ArduCopter: Dan Gray's fix for Condition_Yaw
...
command_yaw_dir is an unsigned byte but was being set to a -ve number leading to very incorrect yaw target heading for counter clockwise turns.
command_yaw_end (i.e. turn's end target) was not being set if turn was of type "relative"
13 years ago
Amilcar Lucas
d9f1140278
ArduCopter: Use generic channel names for AP_Mount servos.
...
This simplifies mission planner, the same code can be used for plane and copter now.
13 years ago
Amilcar Lucas
e93daca17e
Fix heli compilation
13 years ago
Amilcar Lucas
f14237126a
Add me :)
13 years ago
Amilcar Lucas
aa3cc63b15
ArduCopter: Make the code fit in a 1280 chip again
...
Even allows to control a camera/antenna mount, if the user explicitly wants to.
13 years ago
Amilcar Lucas
0106c133cf
Default CLI_SLIDER_ENABLED to DISABLED
...
Chris asked for this on the mailing list
13 years ago
Amilcar Lucas
af08b630cd
Spellcheck in comments
13 years ago
Amilcar Lucas
107155fa1a
AP_Mount: Allow using any RC channel to control any of the mount axes.
...
This has the added benefit of saving 60 bytes and simplifying Mission Planner gui.
Moved some code from RC_Channel_aux to AP_Mount class
The servos get written by the update_mount_position() function, this simplifies main()
PS: The beauty of using libraries: I did not have to touch a single line of ArduPlane's code!
13 years ago
Amilcar Lucas
b8c7b8a786
RC_Channel: Allow each channel to know who they are, this simplifies the enabling and output function calls.
13 years ago
Amilcar Lucas
afd96025a7
ArduCopter: Save more space in APM1280
13 years ago
Amilcar Lucas
9c1ac2d9e6
More work on ch9, 10 and 11
13 years ago
Amilcar Lucas
4ba847c449
The mount type must be updated periodically
13 years ago
Amilcar Lucas
bbc4bdb729
More flexible RC support
13 years ago
Amilcar Lucas
d29f7023cc
Merge from ArduPlane
13 years ago
rmackay9
c091c8e0e6
ArduCopter: bug fix to reset yaw target when zero and when in stabilize or acro mode.
13 years ago
rmackay9
a5b5f6a619
ArduCopter: bug fix to global var_info parameter list for ahrs object.
13 years ago
Andreas M. Antonopoulos
7262b0429a
AP_Limits: experimental "bounce" mode.
13 years ago
Andreas M. Antonopoulos
de85442c36
AC2.7.1: Updated version and tag
13 years ago
Jason Short
8c47b0c087
ACM: Toy mode fix - Pitch flipped the sign on roll/Yaw coupling.
13 years ago
rmackay9
77b1785bc6
ArduCopter: reduce stabilize roll, pitch and rate yaw IMAX values
13 years ago
Michael Oborne
e577b51e17
AC remove attitude hil unused extra (gps jump issue.)
13 years ago
rmackay9
5cb4a88292
ArduCopter: reset target yaw when throttle is zero (except if failsafe has been triggered)
13 years ago
rmackay9
3047084ed3
ArduCopter: added DMP_ENABLED to APM_Config.h to make it easier for people to enable it.
13 years ago
rmackay9
670a66667f
ArduCopter: fixed HIL build by removing ability to change _kp and _kp_yaw gains (used for accel and gyro sensor mixing)
13 years ago
Michael Oborne
ef870e3ca1
AC remove some attitude HIL limitations
13 years ago
rmackay9
94cb325184
ArduCopter: added ahrs.ini() to system.pde to allow offsets to be pushed into MPU6000's DMP
13 years ago
rmackay9
014f5aae99
ArduCopter: added DMP_ENABLE #define and CH6 tuning value for AHRS_KP
13 years ago
rmackay9
f97257830b
ArduCopter: changes in arducopter to support moving AHRS var_info from AP_AHRS to AP_AHRS_DCM
13 years ago
rmackay9
8e5312a759
ArduCopter: add support for MAVLink's MAV_CMD_NAV_ROI command
...
do_nav_roi and verify_nav_roi functions added to turn the copter and/or mount in response to a MAV_CMD_NAV_ROI way point
13 years ago
Michael Oborne
f4705577c8
AC fix sitl attitude hil build
13 years ago
Jason Short
8188058404
ACM: Failsafe Fix for Mission planner initiated AUTO mode
...
Keeps the failsafe from exiting Auto mode when returning from failsafe. Added arming ability for Toy mode.
13 years ago
Andreas M. Antonopoulos
80cf794c86
AC: ArduCopter 2.7 release candidate - updated THISFIRMWARE constant.
13 years ago
Jason Short
b17eb7f768
ACM: Fixed Baro rate patch to work with Sonar and added simple filter
13 years ago
Jason Short
96aabb7712
ACM: Lowered default Alt hold P
13 years ago
Jason Short
55c342c858
ACM: Safety patch for CH7 flip toggle. Prevents flipping while on the ground. ouch.
13 years ago
Jason Short
1d085c8cf4
Added minimum speed for RTL
13 years ago
Jason Short
fcd0e12a1e
ACM: Flip code revision to fix bad orientation bug.
13 years ago
Jason Short
ca70acbf64
Arducopter: Added safety check for inadvertent triggering of flip code.
13 years ago
Jason Short
9f6e1347b6
Ardcucopter: RTL distance check update, reset I terms fixed.
13 years ago
Jason Short
613849a8df
Arducopter: Force nav_yaw to match auto_yaw when starting a mission
13 years ago
Jason Short
2b20c85279
Arducopter: cleanup, skip out of throttle control when flipping.
13 years ago
Jason Short
fbe898a6db
Arducopter: motors.pde formatting
13 years ago
Jason Short
3b496ff229
Arducopter: Upped D rate to .005 by default
13 years ago
Andrew Tridgell
0a12b6ad6f
ACM: fixed HIL build with new accel setup code
13 years ago