ajuste lever arm rover

This commit is contained in:
Diego Freitas 2026-03-30 16:58:02 -03:00
parent cd1257cde5
commit 1f8b3027cc
1 changed files with 1 additions and 1 deletions

View File

@ -1753,7 +1753,7 @@ namespace AgroBase.Models
if (controleBase.Dispositivo == T_Code.Gps)
{
var (la_frontal, la_lateral) = ((JObject)controleBase._comp_value).ToObject<(double?, double?)>();
var (la_lateral, la_frontal) = ((JObject)controleBase._comp_value).ToObject<(double?, double?)>();
if (la_lateral != null || la_frontal != null)
GPSService.LeverArm = new GeoLeverArm(offsetFisicoFrontalCm: VariaveisEquipamento.LeverArmFrontalCm, offsetFisicoLateralCm: VariaveisEquipamento.LeverArmLateralCm, offsetCampoFrontalCm: la_frontal ?? 0, offsetCampoLateralCm: la_lateral ?? 0);
return;