Commit Graph

3157 Commits

Author SHA1 Message Date
Robert Lefebvre 5eb206e6bb Copter: Add 'handle' to allow #define updating of AC_PID filter rate for Throttle Accel. 2014-05-29 17:39:16 +09:00
Robert Lefebvre df1de4260d Copter: Set Rate PID D-term filter rates on initialization. 2014-05-29 17:39:12 +09:00
Robert Lefebvre 5ee87f7561 Copter: Change TradHeli to use new AC_HELI_PID class. 2014-05-29 17:39:04 +09:00
Randy Mackay 6496872885 Copter: release notes for AC3.1.5 2014-05-28 11:23:58 +09:00
Andrew Tridgell 1dbbdde8ef Copter: use new GCS_Common.cpp functions 2014-05-28 09:35:57 +10:00
Randy Mackay 0b5ff80b3e Copter: remove unused pos vector functions
removed pv_latlon_to_vector, pv_get_lat, pv_get_lon.
it would probably be best if these were moved into the Math library
2014-05-27 16:30:32 +09:00
Randy Mackay d4a892c650 Copter: AC3.2-rc2 release notes and version 2014-05-27 14:44:15 +09:00
Randy Mackay 20719e23fd Copter: enable PARACHUTE and RALLY for all but APM 2014-05-27 14:43:33 +09:00
Randy Mackay af10a6817c Copter: remove command_description.txt
Description in this file were out of date or incomplete and it is better
for people to refer to the MAVLink documentation or the
/libraries/GCS_MAVLink/message_definitions/common.xml and
ardupilotmega.xml files
2014-05-27 10:58:42 +09:00
Andrew Tridgell a55c511f63 Copter: updates for new GCS_MAVLink API 2014-05-21 12:45:25 +10:00
Andrew Tridgell cdcaad3079 Copter: update baud rate parameter descriptions 2014-05-21 12:45:25 +10:00
Andrew Tridgell cc6fba4cad Copter: change baudrates parameters to 16 bit 2014-05-21 12:45:25 +10:00
Randy Mackay d5a0ca4f3c Copter: integrate init_loiter_target name change 2014-05-19 12:27:29 +09:00
Randy Mackay 63135a044f Copter: remove setting Z-axis target in Hybrid
This workaround is no longer required because AC_WPNav's
set_loiter_target call no longer sets the position controller's z-axis
target
2014-05-19 12:27:23 +09:00
Arthur Benemann e1b7e53c04 Copter: only acceept Guided waypoints in Guided mode
Fix #1068. When receiving guided waypoints do not change to GUIDED mode. This serves as a safety precaution for GCS, since they must switch to guided mode before sending the waypoints.
2014-05-17 12:02:53 +09:00
Randy Mackay 481a55867e Copter: only send sonar distance to GCS when sonar enabled 2014-05-16 14:46:56 +09:00
Ben Nizette 8c7b4feac1 Copter: send sonar distance to GCS via MAVLink
At the moment, the copter sonar set up does not have access to the
raw sonar readings so this code sets the voltage field to zero.
2014-05-16 14:46:11 +09:00
Andrew Tridgell 836b365bc8 Copter: use setup_uart() 2014-05-16 11:45:11 +10:00
Andrew Tridgell 427a638296 Copter: added reporting of AHRS health 2014-05-15 21:14:21 +10:00
Randy Mackay 9f81e286d1 Copter: add Pixhawk pin to RSSI_PIN's @Value
Also prepend APM2 to existing definitions
2014-05-15 17:13:43 +09:00
Randy Mackay f7a9ee24ef Copter: minor comment update 2014-05-15 16:21:35 +09:00
Randy Mackay 715e9c0474 Copter: reset mission when disarming 2014-05-15 16:21:32 +09:00
Randy Mackay 7d4c74c28e Copter: when leaving AUTO only stop mission if running
This resolves an issue in which the mission would not automatically
start from the beginning if it had previously been run to completion
2014-05-15 16:21:30 +09:00
Randy Mackay a38e00c048 Copter: remove unused HIGH, LOW definitions
Minor commit to kick off the auto build so AC3.2-rc1 will go out
2014-05-09 16:35:21 +09:00
Randy Mackay 3f329d0857 Copter: version to AC3.2-rc1 2014-05-09 13:48:47 +09:00
Randy Mackay e75d6a2da6 Copter: remove meaningless check from motor_test 2014-05-09 13:48:44 +09:00
Randy Mackay 0c7a3f1ec5 Copter: remove unused Log_Write_GPS function 2014-05-09 13:48:41 +09:00
Randy Mackay b4dcad725c Copter: remove unused servo_write function 2014-05-09 13:48:38 +09:00
Randy Mackay 1e8b99ad17 Copter: update release notes for AC3.2-rc1 2014-05-09 13:48:35 +09:00
Andrew Chapman 3f0a52cb53 Copter: ch7/8 switch for auto pause/continue
- added new mode for CH7/CH8 (#24, auto mission reset)
- changed mission.start() to mission.start_or_resume() in auto_init()
2014-05-08 23:09:42 +09:00
Andrew Chapman 8640e11728 Copter: bug fix rally point landing target
was drifting toward home by some distance as (0,0,0) was hard-coded in
control_rtl.pde. Fixed, tested in SITL
2014-05-08 23:09:40 +09:00
Randy Mackay 197d83e32a Copter: bug fix to sport roll pitch control 2014-05-08 16:16:02 +09:00
Randy Mackay 0af9d502d9 Copter: set pos controller speeds before circle init
This ensures stopping point is calculated correctly
2014-05-08 16:15:59 +09:00
Randy Mackay 3cc5b9446f Copter: AUTO and Guided call wp_and_spline_init 2014-05-08 16:15:55 +09:00
Randy Mackay 11918869a5 Copter: RTL calls wp_and_spline_init 2014-05-08 16:15:52 +09:00
Randy Mackay ff1a58e078 Copter: increase LOITER_RATE_IMAX to 1000
This allows us to load up the I term with the vehicle's current
acceleration during mode transitions

pair programmed with Randy
2014-05-08 16:15:34 +09:00
Randy Mackay fb2be07b44 Copter: update AC_WPNav instantiation 2014-05-08 16:15:29 +09:00
Randy Mackay 10d7ab5840 Copter: update release notes for AC3.1.4 2014-05-08 11:58:37 +09:00
Randy Mackay afb9c0a5c7 Copter: update release notes for AC3.1.4-rc1 2014-05-02 14:23:13 +09:00
Randy Mackay 0ad3c1e15e Copter: add EKF to Ch7/Ch8 Opt parameter description 2014-05-02 10:02:23 +09:00
Randy Mackay d857427444 Copter: disable RALLY points by default
This saves 2k of flash which allows the code to fix on the APM1/2
2014-04-30 21:46:21 +09:00
Randy Mackay a3036fc443 Copter: init pos_control z-axis after setting speed and accel 2014-04-30 21:46:17 +09:00
Randy Mackay a4c675c23e Copter: add PILOT_ACCEL_Z parameter
Allows configurable z-axis acceleration when pilot is controlling
altitude
2014-04-30 21:46:13 +09:00
Randy Mackay 7d7a2aced7 Copter: init vert speed and accel for each flight mode
This resolves issue #1021 in which LAND mode could descend at the
PILOT_VELZ rate instead of the WPNAV_SPEED_DN

Pilot defined acceleration is used for AltHold, AutoTune , Circle,
Hybrid, Loiter, OF_Loiter and Sport flight modes
Waypoint Nav (ie. AutoPilot) acceleration is used for Auto, Land, RTL
2014-04-30 21:46:10 +09:00
Randy Mackay 466e9db1f9 Copter: integrate AC_WPNav get_speed_xy name change 2014-04-30 21:46:07 +09:00
Randy Mackay 5b3438850d Copter: fix typo in Log_Write_Baro
Log_Write_Baro should be an empty function when logging is disabled
Fix contributed by Jason Short
2014-04-30 08:50:51 +09:00
Craig Elder 241557e5e0 Copter: Corrected typo in RC_FEEL_RP parameter description 2014-04-28 23:56:49 -07:00
Randy Mackay 416e9457ce Copter: remove cli motor test 2014-04-29 11:41:17 +09:00
Randy Mackay ae9477600c Copter: add mavlink motor_test
Based on original work by Nils Hogberg
2014-04-29 11:31:45 +09:00
Craig Elder 00033bd302 Copter: Update RC_FEEL_RP Description 2014-04-28 17:44:09 -07:00