autotest : Update receive

recieve -> receive
This commit is contained in:
VMsunghwan 2022-01-18 06:47:45 +09:00 committed by Peter Barker
parent b7bd8cd6be
commit 5d29d945e0
2 changed files with 2 additions and 2 deletions

View File

@ -3770,7 +3770,7 @@ class AutoTestCopter(AutoTest):
raise NotAchievedException("Did not receive proper target position z: wanted=%f got=%f" % (z_up, -m.z))
def test_guided_local_velocity_target(self, vx, vy, vz_up, timeout=3):
" Check local target velocity being recieved by vehicle "
" Check local target velocity being received by vehicle "
self.progress("Setting local NED velocity target: (%f, %f, %f)" % (vx, vy, -vz_up))
self.progress("Setting POSITION_TARGET_LOCAL_NED message rate to 10Hz")
self.set_message_rate_hz(mavutil.mavlink.MAVLINK_MSG_ID_POSITION_TARGET_LOCAL_NED, 10)

View File

@ -6765,7 +6765,7 @@ Also, ignores heartbeats not from our target system'''
# need to wait for a heartbeat to arrive as then mavutil will
# select the correct set of messages for us to receive in
# self.mav.messages. You can actually recieve messages with
# self.mav.messages. You can actually receive messages with
# recv_match and those will not be in self.mav.messages until
# you do this!
self.wait_heartbeat()