mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-11-26 17:30:28 +08:00
Merge pull request #1494 from PX4/mavlinkdistancesensor
mavlink: distance sensor: fix max value
This commit is contained in:
commit
826ca64ac7
1 file changed
+1
-1
@@ -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