Andrew Tridgell
4fee26437b
MAVLink: make ACM build with MAVLink 1.0 possible in arduino GUI
13 years ago
Adam M Rivera
b2a7227ae7
ArduCopter/Navigation: Updated code to reference the new g.retro_loiter param instead of the compile define.
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
c993049c48
ArduCopter - combined CH6_DAMP and CH6_STABILIZE_KD tuning parameters to avoid confusion
13 years ago
rmackay9
3e95ade004
ArduCopter - changed optflow object to be APM2 version if necessary
13 years ago
rmackay9
f0a9209935
ArduCopter - regressed version back to 2.5.4
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
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
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
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
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
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
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
54a0709759
ArduCopter - add includes for new AP_Motors classes.
...
Remove global motor_filtered and motor_out arrays.
Removed all global heli variables.
replace "motor_armed" with "motors.armed()"
removed output to rc_4 for tri because this is now handled by AP_MotorsTri class
13 years ago
Andrew Tridgell
c0a54762c6
MAVLink: port the new adaptive flow control to ArduCopter
...
This allows for arbitrary stream rates, and supports flow control if
you are using a 3DR radio
13 years ago
rmackay9
75d7308fb4
ArduCopter - CH6 tuning - changed Roll/Pitch Rate D tuning to use the user supplied tuning range instead of the range / 100.
...
also changed heli_ext_gyro_gain to make it use the tuning range directly.
13 years ago
Andrew Tridgell
0bc604f030
ACM: removed FORCE_AUTOMATIC_DECLINATION_UPDATE
...
we now have the EEPROM option COMPASS_AUTODEC instead
13 years ago
Adam M Rivera
51b70e4d36
ArduCopter: Changed implementation of configuration value for automatic declination. There is now a FORCE_AUTOMATIC_DECLINATION_UPDATE that when enabled will update the declination on every GPS 3D fix regardless of whether or not the user saved a value to the EEPROM. By default the declination will only be set by the automatic declination routine if the user has not saved a declination to the EEPROM.
13 years ago
rmackay9
0efb0e5b4d
ArduCopter - added CH6_STABILIZE_KD tuning value
13 years ago
rmackay9
599cea21bb
Added multiple new tuning parameters to the inflight channel 6 tuning feature:
...
#define CH6_YAW_KI 24
#define CH6_ACRO_KP 25
#define CH6_YAW_RATE_KD 26
#define CH6_LOITER_KI 27
#define CH6_LOITER_RATE_KI 28
13 years ago
Andrew Tridgell
e956e21e7d
ACM: enable the new compass offset nulling in ACM
13 years ago
rmackay9
67cf7b9eed
ArduCopter - updated firmware version to 2.5.3
13 years ago
rmackay9
63b96c0153
ArduCopter - altitude hold - ensure throttle_avg is initialised from g.throttle_cruise parameter
13 years ago
rmackay9
89576a281a
ArduCopter - updated to firmware version to 2.5.2 to avoid confusion with post 2.5.1 versions posted to downloads area
13 years ago
rmackay9
1dd554c333
ArduCopter - updated version to 2.5.1
13 years ago
Andrew Tridgell
547b4ed55b
AHRS: adapt ArduCopter for new AHRS framework
13 years ago
Jason Short
c5344a2a85
ACM: Arducopter.pde - Added a constraint to the NO_NAV mode to be similar to the Loiter and rate nav modes.
13 years ago
rmackay9
9841cb0335
ArduCopter - small change to ensure both roll and pitch commands are zero before switching out of loiter_override (loiter override becomes true when roll+pitch command is greater than 5 degrees and switches back to false when both become zero)
...
- remove incorrect comments about when loiter target position is reset.
13 years ago
Jason Short
48a0c9a818
ACM: Small fix to nav_throttle to prevent too fast of a landing.
13 years ago
Jason Short
1c0b28c956
Fixed Scaling bug in Sonar mixing
13 years ago
analoguedevices
86eff20d5d
Rev'ed version number to 2.5. Added more credits
13 years ago
Jason Short
6f8b97bf6a
ACM: Added constraints for invalid climb rates. Robert Lefebvre had a bad sonar and very invalid rates crept into the system.
13 years ago
Jason Short
4315c06f34
Lowering the D filter for less latency and less oscillation.
13 years ago
Jason Short
7953808d14
ACM: Larger filter for Loiter D
13 years ago
Jason Short
0ab6b6e592
ACM: Rate_d filter for PID loop of Loiter.
13 years ago
Jason Short
77fe7de55d
ACM: The I term in update_nav_wp with the no_nav condition was pulling from the wrong PID loop and was essentially 0 all the time.
13 years ago
Andrew Tridgell
2a03a0584f
AP_Declination: disable library when AUTOMATIC_DECLINATION is not ENABLED
...
unfortunately this library was causing avrdude to fail to load the hex
to my APM2. Until we work out why, it's disabled.
13 years ago
Adam M Rivera
d3667faef4
AP_Declination: Added call to compass.set_initial_location if the compass is enabled when the 3D fix is obtained.
...
Signed-off-by: Andrew Tridgell <tridge@samba.org>
13 years ago
Jason Short
62c2aa4924
ACM: Added Loiter D tuning
13 years ago
Jason Short
0671bb9168
ACM: Firmware rev
13 years ago
Jason Short
29d6085bab
added Force_new_altitude call for alt hold
13 years ago
Jason Short
4ba600c0c5
upped throttle manual boost to 225
13 years ago
Andrew Tridgell
ef771fecdc
ACM: removed a lot of the special case code for quaternions
13 years ago
Andrew Tridgell
69c29d35ce
ACM: change DCM loop to 100Hz
...
On my APM2 quad this seems to give better results
13 years ago
Andrew Tridgell
7e4c8592ff
ACM: make it possible to build ArduCopter with quaternions
13 years ago
Andrew Tridgell
9bff4e2c4c
ACM: only call the fast loop if the imu has new data
...
this prevents us spinning waiting for the sensors to gather some data
13 years ago