rmackay9
f62c377062
ArduCopter: auto yaw changes to allow pilot override of yaw during missions
...
Added set_yaw_mode to better control of yaw controller changes and variable initialisation.
Replaced AUTO_YAW mode with separate yaw controllers YAW_LOOK_AT_NEXT_WP, YAW_LOOK_AT_LOCATION, YAW_LOOK_AT_HEADING.
Pilot manual override of yaw causes yaw to change to YAW_HOLD (i.e. manual yaw) until next waypoint is reached.
Added get_yaw_slew function to control how quickly autopilot turns copter
Changed YAW_LOOK_AHEAD to use GPS heading and moved to new get_look_ahead_yaw function in Attitude.pde
Renamed variables: target_bearing->wp_bearing, original_target_bearing->original_wp_bearing.
Removed auto_yaw_tracking and auto_yaw variables and update_auto_yaw function as they are no longer needed.
Simplified MAV_CMD_CONDITION_YAW handling (do_yaw). We lose ability to control direction of turn and ability to do long panorama shots but it now works between waypoints and save 20bytes.
2012-12-08 14:23:32 +09:00
rmackay9
9750c14325
ArduCopter: RTL clean-up and slightly improved landing sensor
...
Consolidated RTL state to be captured by rtl_state variable.
Combined update_RTL_Nav and verify_RTL functions which performed the same function but one was for missions, the other for the RTL flight mode.
Renamed some RTL parameters and global variables to have RTL at the front.
Landing detector now checks accel-throttle's I term and/or a very low throttle value
2012-12-06 10:31:52 +09:00
rmackay9
eb3ad15843
ArduCopter: allow INERTIAL_NAV to be enabled separately for horizontal and vertical position
2012-12-06 10:31:41 +09:00
Andrew Tridgell
76e9adb8d4
ACM: make it possible to run CLI on radio port in ArduCopter
2012-11-21 21:41:34 +11:00
Andrew Tridgell
b3ffea0ad2
ACM: fixed some memory cast warnings
2012-11-19 08:42:36 +11:00
Jason Short
3e905ec750
Ap state updates
2012-11-09 22:15:15 -08:00
Jason Short
81b1ebd011
ACM: Added max RTL altitude
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
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
rmackay9
12a1f3244b
ArduCopter: alt hold bug fix - removed reset next_WP in init_home
2012-09-23 01:00:06 +09:00
uncrustify
ccf6e80c14
uncrustify ArduCopter/commands.pde
2012-08-21 18:55:43 -07:00
Jason Short
5d64942f01
ACM: Switched to filtered_loc for distance calcs
2012-08-14 14:11:52 -07:00
Jason Short
ecedacbe7e
ACM: Added fast corner support
2012-08-09 16:59:43 -07:00
Andrew Tridgell
295a9ce39c
ACM: change to use get_bearing_cd() instead of get_bearing()
2012-08-08 12:12:30 +10:00
Jason Short
34cf0b4c24
Arducopter - commands: Add home logging
2012-07-13 11:51:40 -07:00
Andrew Tridgell
a643d2aa6b
ACM: use get_distance_cm() not get_distance()
...
this fixes a bug introduced in 28f2eb6b9
2012-07-11 07:50:07 +10:00
Jason Short
acfd263bab
commands.pde RTL Alt
...
fix to maintain current altitude of we are above our RTL alt for safety.
2012-07-09 13:13:32 -07:00
Jason Short
8c8f44e6f7
Arducopter: enabled RTL_altitude, renamed function to be more accurate
2012-07-01 13:40:11 -07:00
Jason Short
d448ea23e6
Commands.pde: increased bad WP distance check
2012-06-29 21:20:28 -07:00
Jason Short
efc74a87aa
commands.pde: fixed unit error for distance check
2012-06-25 23:06:28 -07:00
Jason Short
6377cf8549
better default for speed governer
2012-01-21 22:05:48 -08:00
Jason Short
e6ec80bb21
Clarified the Increment for WP total
2012-01-14 11:20:40 -08:00
Jason Short
414a2581a0
Made RTL always the current Altitude
2012-01-13 16:47:38 -08:00
Jason Short
f683371508
added set_new_altitude call
2012-01-10 23:42:27 -08:00
Jason Short
5b00928b15
added location error calc to get better data. Otherwise we'll be 1 GPS read off.
2012-01-10 23:42:26 -08:00
Jason Short
e5994c578a
removed unused vars
2012-01-04 09:28:37 -08:00
Jason Short
5de709ceea
removed unused functions
2012-01-04 09:28:36 -08:00
Jason Short
e08b550f44
Added a default Yaw tracking setting
...
Added Nav_Bearing
2011-12-30 23:48:04 -08:00
Jason Short
7820d96f4c
No longer blocking before initing home
2011-12-23 14:42:50 -08:00
Jason Short
4ff5d5016a
fix for navigation scaleLongUp
2011-12-11 09:53:44 -08:00
Jason Short
37f1a574fa
Set Nav_WP as home
2011-12-10 23:26:10 -08:00
Jason Short
e1ea71efff
made the crosstrack use the previous WP instead of the current loc to get a better line in AP.
2011-11-28 10:33:06 -08:00
Jason Short
fa80b7a895
removed typo
2011-11-20 00:22:52 -08:00
Jason Short
a2aa4e1e50
renamed set_cmd function
2011-11-20 00:22:52 -08:00
Jason Short
16eb5641c2
Working implementation of Jump Command
2011-11-16 21:28:56 -08:00
Jason Short
d0729a44b1
Mission Scripting re-write
2011-11-16 00:22:22 -08:00
Jason Short
081cd0a225
Better error and defaults checking
2011-11-13 22:54:18 -08:00
Jason Short
aefa05e3d9
error checking command saving
2011-11-13 13:41:23 -08:00
Jason Short
6283e1bf98
Work in progress for using 0 based counting
2011-11-12 21:39:24 -08:00
Jason Short
0cee7f0525
removed unused functions, log fix
2011-11-09 23:28:50 -08:00
Andrew Tridgell
e32171b185
call gcs_update() while waiting for GPS lock
...
this ensures we react to ground commands, and also allows HIL GPS to
work
2011-11-09 17:43:55 +11:00
Andrew Tridgell
87d5581046
ArduCopter: use specific sized data types in a lot of places
...
this will make the Desktop build more consistent with the real AVR
build, and also with a future ARM build
2011-11-08 11:05:36 +11:00
Jason Short
80c7e135d5
renamed some command variables to align with Arduplane
...
reworked the arming code and moved the DCM gains out.
updated climb_rate to include sonar data.
2011-11-04 21:41:51 -07:00
Andrew Tridgell
661b6c4508
merged the GCS updates from ArduPlane to ArduCopter
...
this removes all the non-MAVLink GCS options, and simplifies the HIL
and GCS code a lot. It also adds async sending of low priority GCS
text messages.
2011-10-11 20:53:43 +11:00
Jason Short
3be34ed31a
Implementing a limiter for the ramp up of speed to WPs.
2011-10-03 10:37:56 -07:00
Jason Short
790bd6f8c9
Altered CIRCLE mode to allow Loiter_N_Turns to work in AP mode.
2011-09-21 13:19:36 -07:00
Jason Short
5bf7898438
removed saving - not needed for copters
2011-09-18 16:28:53 -07:00
Jason Short
7e672a602b
Jump command was reported to have issues, updated to match APM branch.
2011-09-18 16:27:43 -07:00
Jason Short
ae81a758de
Removed Simple Mode
...
Added Simple option to mode switch positions
removed unused OptFlow code
added reset lat and lon error
removed unused init_auto
Fixed log formatting
Added simple mode bitmask
removed pitchmax
added CLI setup for enabling Simple mode to any switch position
2011-09-14 13:58:18 -07:00
Jason Short
4a2f58b013
Cleaned up guided mode
...
Reduced ADC filter to 3 from 6 to increase speed of filter.
2011-09-12 12:57:36 -07:00