Andrew Tridgell
9feb46c834
Copter: use new accel cal interact over MAVLink
12 years ago
Andrew Tridgell
b6e3e59bc3
Copter: simplify setHIL for baro
12 years ago
Andrew Tridgell
db57c8d7c5
Copter: removed the deprecated HIL sensors interface
...
must use the new HIL_STATE message now
12 years ago
Andrew Tridgell
172d9724df
Copter: use new HIL compass API
12 years ago
Andrew Tridgell
25c576cad7
Copter: replaced constrain() with constrain_float()
12 years ago
Randy Mackay
bab9fa25e5
Copter: add GCS failsafe
12 years ago
Randy Mackay
58d1da2d80
Copter: integrate AC_Fence in place of limits
...
Lesser functionality than limits but saves more than 150 bytes and it
works
12 years ago
Andrew Tridgell
a0708460a4
Copter: convert to new logging system
12 years ago
Andrew Tridgell
67484a2ea1
Copter: make copter code compatible with the new logging system
...
not fully converted yet
12 years ago
Randy Mackay
d2bd818b2d
Copter: bug fix for auto_armed logic
...
Zero throttle when switching into an auto flight mode would cause the
motors to stop.
12 years ago
Randy Mackay
1ee825ee9a
Copter: move alt and wp checking to AC_WPNAV
...
RTL fix so that if it starts rtl-ing from above 80m it returns home
while descending instead of descending at initial position.
add get and set_target_alt_for_reporting
12 years ago
Randy Mackay
58ed8cd544
Copter: replace set_next_WP with direct call to wp_nav
12 years ago
Randy Mackay
1dcd46bffc
Copter: reduce compiler warnings
12 years ago
Michael Oborne
541fa13291
cleanup comments
12 years ago
Michael Oborne
e80f2c094e
HIL fix location, alt, mag from hil state message
12 years ago
Andrew Tridgell
b280857025
Copter: use common angle wrap code
12 years ago
Randy Mackay
f7d977fe37
Copter: add support for GPS fix type 2D
12 years ago
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
12 years ago
Andrew Tridgell
ce8313e8fb
Copter: only allow CLI within 20s of startup and when motors not armed
12 years ago
Randy Mackay
dcf21eee8f
Copter: only allow entering the CLI within 30 seconds of start-up
12 years ago
Randy Mackay
a17421da27
Copter: scale HIL accels consistently with Plane code
12 years ago
Randy Mackay
b4b9d80c2f
Copter: bug fix to accept HIL accel values correctly
12 years ago
Andrew Tridgell
952c56e990
Copter: fixed barometer init in HIL sensors mode
12 years ago
Andrew Tridgell
ac06b5e62d
Copter: remove unused function
12 years ago
Randy Mackay
597a4b912a
Copter: fix to allow building HIL_MODE_SENSORS
12 years ago
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
12 years ago
Randy Mackay
f9539384a1
Copter: rename failsafe to failsafe_radio
...
Makes way for separation of failsafes for throttle, gps and gcs
12 years ago
Randy Mackay
cb84ec9d9b
Copter: add current based compass compensation
12 years ago
Randy Mackay
6601bd37cf
Copter: integrate automatic roll and pitch trims
12 years ago
Michael Oborne
61e5b09f28
Send FS state to gcs for AC
12 years ago
Pat Hickey
d418197898
ArduCopter: fixed memory unsafe member access in GCS_MAVLINK
...
* Smokey, this is not 'Nam. this is bowling. there are rules
12 years ago
Andrew Tridgell
47cc247046
Copter: limit number of bytes read per GCS check
12 years ago
Andrew Tridgell
ae5f46abc9
Copter: fixed mavlink fetch of 16 character parameter
12 years ago
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.
12 years ago
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
12 years ago
Andrew Tridgell
dcb181d2d8
Copter: use new AP_Scheduler library
12 years ago
Andrew Tridgell
a237b6cc7b
Copter: update for new AP_Param API
12 years ago
Andrew Tridgell
860f4b2605
Copter: merge the latest 2.9 changes into master
12 years ago
Andrew Tridgell
647b3b09b6
Copter: ensure we process deferred mavlink messages
12 years ago
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.
12 years ago
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
12 years ago
rmackay9
861a66e26e
ArduCopter: remove @brief from GCS_MAVLINK class's comments because they mess up the mission planner's parsing of parameter descriptions
12 years ago
rmackay9
4ef7e7b1c6
ArduCopter: add parameter descriptions for GCS_Mavlink objects
12 years ago
Andrew Tridgell
94e3322e24
Copter: fixed build on px4
12 years ago
Andrew Tridgell
ead38f917f
Copter: use GRAVITY_MSS
12 years ago
rmackay9
68b62abd38
ArduCopter with the new Camera and Relay classes for APM1 and APM2.
...
All changes by Sandro Benigno
12 years ago
rmackay9
e77b54c7dc
ArduCopter: bug fix to GUIDED mode. Now checks that desired altitude was reached before deciding the waypoint is complete.
12 years ago
rmackay9
331a73c4ac
ArduCopter: remove duplicate (?) send of MSG_EXTENDED_STATUS1
12 years ago
rmackay9
6baddf4aee
ArduCopter: remove unused variable last_5hz
12 years ago
rmackay9
1f5fdcdaa8
ArduCopter: remove unnecessary "Initialising APM message..."
12 years ago