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
f14237126a
Add me :)
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
4ba847c449
The mount type must be updated periodically
13 years ago
rmackay9
c091c8e0e6
ArduCopter: bug fix to reset yaw target when zero and when in stabilize or acro mode.
13 years ago
Andreas M. Antonopoulos
de85442c36
AC2.7.1: Updated version and tag
13 years ago
rmackay9
5cb4a88292
ArduCopter: reset target yaw when throttle is zero (except if failsafe has been triggered)
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
rmackay9
014f5aae99
ArduCopter: added DMP_ENABLE #define and CH6 tuning value for AHRS_KP
13 years ago
Michael Oborne
f4705577c8
AC fix sitl attitude hil build
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
9f6e1347b6
Ardcucopter: RTL distance check update, reset I terms fixed.
13 years ago
Jason Short
2b20c85279
Arducopter: cleanup, skip out of throttle control when flipping.
13 years ago
Jason Short
91062b56af
Arducopter.pde: Increased the throttle Hold altitude control
...
simplified Yaw reset
13 years ago
Jason Short
1efc9eac58
Arducopter: Adjust landing speed
...
removed commented out calc_loiter_pitch_roll calls
Changed updateRTL to use 1m be default instead of wp_radius to avoid poor loiter entry speed.
13 years ago
Jason Short
c9851344e7
Arducopter
...
removed old Var
13 years ago
Jason Short
cb1cdcd4a7
Arducopter: New Alt control code
...
Uses a new method to manage altitude changes. Alt hold controller was split into a hold and a rate controller just like navigation. Changing alt is done by specifying a climb rate.
Interactive alt hold is now simplified and is an 80cm climb or descent.
13 years ago
Jason Short
5965632888
Arducopter: Flip mode
...
Flip mode graduates to pre-compiled option
13 years ago
rmackay9
b691c3f658
ArduCopter.pde: added call to set_manual_rc_channel to allow pilot's channel 6 to control pitch.
...
This initialisation code should be moved to init_ardupilot and/or into the AP_Mount library.
13 years ago
Andreas M. Antonopoulos
a976a59c88
AP_Limits: Configuration defaults moved to config.h. Fixed AP_LIMITS==DISABLED handling.
13 years ago
rmackay9
c495a5f36e
ArduCopter: added enable_out_ch and output_ch calls for rc_camera_roll, pitch and yaw servos so they actually move
13 years ago
Andreas M. Antonopoulos
c73f7ef3ab
AP_Limits library, provides modular "limits" such as altitude and geo-fencing.
13 years ago
Jason Short
e3af0c7920
Arducopter: Yaw stop fix
13 years ago
Robert Lefebvre
59e133235f
Implementing Yaw Fix. Tried to blend with Jason's changes.
13 years ago
Jason Short
4af392290b
Circle_WP: Fix for Yaw toward center, fix for transit to Circle WP from a distance
13 years ago
Jason Short
7b746cf5e1
Arducopter: Wrong define used, caused Copter to Yaw to home when flying missions
13 years ago
Jason Short
d8ff5dcfab
Arducopter: Fix circle_WP
13 years ago
Jason Short
293f17902b
Arducopter:Arducopter.pde
...
switched over to barometer.get_climb_rate() * 100
removed +home.alt calcs since home is always 0 altitude
13 years ago
Jason Short
3048d2f9b4
Arducopter: WP_radius
...
Switching to stored WP_radius in meters, just like Arduplane
13 years ago
Amilcar Lucas
dfe0983e1e
Merge the changes from APM_Camera branch into ArduCopter
...
Conflicts:
ArduCopter/Camera.pde
ArduCopter/Parameters.pde
13 years ago
Jason Short
f019d41729
arducopter.pde
...
Timer was set =0 at initialization.
13 years ago
Jason Short
8ccda519fa
Arducopter.pde:
...
Added note about -1 to disable feature
Set RTL_Atl by default after reaching home in case we're at the wrong alt.
increased speed of Yaw rotation for WPs
13 years ago
Jason Short
e0b3309500
Yaw mode:
...
Improved hybrid Yaw mode:
- uses rate controller rather than as fast as possible
- waits 1.5 seconds before entering hold
- bounce free
13 years ago
Jason Short
c5617eeeac
Arducopter.pde_RTL:
...
added a new RTL function that goes into Loiter, first, checks if we have reached RTL_Altitude, then enters WP mode to come home.
Removes Approach mode. Uses Auto_Approach value to decide if we should land or descend to a certain altitude
13 years ago
Jason Short
2e8eee9306
Added code for self centering throttle - disabled by default.
13 years ago
Jason Short
4d6ccccef5
Circle_WP distance check fix
13 years ago
Jason Short
668135ea8b
Arducopter.pde: Added Toy mode refinements
13 years ago
Jason Short
e036bee424
Aeducopter.pde: Toy mode updates
13 years ago
Andrew Tridgell
55092c25a6
SITL: enable the SIM_* parameters in ArduCopter and ArduPlane
13 years ago
Adam M Rivera
dadc7d5a7d
ArduCopter: Loiter Timer should have been set when the approach altitude was set. Previously, land had to be enabled before auto approach would work.
13 years ago
Andrew Tridgell
33440567e6
ACM: ArduCopter updates for new compass interface
13 years ago
Andrew Tridgell
dae1a57dc5
ACM: adapt the ArduCopter code for new barometer interface
13 years ago
Andrew Tridgell
b676caa626
ACM: enable GPS in AHRS for ArduCopter
...
this is an experiment in centripetal correction for multicopters
13 years ago
Jason Short
c76ac4543b
Added user editable define for Super simple radius
13 years ago
Jason Short
80d15368bc
Arducopter.pde : Added Approach mode, added "Toy" mode fun code I'm playing with.
...
Added landing code to make landing happen closer to home loc
Added check for distance to Loiter WP before overriding a new Loiter position.
Moved calc_loiter_pitch_roll() to 50 hz.
removed the nav_bearing var - not used with new crosstrack.
13 years ago
Jason Short
6020f6d9fa
Added throttle_min as a user definable param
13 years ago
rmackay9
c62cc4844e
ArduCopter: updated firmware to simply 2.6 (i.e. removed Epsilon) ahead of the release
13 years ago
Jason Short
c42f9ece43
Inertial Control
...
I added inertial navigation based on the simulator data. This is an option only available if you compile with Arduino and set
#define INERTIAL_NAV ENABLED
in the APM_Config.h file.
This has been tested for one real flight and did not crash my quad, but consider it very alpha. The quad may be unpredictable at first until the error correction fixes poorly calibrated accels. Be Careful.
Most of the real work is in the inertia file, but the error correction, new variable defines and calibration calls are sprinkled throughout.
The Log should record RAW messages with special debugging values.
13 years ago