Luis Vale Gonçalves
b7f3782e4e
Plane: Text revisions
...
text revisions
9 years ago
lvale
e18181e5c2
Plane: Uniformization of severities
...
Plane uniformization of severities
9 years ago
Lucas De Marchi
84da1f5039
Rename gcs_send_text_P to gcs_send_text
9 years ago
Lucas De Marchi
2c38e31c93
Remove use of PSTR
...
The PSTR is already define as a NOP for all supported platforms. It's
only needed for AVR so here we remove all the uses throughout the
codebase.
This was automated with a simple python script so it also converts
places which spans to multiple lines, removing the matching parentheses.
AVR-specific places were not changed.
9 years ago
Randy Mackay
d54e28e129
Plane: send home position when home is set or get-home msg received
9 years ago
squilter
583c087eca
Plane: update severities
10 years ago
Randy Mackay
76ccf4043e
Plane: log ahrs home and ekf origin
10 years ago
Andrew Tridgell
18c37935c9
Plane: convert from .pde to .cpp files
10 years ago
Andrew Tridgell
ff126db1d3
Plane: make GUIDED behaviour match copter
...
we now have to be in GUIDED mode to accept a new GUIDED WP. When
entering GUIDED mode start loitering about the current position
10 years ago
Andrew Tridgell
76f8b9b07c
Plane: support DO_SET_HOME MAVLink command
10 years ago
Andrew Tridgell
d54bb68270
Plane: prevent cross-track on some WP types
...
when finishing a takeoff or when a user forces a WP change don't do
any cross-tracking. This avoids a problem where the plane tries to
line up with a track completely unrelated to the track currently being
flown
11 years ago
Andrew Tridgell
8610d9a8ea
Plane: added GLIDE_SLOPE_MIN parameter
...
this is used to prevent slow glide slopes being used for small
altitude changes in missions. This allows more accurate tracking of
altitude with terrain changes
11 years ago
Andrew Tridgell
f983040401
Plane: more fixes for glide slope calculations
11 years ago
Andrew Tridgell
077177384d
Plane: fixed guided alt without terrain bit
11 years ago
Andrew Tridgell
d18c00d6fc
Plane: split up altitude handling
...
this creates altitude.pde for altitude handling, getting ready to add
terrain following
11 years ago
Andrew Tridgell
e19341ca32
Plane: convert to new GPS driver API
11 years ago
Randy Mackay
2184ff1e58
Plane: set_next_WP fn accepts Location
11 years ago
Andrew Tridgell
4bf140aeac
Plane: make next_WP and prev_WP be locations
...
having a command ID in them doesn't really make sense
Pair-Programmed-With: Randy Mackay <rmackay9@yahoo.com>
11 years ago
Randy Mackay
bc86a5043a
Plane: bug fix for relative alt
11 years ago
Randy Mackay
9446e9fd2e
Plane: integrate AP_Mission library
11 years ago
Randy Mackay
e88f1953d0
Plane: use common location options masks
11 years ago
Andrew Tridgell
57e0eb4db5
Plane: use a const reference for home
11 years ago
Andrew Tridgell
11337ab2df
Plane: updates for AHRS holding home position
11 years ago
Andrew Tridgell
9ac886f58d
Plane: use AP_AHRS_NavEKF when available
11 years ago
Andrew Tridgell
006b9da6be
Plane: only include NavEKF on fast CPUs
11 years ago
Andrew Tridgell
1fbae4dd44
Plane: enable NavEKF logging in plane
11 years ago
Andrew Tridgell
61dd04ccb5
Plane: auto-update home and baro calibration when disarmed
...
this takes advantage of the PX4 arming state to ensure position and
baro calibration is updated
12 years ago
Andrew Tridgell
c8a83e17d0
Plane: remove old AIR_START code
...
this was never used or tested
12 years ago
Andrew Tridgell
3c97fad2ec
Plane: changes for GPS field changes
12 years ago
Andrew Tridgell
1d6748cf3f
Plane: use a glide slope in RTL when descending
...
when above the target altitude in RTL come down slowly, when below
climb rapidly
This fixes issue #39
12 years ago
Andrew Tridgell
e446f375a7
Plane: set loiter.direction for GUIDED mode
12 years ago
Andrew Tridgell
11eb0cfce1
Plane: update for new AP_Navigation controller class
...
this switches ArduPlane over to use the L1 navigation controller, via
a generic nav_controller object pointer.
Note that the nav_controller controls all types of navigation now,
including level flight and heading hold. This provides a cleaner
abstraction than the old method of special case navigation handling
Pair-Programmed-With: Paul Riseborough <p_riseborough@live.com.au>
12 years ago
tobias
217b8d7a59
cleanup: use const for struct Location pointers and references
...
this allows the compiler to generate more efficient code
12 years ago
Andrew Tridgell
8c0f065ee4
Plane: fixed an integer multiply error that caused poor altitude on landing
...
the control of altitude between waypoints was broken due to an integer
overflow
12 years ago
Andrew Tridgell
3913c42183
Plane: fixed bit combination
...
bitwise, not arithmetic
12 years ago
Jochen Tuchbreiter
c5f19f5df8
Plane: Implement issue 80: counterclockwise loiter
...
- libraries/AP_Common/AP_Common.h: Use bit 2 of Location.options to store
loiter direction
- ArduPlane/defines.h: New bitmask MASK_OPTIONS_LOITER_DIRECTION for struct
Location bit 2
- ArduPlane/ArduPlane.pde: New variable loiter_direction
- ArduPlane/GCS_Mavlink.pde: For mavlink loiter-commands use sign of param3 to
detemine direction. Set Location.option flag accordingly
- ArduPlane/commands.pde: Make sure loiter-directions get saved into EEPROM
correctly
- ArduPlane/commands_logic.pde: Set loiter_direction on all loiter-actions
as well as RTL/instant loiter
- ArduPlane/navigation.pde: Yield loiter_direction in update_loiter
12 years ago
Andrew Tridgell
cf18534163
Plane: use new functions
12 years ago
Andrew Tridgell
7c6dd0736e
Plane: use hal.storage for eeprom access
12 years ago
Andrew Tridgell
805a340350
Plane: enable attitude and raw logging in HIL modes
12 years ago
Andrew Tridgell
0bc1f89f27
APM: fixed typo
13 years ago
Andrew Tridgell
c9f10f0e00
APM: fixed auto-takeoff with zero lat/lng
...
consider a non-zero altitude to mean that we should use the relative
altitude specified
13 years ago
Andrew Tridgell
764d86216e
APM: fixed mission reset by setting waypoint to zero
...
this does a full mission reset (equivalent to rebooting)
13 years ago
Andrew Tridgell
e2779523ea
APM: fixed fetch of relative altitude waypoints
...
when we fetch relative altitude waypoints from APM to a file, we need
to preserve the altitude
13 years ago
Andrew Tridgell
cde7d8c5e7
APM: fixed some compiler warnings
13 years ago
Michael Oborne
1e7adac365
AP fix attitude hil.
...
we where waiting on new_data that had no way of getting there.
13 years ago
uncrustify
ff4afa767b
uncrustify ArduPlane/commands.pde
13 years ago
rmackay9
6d489947cf
ArduPlane: replaced many "int" with "int16_t", "long" with "int32_t"
13 years ago
Andrew Tridgell
5631b90222
APM: interpret zero lat/lng as being current location
...
this makes it easy to have a "loiter in current position" mission
element
13 years ago
Andrew Tridgell
dc99586981
APM: removed pointless load() call
13 years ago
Andrew Tridgell
5bfd1200d6
APM: change variables to use _cm, _cd and _ms suffix for units
...
this makes it less likely that we mix up units
13 years ago