setPositionDecimal method
Implementation
Future<OnyxMessage?> setPositionDecimal(double lat, double lon) async {
var directionLat = 'N';
var directionLon = 'E';
if (lat < 0) {
directionLat = 'S';
lat = -lat;
}
if (lon < 0) {
directionLon = 'W';
lon = -lon;
}
return sendCmd('SetPosDec $lat,$directionLat,$lon,$directionLon');
}