Why WPNAV_SPEED doesn't show up in Mission Planner
If WPNAV_SPEED can't be found in the Mission Planner parameter list, the board isn't broken. Copter 4.7 renamed it WP_SPD and moved its unit from centimeters to meters.
You want to lower the route speed. You open Mission Planner, type the speed parameter's name you know into the parameter search box, and the list comes back empty. The board is connected, telemetry is flowing, and the other parameters are all in place.
There's nothing wrong with the board. That name no longer exists in that firmware.
What happens on screen
With ArduCopter 4.7, all the waypoint navigation parameters were renamed. The group prefix went from WPNAV_ to WP_, the names themselves got shorter, and the units changed from centimeters to meters.
The old name was removed entirely in 4.7, which is why the search comes back empty. When asked for a name it doesn't know, the autopilot doesn't produce an error; it doesn't answer at all.
Two different screens give two different answers
Full Parameter List shows the raw list the autopilot publishes directly. Whatever is there is what's in the firmware.
Extended Tuning, on the other hand, consists of fixed boxes, and each box is tied to a specific name. If the ground station version is old, the boxes look for names that no longer exist, don't find them, and stay gray. In that case, what's missing isn't the parameter but an up-to-date ground station.
Which new name replaces the old one
The names on the left no longer exist in 4.7; the ones on the right don't exist in 4.6 and earlier. The mapping comes from the conversion table in libraries/AC_WPNav/AC_WPNav.cpp.
| Copter 4.6 and earlier | Unit | Copter 4.7 | Unit | Equivalent of the old value |
|---|---|---|---|---|
| WPNAV_SPEED | cm/s | WP_SPD | m/s | 500 → 5.0 |
| WPNAV_RADIUS | cm | WP_RADIUS_M | m | 200 → 2.0 |
| WPNAV_SPEED_UP | cm/s | WP_SPD_UP | m/s | 250 → 2.5 |
| WPNAV_SPEED_DN | cm/s | WP_SPD_DN | m/s | 150 → 1.5 |
| WPNAV_ACCEL | cm/s/s | WP_ACC | m/s/s | 250 → 2.5 |
| WPNAV_ACCEL_Z | cm/s/s | WP_ACC_Z | m/s/s | 100 → 1.0 |
| WPNAV_ACCEL_C | cm/s/s | WP_ACC_CNR | m/s/s | 0 → 0.0 |
The conversion factor is 0.01. If you write the old value into the new field as is, it will be 100 times too large.
The most common mistake is writing the value from an old tutorial video into the new field as is. The old WPNAV_SPEED was 500 centimeters per second. If you write the same 500 into the WP_SPD field, you're asking for 500 meters per second.
How to know which name to look for
Reading the version line is the fastest way, but the board itself tells you too. The code below asks for four names in turn and checks which one answers. A name that gets no answer doesn't exist in that firmware.
from pymavlink import mavutil
m = mavutil.mavlink_connection("tcp:127.0.0.1:5760")
m.wait_heartbeat()
def oku(ad, sure=4.0):
"""Requests the parameter by name. No reply means that name does not exist in this firmware."""
m.mav.param_request_read_send(
m.target_system, m.target_component, ad.encode("ascii"), -1)
bitis = time.time() + sure
while time.time() < bitis:
msg = m.recv_match(type="PARAM_VALUE", blocking=True, timeout=1)
if msg and msg.param_id.strip("\x00") == ad:
return msg.param_value
return None
import time
for ad in ["WPNAV_SPEED", "WPNAV_RADIUS", "WP_SPD", "WP_RADIUS_M"]:
deger = oku(ad)
print(f"{ad:14s} -> {deger if deger is not None else 'no answer'}")Change the connection address to match your own setup. Look at the difference between the two requests in the figure: the autopilot answers the name it knows with PARAM_VALUE and sends nothing for the name it doesn't know. That's why the code waits four seconds and prints no answer.
The autopilot stays silent on a name it doesn't know
If you connect to a board running 4.7, you get output like this. The numbers are the settings on your board:
WPNAV_SPEED -> no answer
WPNAV_RADIUS -> no answer
WP_SPD -> 10.0
WP_RADIUS_M -> 2.0If the ones starting with WPNAV_ answer, your board has 4.6 or earlier, so keep using the old names. If the ones starting with WP_ answer, you're on 4.7 or later.
When you set the new name, the vehicle follows it. If you set WP_SPD to 4.0 meters per second and send the vehicle to a target in GUIDED mode, the cruise speed stays on the 4 m/s line.
Example: there are two vehicles on the team. One still has 4.6 from last year, the other has a freshly installed 4.7, and you want to set the route speed of both to 3 meters per second. Run the code on both vehicles in turn: on one, WPNAV_SPEED answers; on the other, WP_SPD. You write 300 to the first and 3.0 to the second, and both vehicles fly at the same speed.
Error Messages and Their Meanings
The parameter you're looking for doesn't appear in the list at all
The autopilot doesn't answer a name it doesn't know with PARAM_VALUE, and it doesn't produce a message saying it rejected it either. The ground station shows this as an empty list. Check the version and try the correct prefix.
The box is gray and the value shows zero
Fixed screens like Extended Tuning are tied to the old name. If the firmware is new and the ground station is old, the box can't be filled. Look at Full Parameter List. If the value is there, what you need to do is update the ground station.
You write the value but the vehicle's behavior doesn't change
You may have written to the wrong name. After writing, read the same name back. If no PARAM_VALUE comes back, nothing was written to that name.
A large value like 500 sits under a new name like WP_SPD
The unit conversion during the upgrade didn't complete, or that value was written by hand later. Divide the old centimeter value by 100 and write it into the new field in meters.
One step further
The Mission Planner from Scratch course covers the parameter screen, route planning, and lesser-known screens step by step. The lesson that continues this article is also in that course.
Was this article helpful?
Learn this topic from start to finish
Season plan: all six courses for 9 months, ₺790 a month. ₺390 a month for high school and university students, ₺351 the first month with your member code. You can stop in any month you like. Start the Season plan · I'm a student