Adam M Rivera
8e580729b7
config.h: Removed comment.
13 years ago
Jason Short
9c19138fb8
Log.pde : Updated Flash Logging to log Floats properly vs scaled integers.
13 years ago
Jason Short
e22832a832
Added a union for casting floats to ints and back when storing Floats to the DataFlash
13 years ago
rmackay9
090f5aaa6f
ArduCopter - config.h - set standard RC_SPEED to 125 for helicopter frame
13 years ago
rmackay9
c993049c48
ArduCopter - combined CH6_DAMP and CH6_STABILIZE_KD tuning parameters to avoid confusion
13 years ago
rmackay9
533772339e
ArduCopter - Attitude.pde - added logging of optical flow pid controller
13 years ago
rmackay9
3e95ade004
ArduCopter - changed optflow object to be APM2 version if necessary
13 years ago
rmackay9
919f004b27
ArduCopter - changed Optical Flow for APM2 to use A3 pin
13 years ago
rmackay9
f0a9209935
ArduCopter - regressed version back to 2.5.4
13 years ago
James Goppert
5390467f3d
Worked on ArduCopter cmake options.
13 years ago
Adam M Rivera
1676e09f12
navigation.pde: Put the new calc_GPS_velocity method in a compiler if that checks the new RETRO_LOITER_MODE config value (saves space and ensures its not being used unless retro loiter mode is enabled)
13 years ago
Adam M Rivera
d29f1ef331
Loiter: Made the "retro loiter" routines configurable. Add RETRO_LOITER_MODE ENABLED to APM_Config.h to enable the older loiter shtuff.
13 years ago
Adam M Rivera
a7bc3d2cc6
Arducopter.pde: Moved gps to 10hz. Changed calc_XY_velocity to calc_GPS_velocity.
13 years ago
Adam M Rivera
d4a4641ae6
navigation.pde: Added calc_GPS_velocity. Added constraint to x/y error and x/y rate error.
13 years ago
James Goppert
53c143a575
Improved cmake options.
13 years ago
James Goppert
0e7e77760a
Updated ArduPlane/ArduCopter cmake options.
13 years ago
Adam M Rivera
a3842734a9
Planner/defines.h: Updated the enumeration value for APPROACH so as not to disturb the order of the universe.
13 years ago
James Goppert
a9f0bd24d7
Switched to project specific cmake lists.
...
This is better since each project has very different options.
13 years ago
Adam M Rivera
f6d81a16c2
ArduCopter: Added code to prevent mode from switching to APPROACH on every loiter.
13 years ago
Adam M Rivera
56a00fa1f7
ArduCopter: Changed millis compare to use new config value for approach delay.
13 years ago
Adam M Rivera
07e53fad18
commands_logic.pde: Added write to constrained value to EEPROM.
13 years ago
Adam M Rivera
7b277d7044
config.h: Added RTL_APPROACH_DELAY config value.
13 years ago
Adam M Rivera
0c3d6614cd
system.pde: Updated param name to loiter_timer.
13 years ago
Adam M Rivera
3d024ba2dd
commands_logic: Allowed for an approach alt as low as 1m. Added a check to make sure we are currently above our target approach alt.
13 years ago
Adam M Rivera
41702aca94
ArduCopter: Updated param name from auto_land_timer to loiter_timer, because it could really be used for more routines like auto-approach. Added timer before approach (20s).
13 years ago
Adam M Rivera
a366bb2f81
Parameters: Changed rtl_approach_alt to float to support more granular altitudes
13 years ago
rmackay9
870b5e5f75
ArduCopter - CH6 Tuning - added AHRS_YAW_KP parameter as 30. Now you can easily set the amount that the mag is used to correct the gyro based yaw estimate in the DCM
13 years ago
Andrew Tridgell
95cb35c7bb
AHRS: enable AHRS_ group in ArduCopter
13 years ago
Adam M Rivera
77d6f22864
ArduCopter, commands_logic: Updated logic to allow as low as 5m.
13 years ago
Adam M Rivera
2954bf6f76
ArduCopter: Added check to make sure user defined approach alt is at least 5.
13 years ago
Adam M Rivera
cddcdb8be3
commands_logic: Added check to make sure the do_approach method is not being used to land.
13 years ago
Adam M Rivera
a2b338c052
System: Added handler for the new APPROACH flight mode which will initiate an approach to a target alt as defined by the user.
13 years ago
Adam M Rivera
a24b7bcf14
ArduCopter: Added check to g.rtl_approach_alt, which if greater than zero will initiate an approach to the target alt rather than land.
13 years ago
Adam M Rivera
cfe3b58248
commands_logic: Added do_approach() to set the new target alt based on the user defined value.
13 years ago
Adam M Rivera
83fe6733d4
Defines: Added new control mode (APPROACH).
13 years ago
Adam M Rivera
7ba8c291bd
Parameters: Added new APPROACH_ALT params (g.rtl_approach_alt) which stored the users desired target altitude after RTL is complete.
13 years ago
rmackay9
a71ed6abec
ArduCopter - updated firmware version to "2.6 Beta"
13 years ago
rmackay9
24b81db20e
ArduCopter - LEDS - main code to support COPTER_LEDS.
...
Code by Robert Lefebvre
13 years ago
rmackay9
c337df11c8
ArduCopter - LEDS - set new output pins to OUTPUT to support COPTER_LEDS.
...
Code by Robert Lefebvre
13 years ago
rmackay9
d70f5da5e0
ArduCopter - LEDS - define pins to be used for COPTER_LEDS.
...
Code by Robert Lefebvre
13 years ago
rmackay9
84b07b5e6a
ArduCopter - LEDS - added new COPTER_LEDS definition
...
Code by Robert Lefebvre
13 years ago
rmackay9
0a3bc9a66a
ArduCopter - LEDS - two new parameters to support COPTER_LEDS.
...
Code by Robert Lefebvre.
13 years ago
rmackay9
fad162989f
ArduCopter - navigation.pde - added logging of Loiter PID controllers
13 years ago
rmackay9
f8210b164c
ArduCopter - Parameters.h - changed initialisation order to remove compiler warning (have not changed enum values so shouldn't require eeprom format id update)
13 years ago
rmackay9
df85051574
ArduCopter - added dataflash logging of roll and pitch rate controllers
13 years ago
rmackay9
998058ec07
ArduCopter - removed unused motor pde files including heli.pde, motors_hexa.pde, motors_octa.pde, motors_octa_quad.pde, motors_tri.pde and motors_y6.pde
13 years ago
rmackay9
ad9a8acbab
ArduCopter - test.pde - changed references "motor_armed" to "motors.armed()" as part of move to AP_Motors library.
...
Change to ESC initialisation calls to use motors.throttle_pass_through method of AP_Motors class.
13 years ago
rmackay9
1d086c83f0
ArduCopter - system.pde - changed references to "motor_armed" to "motors.armed()" as part of the move to use AP_Motors library.
13 years ago
rmackay9
4aa40bdf10
ArduCopter - setup.pde - changed cli for helicopter to call the new AP_Motors class's parameters instead of the global parameters.
...
changed init_esc to call the AP_Motor's class's "throttle_pass_through" function.
13 years ago
rmackay9
473126581d
ArduCopter - radio.pde - changed motor initialisation to set update rate, frame orientation, min and max throttle to AP_Motors class.
...
Note: perhaps the motors speed at least should be moved to a parameter within the motors class.
output_min function greatly simplified as this is handled by the AP_Motors class.
13 years ago