rmackay9
af40201b14
ArduCopter: incorporate new version of inertial navigation
...
Moved several navigation functions from ArduCopter.pde to navigation.pde
2012-11-07 19:21:31 +09:00
rmackay9
0868917ff4
ArduCopter: move to use new INS library instead of IMU library
2012-11-07 19:21:09 +09:00
Jason Short
0a68468610
ACM: Added simple mode bearing logging for bug hunting
2012-10-28 12:12:38 -07:00
Jason Short
9c40c11e7b
ACM: Formatting
2012-10-27 14:13:46 -07:00
rmackay9
2e6625b82c
ArduCopter: change TOY_M throttle mode to THROTTLE_HOLD
2012-10-26 10:56:06 +09:00
rmackay9
7fb58fce87
ArduCopter: replace Serial.print with Serial.print_P to save memory.
...
Includes replacing flight_mode_strings with print_flight_mode function.
SendDebug macro replaced with direct Serial.print_P calls.
2012-10-22 16:45:24 +09:00
Jason Short
96f0a32cd3
ACM Acceleration management
...
removed unused waypoint_radius var
removed slow_wp
updated speed management system to maintain a constant acceleration or deceleration of 1m/s
changed version to 2.8.1a
2012-10-21 14:32:39 -07:00
Robert Lefebvre
5f8f53ec0a
Changed RLT Yaw Mode for TradHeli. Also a few comment cleanups.
2012-10-18 16:39:05 -04:00
rmackay9
e0727e6d31
ArduCopter: bug fix for telemetry not working on APM1.
...
SPI3 is also UART3. On APM1 we use UART3 for telemetry and don't need SPI3.
2012-10-18 19:15:21 +09:00
rmackay9
254fff6acd
ArduCopter: fixed acro mode
...
Changes included:
Removing earth frame roll_rate_trim, pitch_rate_trim and yaw_rate_trim.
Switch ACRO mode to use YAW_ACRO instead of YAW_HOLD.
Changed YAW_ACRO to use stabilize yaw when axis_enabled.
Reset ACRO roll, pitch and yaw targets to current attitude when first entering ACRO.
2012-10-14 17:47:46 +09:00
rmackay9
0050232ae2
ArduCopter: failsafe added to shutdown motors if mainloop fails
2012-10-09 12:30:17 +09:00
rmackay9
fc4f4d76c9
ArduCopter: allow DMP to run in parallel with DCM
...
Parallel DMP can be enabled by #define SECONDARY_DMP_ENABLED in APM_Config.h
New DMP dataflash log type added to allow easy comparison with DCM
2012-09-30 00:25:40 +09:00
rmackay9
1cd4b08fac
AP_AHRS: added scheduler parameter to init
...
Required by the AP_AHRS_MPU6000 class which needs to disable timed processes that could interfere with it's communication with the mpu6000
2012-09-29 13:51:21 +09:00
rmackay9
090a672636
ArduCopter: optical flow initialisation changes now that optical flow library automatically works on APM1, APM2 and APM2.5
2012-09-24 18:39:33 +09:00
Andrew Tridgell
14d19ac33d
ACM: updates for new GPS detection
...
a GPS can now be attached after startup
2012-09-17 14:45:47 +10:00
rmackay9
9965dd8b1a
HIL: changes to fix HIL for ArduCopter after recent timing changes.
...
Changes include using AP_PeriodicProcess and calling imu.init even in HIL mode
2012-09-15 18:42:56 +09:00
rmackay9
94d4305cf3
ArduCopter: print firmware version of code instead of zero.
2012-09-13 21:49:11 +09:00
rmackay9
6f236f0c3b
ArduCopter: increase SPI bus speed to 2Mhz after IMU initialisation has completed (MPU6000 accepts maximum of 1Mhz for some registers but up to 20Mhz for main sensor and interrupt registers)
2012-08-28 17:29:48 +09:00
uncrustify
06031868d8
uncrustify ArduCopter/system.pde
2012-08-21 19:19:50 -07:00
Andrew Tridgell
878bcab4cf
ACM: use ahrs.set_fast_gains() on arm/disarm
2012-08-21 15:38:31 +10:00
Jason Short
4f14baf5e5
ACM: Toy mode updates
2012-08-11 22:37:26 -07:00
Jason Short
3b2a1ad9e8
ACM system.pde - toy mode update, cleanup of throttle cruise code
2012-08-09 16:59:44 -07:00
rmackay9
0073f65ac6
ArduCopter: added ahrs.ini() to system.pde to allow offsets to be pushed into MPU6000's DMP
2012-07-28 14:21:45 +09:00
Jason Short
79cdef1a48
arducopter
...
alt hold state reset
2012-07-18 22:57:11 -07:00
Jason Short
0ea3424779
Arducopter: INS
...
removed zero accells call
2012-07-18 22:57:10 -07:00
Andreas M. Antonopoulos
31fd74d94c
AP_Limits library, provides modular "limits" such as altitude and geo-fencing.
2012-07-14 19:26:17 -07:00
Jason Short
225c63c06a
Arducopter: Added note
2012-07-10 21:53:37 -07:00
Amilcar Lucas
8e14ebbc10
Merge the changes from APM_Camera branch into ArduCopter
...
Conflicts:
ArduCopter/Camera.pde
ArduCopter/Parameters.pde
2012-07-11 00:39:13 +02:00
Jason Short
bea1ab8810
System.pde - RTL
...
removed Approach mode, fixed RTL to loiter until desired altitude is reached
2012-07-01 13:40:12 -07:00
Andrew Tridgell
e791cad9ef
AnalogSource: convert analogRead() calls to the new API
...
this should give us much better analog values, plus save a bunch of
CPU time
2012-07-01 15:01:05 +10:00
Jason Short
59181eab3d
System.pde: Toy mode details for set_mode()
2012-06-29 21:20:28 -07:00
Jason Short
4a85c40f03
Added Toy Mode control
2012-06-25 23:08:25 -07:00
Jason Short
a0978e06e5
Adjustments to the Inertial_nav
...
lowered Rate_I and Rate_P to be less jumpy. raised throttle_p
added a clear to rate when entering loiter
moved the raw reporting
2012-06-20 08:47:47 -07:00
Andrew Tridgell
8f1121c980
GPS: Use appropiate GPS_ENGINE settings in APM, ACM and rover
2012-06-10 16:36:18 +10:00
Andrew Tridgell
bfb2c1ee87
GPS: open the GPS serial port with a 256 byte buffer
...
the UBLOX needs more than 128 bytes for reliable parsing
2012-06-08 16:42:03 +10:00
Jason Short
9cadd8c1db
Bug fix: When adjusting altitude, RTL then land will fail unless this var is reset to false.
2012-06-03 22:25:27 -07:00
Jason Short
93d7712c9a
Removed unused variable
2012-05-29 12:43:23 -07:00
Jason Short
4ed48510dc
reversed circle_WP calculation so the next_WP refers to the destination around the circle and circle_WP refers to the center. The intent is to make it easier to see via ground station.
2012-05-27 09:21:20 -07:00
Robert Lefebvre
a9349a6e87
More CopterLEDS changes.
...
Merged CopterLEDS and Piezo functions to eliminate pin conflict on APM2. Created new Parameter bit to turn piezo function on and off from MP. Moved GPS and Aux pin assignments to allow commonality between APM1 and 2. Set LED_Mode parameter default to 9 in order to make CopterLEDS completely backwards compatible with old Motor LEDS and Piezo code. Legacy users should see no difference.
2012-05-15 12:00:21 -04:00
Adam M Rivera
b611b6a1e8
system.pde: Updated param name to loiter_timer.
2012-04-16 10:12:30 -05:00
Adam M Rivera
70d67b0791
System: Added handler for the new APPROACH flight mode which will initiate an approach to a target alt as defined by the user.
2012-04-15 16:55:34 -05:00
rmackay9
a429c78d20
ArduCopter - LEDS - set new output pins to OUTPUT to support COPTER_LEDS.
...
Code by Robert Lefebvre
2012-04-12 22:55:40 +09:00
rmackay9
2fc3b740c4
ArduCopter - system.pde - changed references to "motor_armed" to "motors.armed()" as part of the move to use AP_Motors library.
2012-04-04 23:03:21 +09:00
Andrew Tridgell
36e741b078
MAVLink: raise the serial transmit buffer size to 256 bytes
...
the 128 byte serial transmit buffer was causing significant problems
with queueing of mavlink messages. With 256 bytes we can fit a lot
more messages out in each pass of the code, which makes telemetry more
efficient
As we discussed on the dev call, we now have enough free ram for this
to be worthwhile
2012-03-30 17:46:20 +11:00
Andrew Tridgell
690ad58a64
AHRS: adapt ArduCopter for new AHRS framework
2012-03-19 17:29:02 +11:00
Jason Short
e42c64f94e
ACM: system.pde - removed reset_nav_I() to consolidate the wind control reset.
2012-03-18 22:31:21 -07:00
Jason Short
a9e7194e3d
ACM: disabled auto_calibration until more testing can be done
2012-03-10 12:44:49 -08:00
Jason Short
3c1f4b1ad7
ACM: changed alt hold initialization of altitude to be immediate
2012-03-10 12:44:18 -08:00
Andrew Tridgell
a874f920d5
ACM: removed the ADC filtering code
2012-03-10 10:34:32 +11:00
Andrew Tridgell
e870e7bd82
ACM: removed the DCM tuning overrides
...
not needed now that DCM scales with deltat
2012-03-10 10:34:31 +11:00