mavlink_mission: round lat/lon
This avoids casting errors. An alternative to `std::round` would be to add 0.5 before casting for positive values and subtract 0.5 before casting for negative values.
Please register or sign in to comment
This avoids casting errors. An alternative to `std::round` would be to add 0.5 before casting for positive values and subtract 0.5 before casting for negative values.