You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: common/source/docs/common-oa-dijkstras.rst
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -24,7 +24,7 @@ Configuration
24
24
25
25
- :ref:`OA_TYPE <OA_TYPE>` = 2 (Dijkstra). You may need to refresh parameters after changing this to see the parameters below.
26
26
- :ref:`OA_MARGIN_MAX <OA_MARGIN_MAX>`: the distance (in meters) that the vehicle should stay away from the fences and stay-out zones
27
-
- :ref:`OA_OPTIONS<OA_OPTIONS>` bit 2 (+4 to the value) can be set to use S-Curves around fence corners in the planned path to speed up turns. Note that using S-Curves, instead of the normal "approach,stop, turn, proceed" method of path planning around sharp fence corners, could still result in a fence breach.To avoid this ``WPNAV_RADIUS`` should be set smaller than :ref:`FENCE_MARGIN<FENCE_MARGIN>`. Also waypoints should also be placed at least 10m from fence boundaries.
27
+
- :ref:`OA_OPTIONS<OA_OPTIONS>` bit 2 (+4 to the value) can be set to use S-Curves around fence corners in the planned path to speed up turns. Note that using S-Curves, instead of the normal "approach,stop, turn, proceed" method of path planning around sharp fence corners, could still result in a fence breach.To avoid this :ref:`WP_RADIUS_M<WP_RADIUS_M>` should be set smaller than :ref:`FENCE_MARGIN<FENCE_MARGIN>`. Also waypoints should also be placed at least 10m from fence boundaries.
28
28
[site wiki="copter"]
29
29
- For use in :ref:`Guided mode <ac2_guidedmode>`, set :ref:`GUID_OPTIONS<GUID_OPTIONS>` bit 6 (e.g. 64)
Copy file name to clipboardExpand all lines: copter/source/docs/ac2_guidedmode.rst
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -71,13 +71,13 @@ Speed Control
71
71
=============
72
72
73
73
The maximum horizontal speed of the copter can be adjusted with the
74
-
**Speed** (``WPNAV_SPEED``) parameter from the Mission Planner's
74
+
**Speed** (:ref:`WP_SPD<WP_SPD>`) parameter from the Mission Planner's
75
75
Config/Tuning >> Copter Pids screen (see blue box above). The default
76
76
is 1000 meaning 10m/s. A typical copter can reach top speeds of 10m/s ~
77
77
13m/s (i.e. 1000 ~ 1300) before it becomes unable to both maintain
78
78
altitude and horizontal speed.
79
79
80
-
The vertical speeds up and down can similar be adjusted with the **Speed Up** (``WPNAV_SPEED_UP``) and **Speed Dn** (``WPNAV_SPEED_DN``) parameters. ``WPNAV_ACCEL_Z`` determines how fast the speed can change.
80
+
The vertical speeds up and down can similar be adjusted with the **Speed Up** (:ref:`WP_SPD_UP<WP_SPD_UP>`) and **Speed Dn** (:ref:`WP_SPD_DN<WP_SPD_DN>`) parameters. :ref:`WP_ACC_Z<WP_ACC_Z>` determines how fast the speed can change.
81
81
82
82
Speed can also be controlled while in GUIDED mode with :ref:`MAVLink commands <common-mavlink-mission-command-messages-mav_cmd>` like :ref:`DO_CHANGE_SPEED<mav_cmd_do_change_speed>`.
Copy file name to clipboardExpand all lines: copter/source/docs/auto-mode.rst
+18-18Lines changed: 18 additions & 18 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -27,11 +27,11 @@ Overview
27
27
.. image:: ../images/auto.jpg
28
28
:target:../_images/auto.jpg
29
29
30
-
AUTO mode navigates between each waypoint in a straight line and as it approaches each waypoint follows a smooth curving path towards the next waypoint (S-Curve). It controls the path as it approaches a waypoint to be within the ``WPNAV_RADIUS`` of each waypoint. The speed is lowered below ``WPNAV_SPEED``, as necessary, to keep the vehicle within the configured acceleration limits (``WPNAV_ACCEL`` and ``WPNAV_ACCEL_C``).
30
+
AUTO mode navigates between each waypoint in a straight line and as it approaches each waypoint follows a smooth curving path towards the next waypoint (S-Curve). It controls the path as it approaches a waypoint to be within the :ref:`WP_RADIUS_M<WP_RADIUS_M>` of each waypoint. The speed is lowered below :ref:`WP_SPD<WP_SPD>`, as necessary, to keep the vehicle within the configured acceleration limits (:ref:`WP_ACC<WP_ACC>` and :ref:`WP_ACC_CNR<WP_ACC_CNR>`).
31
31
32
32
This smooth curving path as it changes direction to the next waypoint will not occur if the next mission command after the waypoint is anything other than a normal waypoint (e.g LAND, LOITER_TURNS, RTL, etc). In these cases the copter will approach the waypoint, stop, and then proceed to the next navigation waypoint instead of smoothly curving in front of it and proceeding to that next navigation waypoint.
33
33
34
-
Also, small ``WPNAV_RADIUS`` values will require that the curve be very small, effectively appearing like the non-S-Curve behavior explained above.
34
+
Also, small :ref:`WP_RADIUS_M<WP_RADIUS_M>` values will require that the curve be very small, effectively appearing like the non-S-Curve behavior explained above.
35
35
36
36
Starting a Mission
37
37
==================
@@ -92,17 +92,17 @@ AUTO mode incorporates the altitude control from :ref:`AltHold mode <altholdmode
92
92
93
93
Commonly adjusted settings are listed below. Most of these can be adjusted from the Mission Planner's Config, Extended Tuning screen (see above).
94
94
95
-
- ``WPNAV_SPEED`` is the maximum horizontal speed (in cm/s) during missions. The default is 1000 which is 10m/s. A typical copter can reach top speeds of 10m/s ~ 20m/s (e.g. 1000 ~ 2000) before it becomes unable to maintain both altitude and horizontal speed
96
-
- ``WPNAV_ACCEL`` determines how quickly the horizontal speed can change (in cm/s/s). Lower values result in smoother acceleration and deceleration and may also cause the vehicle to cut the corners more. Higher values will lead to more aggressive movements and tighter cornering
97
-
- ``WPNAV_SPEED_UP`` determines the max speed up in cm/s. Low values may lead to the vehicle's horizontal speed slowing during diagonal climbing waypoint segments
98
-
- ``WPNAV_SPEED_DN`` determines the max speed down in cm/s. Low values may lead to the vehicle's horizontal speed slowing during diagonal descending waypoint segments. High values (above 150) may lead to unstable vertical descents as the vehicle passes through its own prop wash
99
-
- ``WPNAV_RADIUS`` allows you to control how close the copter must come to the waypoint before it is considered "complete" and the copter moves onto the next waypoint. Setting this to a larger value may cause the vehicle to cut the corners more leading to a smoother path
95
+
- :ref:`WP_SPD<WP_SPD>` is the maximum horizontal speed (in cm/s) during missions. The default is 1000 which is 10m/s. A typical copter can reach top speeds of 10m/s ~ 20m/s (e.g. 1000 ~ 2000) before it becomes unable to maintain both altitude and horizontal speed
96
+
- :ref:`WP_ACC<WP_ACC>` determines how quickly the horizontal speed can change (in cm/s/s). Lower values result in smoother acceleration and deceleration and may also cause the vehicle to cut the corners more. Higher values will lead to more aggressive movements and tighter cornering
97
+
- :ref:`WP_SPD_UP<WP_SPD_UP>` determines the max speed up in cm/s. Low values may lead to the vehicle's horizontal speed slowing during diagonal climbing waypoint segments
98
+
- :ref:`WP_SPD_DN<WP_SPD_DN>` determines the max speed down in cm/s. Low values may lead to the vehicle's horizontal speed slowing during diagonal descending waypoint segments. High values (above 150) may lead to unstable vertical descents as the vehicle passes through its own prop wash
99
+
- :ref:`WP_RADIUS_M<WP_RADIUS_M>` allows you to control how close the copter must come to the waypoint before it is considered "complete" and the copter moves onto the next waypoint. Setting this to a larger value may cause the vehicle to cut the corners more leading to a smoother path
100
100
101
101
Less commonly adjusted parameters include:
102
102
103
-
- ``WPNAV_ACCEL_C`` determines the maximum cornering acceleration in cm/s/s. Higher values will cause the vehicle to make sharper corners meaning it will cut the corners less
104
-
- ``WPNAV_ACCEL_Z`` determines how quickly the vertical speed can change
105
-
- ``WPNAV_JERK`` determines how quickly the horizontal acceleration can change (in m/s/s/s). Lower values will lead to a smoother acceleration and deceleration but will also lead to the mission taking slightly longer to complete
103
+
- :ref:`WP_ACC_CNR<WP_ACC_CNR>` determines the maximum cornering acceleration in cm/s/s. Higher values will cause the vehicle to make sharper corners meaning it will cut the corners less
104
+
- :ref:`WP_ACC_Z<WP_ACC_Z>` determines how quickly the vertical speed can change
105
+
- :ref:`WP_JERK<WP_JERK>` determines how quickly the horizontal acceleration can change (in m/s/s/s). Lower values will lead to a smoother acceleration and deceleration but will also lead to the mission taking slightly longer to complete
106
106
107
107
Common Problems
108
108
===============
@@ -111,18 +111,18 @@ Below are a list of commonly reported problems and recommendations
111
111
112
112
1. The vehicle does not cut the corners as much as I would like and/or stops at each waypoint
113
113
114
-
- Increase ``WPNAV_RADIUS`` to allow the vehicle to pass further from each waypoint
115
-
- Increase ``WPNAV_SPEED`` to cause the vehicle to start turning earlier in order that it not surpass the max acceleration
116
-
- Decrease ``WPNAV_ACCEL`` to cause the vehicle to start turning earlier and more gradually
117
-
- Decrease ``WPNAV_ACCEL_C`` or reset to the default of zero
114
+
- Increase :ref:`WP_RADIUS_M<WP_RADIUS_M>` to allow the vehicle to pass further from each waypoint
115
+
- Increase :ref:`WP_SPD<WP_SPD>` to cause the vehicle to start turning earlier in order that it not surpass the max acceleration
116
+
- Decrease :ref:`WP_ACC<WP_ACC>` to cause the vehicle to start turning earlier and more gradually
117
+
- Decrease :ref:`WP_ACC_CNR<WP_ACC_CNR>` or reset to the default of zero
118
118
- Ensure the waypoint command's Delay field is 0. A delay of even 1 second will cause the vehicle to stop at the waypoint
119
119
- If :ref:`Dijkstras object avoidance <common-oa-dijkstras>` is enabled, by default the vehicle will stop at each waypoint. This can be avoided by setting the :ref:`OA_OPTIONS <OA_OPTIONS>` parameter
120
120
121
-
2. The vehicle does not reach the configured maximum horizontal speed (e.g. ``WPNAV_SPEED``)
121
+
2. The vehicle does not reach the configured maximum horizontal speed (e.g. :ref:`WP_SPD<WP_SPD>`)
122
122
123
-
- Increase ``WPNAV_ACCEL`` to allow the vehicle to accelerate to its maximum speed more quickly
124
-
- Increase ``WPNAV_JERK`` to allow the vehicle to get to its maximum acceleration more quickly
125
-
- If the waypoint includes a climb or descent the vehicle's horizontal speed may be limited by ``WPNAV_SPEED_UP`` or ``WPNAV_SPEED_DN``
123
+
- Increase :ref:`WP_ACC<WP_ACC>` to allow the vehicle to accelerate to its maximum speed more quickly
124
+
- Increase :ref:`WP_JERK<WP_JERK>` to allow the vehicle to get to its maximum acceleration more quickly
125
+
- If the waypoint includes a climb or descent the vehicle's horizontal speed may be limited by :ref:`WP_SPD_UP<WP_SPD_UP>` or :ref:`WP_SPD_DN<WP_SPD_DN>`
126
126
- Ensure the vehicle's maximum lean angle (e.g. ``ANGLE_MAX``) is sufficient to reach the desired speed
127
127
- Ensure the vehicle has enough power to maintain both altitude and the desired speed
128
128
- If the mission command uses :ref:`terrain following <terrain-following>` the vehicle may need to slow horizontally to maintain the desired altitude above terrain
Copy file name to clipboardExpand all lines: copter/source/docs/circle-mode.rst
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -18,7 +18,7 @@ The speed of the vehicle (in deg/second) can be modified by changing the
18
18
:ref:`CIRCLE_RATE<CIRCLE_RATE>` parameter. A positive value means rotate clockwise, a
19
19
negative means counter clockwise. The vehicle may not achieve the
20
20
desired rate if this requires the acceleration towards the center of the
21
-
circle to surpass the maximum acceleration held in the ``WPNAV_ACCEL``
21
+
circle to surpass the maximum acceleration held in the :ref:`WP_ACC<WP_ACC>`
22
22
parameter (units are cm/s/s).
23
23
24
24
The circle rate set above can be dynamically adjusted in flight by two methods. The first is the use of RC Channel 6 if the :ref:`TUNE<TUNE>` option is set to 39, allowing decreasing the rate 50% or increasing it by 100%, at the channel min and max. The other is by enabling the ``CIRCLE_CONTROL`` parameter to allow stick adjustment of radius and speed.
Copy file name to clipboardExpand all lines: copter/source/docs/land-mode.rst
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,7 +7,7 @@ Land Mode
7
7
LAND Mode attempts to bring the copter straight down and has these
8
8
features:
9
9
10
-
- descends at ``LAND_SPEED_HIGH``, if non-zero, (or ``WPNAV_SPEED_DN`` if zero) using the regular Altitude Hold controller.
10
+
- descends at ``LAND_SPEED_HIGH``, if non-zero, (or :ref:`WP_SPD_DN<WP_SPD_DN>` if zero) using the regular Altitude Hold controller.
11
11
- the pilot can reposition the vehicle using the pitch and roll sticks. The throttle stick has no effect.
12
12
- if a rangefinder is being used, or :ref:`TERRAIN_ENABLE<TERRAIN_ENABLE>` =1 and terrain data is available, the descent speed will then switch to ``LAND_SPEED`` at ``LAND_ALT_LOW`` altitude (default is 10m) above ground until landing occurs. If neither terrain data or rangefinder data is available, then altitude above HOME will be used for the speed switch point (if reached).
Copy file name to clipboardExpand all lines: copter/source/docs/rtl-mode.rst
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,7 +16,7 @@ When RTL mode is selected, the copter will return to the home location, or if ra
16
16
17
17
The copter will first rise a minimum of :ref:`RTL_CLIMB_MIN<RTL_CLIMB_MIN>` or to ``RTL_ALT``, whichever is higher, before returning home. The default value for ``RTL_ALT`` is 15m. Under no circumstances will this altitude be below 30cm.
18
18
19
-
The altitude reference frame is set by either the rally point, if proceeding to one of those, or by :ref:`RTL_ALT_TYPE<RTL_ALT_TYPE>` to select relative to HOME, or Terrain. If ``WPNAV_RFND_USE`` = 1 and Terrain is selected, then rangefinder will be used.
19
+
The altitude reference frame is set by either the rally point, if proceeding to one of those, or by :ref:`RTL_ALT_TYPE<RTL_ALT_TYPE>` to select relative to HOME, or Terrain. If :ref:`WP_RFND_USE<WP_RFND_USE>` = 1 and Terrain is selected, then rangefinder will be used.
Copy file name to clipboardExpand all lines: copter/source/docs/smartrtl-mode.rst
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -25,7 +25,7 @@ Additional Failsafes that may be set to switch to SmartRTL are: :ref:`BATT_FS_CR
25
25
SmartRTL Parameters
26
26
===================
27
27
28
-
- :ref:`RTL_SPEED <RTL_SPEED>` can be used to set the speed (in meters/second) at which the vehicle will return to home. By default this parameter is zero meaning the ``WPNAV_SPEED`` parameter value will be used.
28
+
- :ref:`RTL_SPEED <RTL_SPEED>` can be used to set the speed (in meters/second) at which the vehicle will return to home. By default this parameter is zero meaning the :ref:`WP_SPD<WP_SPD>` parameter value will be used.
29
29
- ``RTL_ALT_FINAL`` if set to 0, will land at home, otherwise will stop and hover above home at this altitude upon completion of the return.
30
30
- :ref:`SRTL_ACCURACY <SRTL_ACCURACY>` controls the accuracy (in meters) of the simplification and pruning performed. The simplify algorithm will turn curved paths into straight lines but the line should never be more than this distance from the original path. The pruning algorithm will cut paths that come within this many meters of each other.
31
31
- :ref:`SRTL_POINTS <SRTL_POINTS>` controls the maximum number of points that can be stored. Each additional 100 points requires about 3k of RAM and the image below shows how to check the autopilot's available memory (most autopilots have enough memory for 500 points). If the maximum number of points is exhausted, "SmartRTL deactivated: buffer full" will be sent to the ground station and the user will not be able to switch into SmartRTL.
0 commit comments