Randy Mackay
4c9e118ceb
Copter: set_auto_yaw_look_at_heading takes bool for relative angle arg
...
No functional change
8 years ago
Peter Barker
358555446b
Copter: eliminate gcs_send_mission_item_reached wrapper
8 years ago
Peter Barker
0ac045febe
Copter: eliminate gcs_send_message wrapper
8 years ago
Peter Barker
f60389d4aa
Copter: use send_text method on the GCS singleton
8 years ago
Randy Mackay
814cadac68
Copter: consolidate set_home functions
...
added lock argument instead of having twice as many functions
no functional change
8 years ago
Randy Mackay
8f43b60247
Copter: set EKF origin from first do-set-home command
8 years ago
Michael Day
49e3ce8e75
Copter: Now recognizes DO_FENCE_ENABLE mission command.
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
Peter Barker
cf4be25d61
Copter: correct compilation when camera disabled
8 years ago
Peter Barker
8033e0c315
Copter: fix compilation when gripper disabled
8 years ago
Peter Barker
3551609a21
Copter: payload place requires 30% throttle reduction to release
8 years ago
Peter Barker
c191a44b27
Copter: payload place skips releasing states if gripper not valid
8 years ago
Randy Mackay
377a747065
Copter: minor format fix for fall through for payload-place
8 years ago
Randy Mackay
5f60961866
Copter: fix suppressing comment for case fall through
...
eclipse stops complaining if no-break is used in place of fall-through
8 years ago
Pierre Kancir
5900653b7f
Copter: Commands_logic fix comparing floating point with ==
8 years ago
Pierre Kancir
8d4bad0742
Copter: Commands_logic fix implicit cast to double
8 years ago
Peter Barker
4aab4f72b6
Copter: move to releasing payload if we are landed
8 years ago
Peter Barker
289aba4350
Copter: support for NAV_CMD_PLACE
8 years ago
Peter Barker
236b8ab6b7
Copter: make EPM a subclass of AP_Gripper_Backend
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
murata
57c61ace62
Copter: To remove a break after the return statement.
8 years ago
Pierre Kancir
6f79a8c37c
Arducopter: simply invalid cmd msg
8 years ago
Pierre Kancir
94e42e870e
ArduCopter: uniformize verify_command
...
Add better gcs message,
Add all handle message,
Reformate comments,
Fix do_roi comment
8 years ago
Randy Mackay
728e8f8f56
Copter: land_state uses enum
...
This resolves a Covarity warning related to initialisation (that was not really a problem) but it is better form anyway
9 years ago
Randy Mackay
ac4f36a992
Copter: remove LAND_REQUIRE_MIN_THROTTLE_TO_DISARM feature
...
This definition has been false for over a year and we have not heard of any users wanting to delay the disarming until the pilot's throttle goes to zero. Removing this feature removes a small bit of complexity from the code.
9 years ago
Randy Mackay
793e3da904
Copter: rename variables used for NAV_DELAY command
9 years ago
Niti Rohilla
55f66b7696
Copter: Add support for MAV_CMD_NAV_DELAY
9 years ago
Francisco Ferreira
8fb318a6e1
Copter: fix do_loiter when executed in same location
9 years ago
Francisco Ferreira
8ce8551669
Copter: fix detection of 0 values for lat, lng and alt in waypoints
9 years ago
Michael du Breuil
c97888f524
Copter: Remove support for CONDITION_CHANGE_ALT
9 years ago
Randy Mackay
d92154a44e
Copter: rename set_alt to set_alt_cm in commands_logic
9 years ago
Randy Mackay
267c1c3934
Copter: guided mode handles terrain alt
9 years ago
Randy Mackay
e8b14e59fc
Copter: spline mission commands handle terrain altitudes
9 years ago
Randy Mackay
81d244c9bd
Copter: do-circle accept terrain altitude
9 years ago
Randy Mackay
4892446c55
Copter: do-loiter accepts terrain altitudes
9 years ago
Randy Mackay
ffd86744ce
Copter: do-land accepts terrain
9 years ago
Randy Mackay
06ee6a7bd4
Copter: auto takeoff accepts abs and terrain alts
9 years ago
Randy Mackay
9449776e3c
Copter: straight line waypoints accept terrain
...
auto_wp_start calls AC_WPNav's new set_wp_destination which accepts a
Location class allow altitude to be set as above-terrain or even an
absolute altitude
9 years ago
Tom Pittenger
afb3e94fe6
Revert "Copter: clipped param cmd float to zero"
...
This reverts commit 9b6de75203
.
9 years ago
Tom Pittenger
9b6de75203
Copter: clipped param cmd float to zero
9 years ago
Randy Mackay
da443417f1
Copter: remove unnecessary abs
9 years ago
Jonathan Challinger
1356deab8b
Copter: add control_mode_reason
9 years ago
dgrat
5148e41c1a
AP_Math: Cleaned macro definitions
...
Moved Definitions into a separate header. Replaced PI with M_PI and
removed the M_PI_*_F macros.
9 years ago
Andrew Tridgell
5be21cc178
ArduCopter: log a picture if AP_Camera::control() returns true
9 years ago
Andrew Tridgell
4efb9bd785
ArduCopter: update for changed AP_Camera API
9 years ago
Dario Lindo Andres
90bf13279b
ArduCopter: Added precise camera trigger logging
...
Added update_trigger and check_digital_pin functions
added camera trigger precise time mark
detect camera feedback pin status
added support for simple digital pin
included support for digital pin. Already included in
APMrover2.
added support for TRIGGER MSG
corrected according to defines.h
9 years ago
Lucas De Marchi
83ff0476a8
ArduCopter: fix signed/unsigned comparison warning
...
commands_logic.cpp: In member function 'bool
Copter::verify_within_distance()':
commands_logic.cpp:770:21: warning: comparison between signed and
unsigned integer expressions [-Wsign-compare]
if (wp_distance < MAX(condition_value,0)) {
^
9 years ago
Lucas De Marchi
2591261af6
Global: rename min and max macros to uppercase
...
The problem with using min() and max() is that they conflict with some
C++ headers. Name the macros in uppercase instead. We may go case by
case later converting them to be typesafe.
Changes generated with:
git ls-files '*.cpp' '*.h' -z | xargs -0 sed -i 's/\([^_[:alnum:]]\)max(/\1MAX(/g'
git ls-files '*.cpp' '*.h' -z | xargs -0 sed -i 's/\([^_[:alnum:]]\)min(/\1MIN(/g'
9 years ago
Luis Vale Gonçalves
3199829d45
Copter: revisions to text strings sent to GCS
9 years ago
lvale
549695181c
Copter: revised and uniformization of severity messages
9 years ago