Randy Mackay
f7d977fe37
Copter: add support for GPS fix type 2D
2013-03-27 11:41:47 +09:00
Andrew Tridgell
d22a7c64c9
Copter: only enter CLI is link is idle when 3 enters are hit
...
this will prevent binary contents of RADIO packets being interpreted
as CLI enter line-feeds
2013-03-21 21:56:02 +11:00
Andrew Tridgell
ce8313e8fb
Copter: only allow CLI within 20s of startup and when motors not armed
2013-03-21 17:34:11 +11:00
Randy Mackay
dcf21eee8f
Copter: only allow entering the CLI within 30 seconds of start-up
2013-03-21 11:54:04 +09:00
Randy Mackay
a17421da27
Copter: scale HIL accels consistently with Plane code
2013-03-19 15:07:15 +09:00
Randy Mackay
b4b9d80c2f
Copter: bug fix to accept HIL accel values correctly
2013-03-19 11:33:58 +09:00
Andrew Tridgell
952c56e990
Copter: fixed barometer init in HIL sensors mode
2013-03-18 16:20:25 +11:00
Andrew Tridgell
ac06b5e62d
Copter: remove unused function
2013-03-18 16:20:25 +11:00
Randy Mackay
597a4b912a
Copter: fix to allow building HIL_MODE_SENSORS
2013-03-18 13:41:52 +09:00
Randy Mackay
61e29173e3
Copter: remove unused crosstrack variables and parameters
...
Cross track is still calculated internally to the wpnav controller so we
should move this to a library and still report it to the ground station
2013-03-17 16:46:31 +09:00
Randy Mackay
f9539384a1
Copter: rename failsafe to failsafe_radio
...
Makes way for separation of failsafes for throttle, gps and gcs
2013-03-16 17:14:21 +09:00
Randy Mackay
cb84ec9d9b
Copter: add current based compass compensation
2013-03-03 23:02:36 +09:00
Randy Mackay
6601bd37cf
Copter: integrate automatic roll and pitch trims
2013-02-19 12:51:24 +09:00
Michael Oborne
61e5b09f28
Send FS state to gcs for AC
2013-02-09 10:11:36 +08:00
Pat Hickey
d418197898
ArduCopter: fixed memory unsafe member access in GCS_MAVLINK
...
* Smokey, this is not 'Nam. this is bowling. there are rules
2013-02-02 22:43:56 -08:00
Andrew Tridgell
47cc247046
Copter: limit number of bytes read per GCS check
2013-01-23 09:34:54 +11:00
Andrew Tridgell
ae5f46abc9
Copter: fixed mavlink fetch of 16 character parameter
2013-01-21 16:52:01 +11:00
James Bielman
5631f865b2
Update floating point calculations to use floats instead of doubles.
...
- Allows use of hardware floating point on the Cortex-M4.
- Added "f" suffix to floating point literals.
- Call floating point versions of stdlib math functions.
2013-01-16 13:52:01 +11:00
Randy Mackay
177da0ca74
ArduCopter: fixed minor bug in logging of parameter changes to dataflash
...
It is questionable whether we should even bother writing these to the
dataflash as there is no way to recognise which parameter has been
affectded
2013-01-13 00:15:34 +09:00
Andrew Tridgell
dcb181d2d8
Copter: use new AP_Scheduler library
2013-01-12 12:02:57 +11:00
Andrew Tridgell
a237b6cc7b
Copter: update for new AP_Param API
2013-01-09 13:30:58 +11:00
Andrew Tridgell
860f4b2605
Copter: merge the latest 2.9 changes into master
2013-01-08 14:37:40 -08:00
Andrew Tridgell
647b3b09b6
Copter: ensure we process deferred mavlink messages
2013-01-07 11:07:39 +11:00
Andrew Tridgell
d952ccf968
Copter: added main_loop_ready() function
...
this tells us when the main loop is ready to run. MAVLink won't send a
message if the main loop could run.
2013-01-07 11:07:34 +11:00
Andrew Tridgell
b079a96eaf
Copter: removed GPS_STATUS message
...
this message is huge, and completely pointless now that we have
num_satellites in GPS_RAW_INT
2013-01-05 20:39:31 +11:00
rmackay9
861a66e26e
ArduCopter: remove @brief from GCS_MAVLINK class's comments because they mess up the mission planner's parsing of parameter descriptions
2013-01-03 00:34:10 +09:00
rmackay9
4ef7e7b1c6
ArduCopter: add parameter descriptions for GCS_Mavlink objects
2013-01-02 23:36:48 +09:00
Andrew Tridgell
94e3322e24
Copter: fixed build on px4
2013-01-02 22:09:02 +11:00
Andrew Tridgell
ead38f917f
Copter: use GRAVITY_MSS
2013-01-02 14:45:08 +11:00
rmackay9
68b62abd38
ArduCopter with the new Camera and Relay classes for APM1 and APM2.
...
All changes by Sandro Benigno
2013-01-02 09:55:37 +11:00
rmackay9
e77b54c7dc
ArduCopter: bug fix to GUIDED mode. Now checks that desired altitude was reached before deciding the waypoint is complete.
2013-01-02 09:24:31 +11:00
rmackay9
331a73c4ac
ArduCopter: remove duplicate (?) send of MSG_EXTENDED_STATUS1
2013-01-02 09:20:08 +11:00
rmackay9
6baddf4aee
ArduCopter: remove unused variable last_5hz
2013-01-02 09:20:08 +11:00
rmackay9
1f5fdcdaa8
ArduCopter: remove unnecessary "Initialising APM message..."
2013-01-02 09:20:08 +11:00
rmackay9
d926360e81
ArduCopter: move gcs updates to run only when there are 4ms of spare time before the next 100hz iteration starts
2013-01-02 09:14:31 +11:00
rmackay9
6da68c53a5
ArduCopter: bug fix so AP_Limits does not use up memory if it is disabled
2013-01-02 09:13:42 +11:00
rmackay9
0ab82f8c4e
ArduCopter: clear ahrs roll and pitch trims after an accel level command
2013-01-02 09:12:17 +11:00
Andrew Tridgell
9931009db2
Math: use pythagorous2() in some more places
2012-12-20 15:16:18 +11:00
Pat Hickey
1878290510
ArduCopter: fixes for AP_InertialSenor_UserInteract
2012-12-20 14:53:23 +11:00
Pat Hickey
2ad4fed8cd
Rover/Copter/Plane: change from vsnprintf to vsnprintf_P
2012-12-20 14:52:38 +11:00
Pat Hickey
54b98c0a7c
ArduPlane: use hal's vsnprintf
2012-12-20 14:52:37 +11:00
Andrew Tridgell
9e986801c9
Copter: fixed SITL for ArduCopter
2012-12-20 14:52:34 +11:00
Pat Hickey
7af03127f6
ArduCopter: more work
2012-12-20 14:52:28 +11:00
Pat Hickey
d9e0bbbbab
ArduCopter: first pass at AP_HAL porting
...
* changed all the byte types to uint8_t
* fixed up much of the serial stuff
2012-12-20 14:52:27 +11:00
rmackay9
9dd978576b
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
Michael Oborne
68aa5e4682
AC add ability to start new accel_scale via mavlink
2012-11-28 21:38:58 +08:00
Andrew Tridgell
2949d58b71
Copter: re-enable sending of GLOBAL_POSITION_INT message
...
this gives important raw GPS velocity information, plus relative and
absolute height
2012-11-28 11:26:19 +11:00
Andrew Tridgell
5818aaad42
Copter: fixed build error
...
thanks to Marco for pointing this out
2012-11-24 20:39:35 +11:00
Andrew Tridgell
f6ec932d63
Copter: added reboot in CLI and over MAVLink
...
useful for getting out of CLI
2012-11-24 18:20:37 +11:00
Andrew Tridgell
cd07d965a7
Copter: ported RSSI_PIN option from ArduPlane
...
this is useful for OSD users
2012-11-22 20:59:33 +11:00