Peter Barker
776d691c79
Copter: use DataFlash should_log to determine raw logging
8 years ago
Peter Barker
cfbde937c6
Copter: move should_log check of log bitmask into DataFlash
8 years ago
Peter Barker
8b57405143
Copter: handle knowledge of in_log_download in DataFlash
8 years ago
Andrew Tridgell
ba21c1e67d
Copter: set RC_SPEED default to 16kHz for brushed
8 years ago
Peter Barker
4163455d97
Copter: stop using in_mavlink_delay as a proxy for disabling logging
8 years ago
Peter Barker
cb41f09d2e
Copter: call dataflash should_log method
8 years ago
Peter Barker
3ee56f5475
Copter: StartUnstartedLogging replaces logging_started/start_logging
8 years ago
Peter Barker
43a16b9327
Copter: simplify should_log (NFC)
8 years ago
Randy Mackay
ec491d3c6b
Copter: init_compass get g.compass_enabled check
...
No functional change
8 years ago
murata
1a76c28655
Copter: add dodeca-hexa
8 years ago
Randy Mackay
70ed572476
Copter: minor formatting fix
...
This is mostly just to trigger compilation of the latest beta
8 years ago
Randy Mackay
91d4b4777b
Copter: respond to param list request after motor init
8 years ago
karthik.desai
d7976078a5
Copter: fix typo in comments
8 years ago
Peter Barker
069e0d1973
Copter: move init of DataFlash references into vehicle init
...
It is possible to start a log before the existing codepath is crossed.
8 years ago
Andrew Tridgell
10b89db498
Copter: call BoardConfig.init_safety() at end of startup
...
this fixes a bug where motors can start on soft reboot
8 years ago
Randy Mackay
713c08672f
Copter: integrate AP_VisualOdom
8 years ago
Randy Mackay
1bfbf0d43f
Copter: enable motors at end of initialisation
8 years ago
Andrew Tridgell
6bb5c16fb8
Copter: allow for HELI_DUAL configurations
8 years ago
Andrew Tridgell
54b852ebfe
Copter: fixed var table loading for heli single parms
...
we were not loading parameters such as the swash angle
8 years ago
Andrew Tridgell
f1917dddd0
Copter: changes for AC_WPNav
8 years ago
Andrew Tridgell
92fdef5b97
Copter: changed for AP_AHRS_View on AC_AttitudeControl
8 years ago
Andrew Tridgell
aad412eaef
Copter: support tailsitter frame class
8 years ago
Andrew Tridgell
3cb88d0a23
Copter: added tailsitter frame support
8 years ago
Andrew Tridgell
6b6d03eb8d
Copter: fixed upgrade of parameters
...
now that we dynamically allocate many key objects in copter we need to
move the parameter upgrade code to after when the objects are allocated
8 years ago
Andrew Tridgell
d8972d5344
Copter: setup frame type parameter flags
8 years ago
Peter Barker
029aeeb4fd
Copter: support for a GCS singleton
8 years ago
Peter Barker
f49f153da0
Copter: rename gcs[] to gcs_chan[]
...
Wish to use gcs() to return the gcs singleton
8 years ago
murata
8f926bd177
Copter: Unify from print or println to printf.
8 years ago
Randy Mackay
26919b4ab6
Copter: send flight mode string to Notify
8 years ago
Andrew Tridgell
332820aa88
Copter: fixed load of var_info for attitude_control and motors
...
we need to pass the var_info for the specific class we are using, not
the parent class.
Fixes issue #5585
thanks to Julien for noticing!
8 years ago
Andrew Tridgell
1297a7dedb
Copter: convert the rest of motors class for tricopter
8 years ago
Andrew Tridgell
bf889e01e1
Copter: load objects from storage after allocation
8 years ago
Andrew Tridgell
3fe1a69a32
Copter: always allocate a motors backend
...
this allows autotest to run, and gives a less confusing error to users
when no FRAME_CLASS error is selected
8 years ago
Andrew Tridgell
e85df47b06
Copter: fixed parameter handling for pointer objects
...
fixed loading of default files and use of POINTER flag on object
groups
8 years ago
Andrew Tridgell
0f6d0c5ba9
Copter: combined tri, single, coax and multicopter into a single build
...
this allows copter to be just 2 builds, one for heli, and one for
everything else
8 years ago
Randy Mackay
b1e494a209
Copter: return MAV_TYPE as quadcopter by default
...
This allows the GCSs to know that the firmware is for a multicopter
8 years ago
murata
e65887c393
Copter: Change sprintf method to secure snprintf method.
8 years ago
Randy Mackay
6b4acebd26
Copter: bigger buf when sending frame string to frsky telem
8 years ago
Peter Barker
a233024e05
Copter: fix compilation when fence andd proximity are disabled
...
This adds AC_AVOID_ENABLED; avoidance must be disabled if either
of fence or proximity are disabled.
Parameter definitions have been reordered to avoid compiler warnings;
this make sthe numbering non-linear
8 years ago
Randy Mackay
e31d6d051d
Copter: get_frame_mav_type switch fix
...
This returns generic as the mavtype and avoids warnings of unreachable code
Thanks to muramura for suggesting this
8 years ago
Randy Mackay
217757fdc8
Copter: default FRAME_CLASS
8 years ago
Randy Mackay
0ac00dbfd6
Copter: add FRAME_CLASS parameter
8 years ago
priseborough
3847975844
Copter: give the AHRS access to the range beacon sensor
8 years ago
Randy Mackay
21c7ea1df7
Copter: integrate AP_Beacon
8 years ago
Peter Barker
236b8ab6b7
Copter: make EPM a subclass of AP_Gripper_Backend
8 years ago
Peter Barker
920868145c
Copter: support for AP_Gripper
8 years ago
Peter Barker
df07cb525a
Copter: use AP_Stats to store statistics about vehicle
8 years ago
murata
965a6a5719
Copter: To nullptr from NULL.
8 years ago
Mathieu OTHACEHE
152edf7189
Global: remove mode line from headers
...
Using a global .dir-locals.el file is a better alternative than
reincluding the same emacs header in every file of the project.
8 years ago
Andrew Tridgell
c01a7718c1
Copter: fixed startup order of setting mavlink system ID
8 years ago