mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-06-25 14:20:35 +08:00
Merge pull request #1494 from PX4/mavlinkdistancesensor
mavlink: distance sensor: fix max value
This commit is contained in:
@@ -2162,7 +2162,7 @@ protected:
|
||||
msg.id = 0;
|
||||
msg.orientation = 0;
|
||||
msg.min_distance = range.minimum_distance * 100;
|
||||
msg.max_distance = range.minimum_distance * 100;
|
||||
msg.max_distance = range.maximum_distance * 100;
|
||||
msg.current_distance = range.distance * 100;
|
||||
msg.covariance = 20;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user