rmackay9
e629fe2eb0
ArduCopter: add set_throttle_mode to better control initialisation of variables
2012-12-06 10:31:04 +09:00
rmackay9
c1ce0ae752
ArduCopter: first merge of leonard's accel based altitude controller plus other changes from Randy
...
Changes include:
New low-level get_throttle_accel function takes target acceleration and compares vs earth-frame Z accelerometer values to produce output to motors.
Higher level throttle controllers modified to call new get_throttle_accel controller
Throttle_rate_stabilized controller added which maintains a desired climb/descent rate
Throttle_land controller added - descends using normal auto throttle controller to 10m then descends at 50cm/s
Multiple throttle modes added including landing mode
Land flight mode no longer needs GPS
Throttle cruise maintenance moved to update_throttle_cruise function
2012-12-06 10:30:49 +09:00
Andrew Tridgell
45e62add9f
Copter: update ArduCopter for new ins interface
2012-11-30 07:15:18 +11:00
Robert Lefebvre
4463150122
ACM: TradHeli
...
Bringing in Low Pass Filter for Rate Controllers
2012-11-26 21:51:23 -05:00
Robert Lefebvre
332b728ebf
ACM: TradHeli
...
Bringing in Low Pas Filter
Commented out because it does not build.
Needs updates to Low Pass Filter Lib
2012-11-26 21:21:12 -05:00
Andrew Tridgell
62edd146a3
Copter: added reboot in CLI and over MAVLink
...
useful for getting out of CLI
2012-11-24 18:20:37 +11:00
Andrew Tridgell
76e9adb8d4
ACM: make it possible to run CLI on radio port in ArduCopter
2012-11-21 21:41:34 +11:00
Michael Oborne
9ba3dd735b
remove cli planner mode - no longer used
2012-11-21 07:45:45 +08:00
rmackay9
38fdacd93b
ArduCopter: replaced digitalRead and digitalWrite with faster calls
...
improved performance logging to dataflash
2012-11-19 01:16:07 +09:00
rmackay9
eb25b917ad
ArduCopter: renamed system bitmap to ap_system to resolve desktop compile issues
2012-11-11 22:42:10 +09:00
Jason Short
3e905ec750
Ap state updates
2012-11-09 22:15:15 -08:00
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