GCS_Common: optical flow comp fields should include flow

This commit is contained in:
Randy Mackay 2018-11-24 14:22:06 +09:00
parent b9b00e0f53
commit 70817bb6a7
1 changed files with 2 additions and 2 deletions

View File

@ -1518,8 +1518,8 @@ void GCS_MAVLINK::send_opticalflow()
0, // sensor id is zero 0, // sensor id is zero
flowRate.x, flowRate.x,
flowRate.y, flowRate.y,
bodyRate.x, flowRate.x - bodyRate.x,
bodyRate.y, flowRate.y - bodyRate.y,
optflow->quality(), optflow->quality(),
hagl, // ground distance (in meters) set to zero hagl, // ground distance (in meters) set to zero
flowRate.x, flowRate.x,