ajustes das configuracoes para correcao rtk da base
This commit is contained in:
parent
d56695adfc
commit
be94543b9e
Binary file not shown.
Binary file not shown.
|
|
@ -49,7 +49,7 @@ namespace AgroBase.Forms
|
|||
txtLongitude.Text = Gps.Longitude.ToString();
|
||||
lblPrecisaoHorizontal.Text = "Precisão Horizontal: " + Gps.PrecisaoHorizontal.ToString("0.00");
|
||||
lblPrecisaoCm.Text = "Precisão Leitura: " + Gps.PrecisaoCm.ToString("0.00") + " cm";
|
||||
lblSatelites.Text = "Satélites Visíveis: " + Gps.NumeroSatelites.ToString();
|
||||
lblSatelites.Text = "Satélites Visíveis: " + Gps.NumeroSatelites.valor.ToString();
|
||||
lblVelocidade.Text = "Velocidade: " + Gps.Velocidade.ToString("0.00") + " km/h";
|
||||
lblOrientacao.Text = "Orientação: " + Gps.OrientacaoReal.ToString("0.00") + "º (" + Gps.OrientacaoMovimento.ToString("0.00") + "º)";
|
||||
lblCursoVerdadeiro.Text = "Curso Verdadeiro: " + Gps.CursoVerdadeiro.ToString("0.00") + "º";
|
||||
|
|
|
|||
|
|
@ -25,7 +25,7 @@ namespace AgroBase.Models
|
|||
public string TipoOrientacao { get; set; }
|
||||
public double VariacaoMagnetica { get; set; }
|
||||
public TiposCorrecaoGPS QualidadeFix { get; set; }
|
||||
public int IdadeCorrecao { get; set; }
|
||||
public double IdadeCorrecao { get; set; }
|
||||
public double PDOP { get; set; }
|
||||
public double VDOP { get; set; }
|
||||
public TiposDimensaoCorrecaoGPS FixDimensao { get; set; }
|
||||
|
|
|
|||
|
|
@ -43,7 +43,7 @@ namespace AgroBase.Services
|
|||
|
||||
private static int rtk_timeout = 60;
|
||||
private static bool LoopRTK_Ntrip = false;
|
||||
public static bool CorrecaoRTK_Ntrip = true;
|
||||
public static bool CorrecaoRTK_Ntrip = false;
|
||||
public static DateTime UltimoEnvioCorrecaoRTK = DateTime.MinValue;
|
||||
|
||||
public static void AtualizarPortaCOM(SerialPort Porta)
|
||||
|
|
@ -107,6 +107,7 @@ namespace AgroBase.Services
|
|||
string freq = (1.0 / TaxaAmostragemHz).ToString("0.0").Replace(",", ".");
|
||||
string[] comandos = {
|
||||
// Bauds
|
||||
$"config com1 115200\r\n",
|
||||
$"config {porta_usb} 115200\r\n",
|
||||
$"config {porta_entrada} 115200\r\n",
|
||||
|
||||
|
|
@ -128,7 +129,7 @@ namespace AgroBase.Services
|
|||
// (se precisar, existe 'config heading offset <azim_off> <pitch_off>')
|
||||
|
||||
// NMEA só na USB (COM1)
|
||||
$"gpgga {porta_usb} {freq}\r\n",
|
||||
$"gngga {porta_usb} {freq}\r\n",
|
||||
$"gpths {porta_usb} {freq}\r\n",
|
||||
|
||||
$"saveconfig\r\n"
|
||||
|
|
@ -166,9 +167,9 @@ namespace AgroBase.Services
|
|||
$"RTCM1124 {porta_saida} 1\r\n", // BeiDou MSM4
|
||||
|
||||
// (Opcional) ativar mais constelações:
|
||||
// $"RTCM1094 {porta_saida} 1\r\n", // Galileo MSM4
|
||||
// $"RTCM1084 {porta_saida} 1\r\n", // GLONASS MSM4
|
||||
// $"RTCM1230 {porta_saida} 10\r\n",// Bias GLONASS (OBRIGATÓRIO se 1084 estiver ativo)
|
||||
$"RTCM1094 {porta_saida} 1\r\n", // Galileo MSM4
|
||||
$"RTCM1084 {porta_saida} 1\r\n", // GLONASS MSM4
|
||||
$"RTCM1230 {porta_saida} 10\r\n",// Bias GLONASS (OBRIGATÓRIO se 1084 estiver ativo)
|
||||
|
||||
// NMEA mínimo para debug na USB
|
||||
$"gngga {porta_usb} 1\r\n",
|
||||
|
|
@ -377,7 +378,7 @@ namespace AgroBase.Services
|
|||
|
||||
int.TryParse(qualidade, out int fix);
|
||||
|
||||
int.TryParse(idadeCorrecaoRaw, out int idadeCorrecao);
|
||||
double.TryParse(idadeCorrecaoRaw, out double idadeCorrecao);
|
||||
|
||||
|
||||
//Console.WriteLine($"GNGGA: Hora={horaUTC}, Latitude={latitude}, Longitude={longitude}, Qualidade={qualidade}, Satélites={satelitesUsados}, HDOP={hdop}, Altitude={altitude}");
|
||||
|
|
|
|||
Binary file not shown.
Binary file not shown.
|
|
@ -29,5 +29,5 @@
|
|||
"top_topics_and_observing_domains": [ ]
|
||||
} ],
|
||||
"hex_encoded_hmac_key": "40F346D3248C3AFDF2BEE1FE496DBD32F7CED6E5AE98B881ABC421AA7E7B5642",
|
||||
"next_scheduled_calculation_time": "13400432611771207"
|
||||
"next_scheduled_calculation_time": "13400432611771339"
|
||||
}
|
||||
|
|
|
|||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
|
@ -1,3 +1,3 @@
|
|||
2025/08/16-13:04:37.147 27f4 Reusing MANIFEST C:\ZendionInc\agrobot_base\AgroBase\AgroBase\bin\x64\Debug\AgroBase.exe.WebView2\EBWebView\Default\Local Storage\leveldb/MANIFEST-000001
|
||||
2025/08/16-13:04:37.153 27f4 Recovering log #3
|
||||
2025/08/16-13:04:37.156 27f4 Reusing old log C:\ZendionInc\agrobot_base\AgroBase\AgroBase\bin\x64\Debug\AgroBase.exe.WebView2\EBWebView\Default\Local Storage\leveldb/000003.log
|
||||
2025/08/18-17:01:38.585 14e0 Reusing MANIFEST C:\ZendionInc\agrobot_base\AgroBase\AgroBase\bin\x64\Debug\AgroBase.exe.WebView2\EBWebView\Default\Local Storage\leveldb/MANIFEST-000001
|
||||
2025/08/18-17:01:38.592 14e0 Recovering log #3
|
||||
2025/08/18-17:01:38.596 14e0 Reusing old log C:\ZendionInc\agrobot_base\AgroBase\AgroBase\bin\x64\Debug\AgroBase.exe.WebView2\EBWebView\Default\Local Storage\leveldb/000003.log
|
||||
|
|
|
|||
|
|
@ -1,3 +1,3 @@
|
|||
2025/08/16-13:03:08.714 82d8 Reusing MANIFEST C:\ZendionInc\agrobot_base\AgroBase\AgroBase\bin\x64\Debug\AgroBase.exe.WebView2\EBWebView\Default\Local Storage\leveldb/MANIFEST-000001
|
||||
2025/08/16-13:03:08.720 82d8 Recovering log #3
|
||||
2025/08/16-13:03:08.725 82d8 Reusing old log C:\ZendionInc\agrobot_base\AgroBase\AgroBase\bin\x64\Debug\AgroBase.exe.WebView2\EBWebView\Default\Local Storage\leveldb/000003.log
|
||||
2025/08/18-17:00:07.328 1a28 Reusing MANIFEST C:\ZendionInc\agrobot_base\AgroBase\AgroBase\bin\x64\Debug\AgroBase.exe.WebView2\EBWebView\Default\Local Storage\leveldb/MANIFEST-000001
|
||||
2025/08/18-17:00:07.334 1a28 Recovering log #3
|
||||
2025/08/18-17:00:07.337 1a28 Reusing old log C:\ZendionInc\agrobot_base\AgroBase\AgroBase\bin\x64\Debug\AgroBase.exe.WebView2\EBWebView\Default\Local Storage\leveldb/000003.log
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
{"net":{"http_server_properties":{"servers":[{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13399920277588927","port":443,"protocol_str":"quic"}],"anonymization":["DAAAAAcAAABmaWxlOi8vAA==",false,0],"network_stats":{"srtt":19630},"server":"https://tile.openstreetmap.org","supports_spdy":true}],"supports_quic":{"address":"192.168.26.32","used_quic":true},"version":5},"network_qualities":{"CAASABiAgICA+P////8B":"4G","CAESABiAgICA+P////8B":"4G","CAISABiAgICA+P////8B":"3G","CAYSABiAgICA+P////8B":"Offline"}}}
|
||||
{"net":{"http_server_properties":{"servers":[{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13400107303917497","port":443,"protocol_str":"quic"}],"anonymization":["DAAAAAcAAABmaWxlOi8vAA==",false,0],"network_stats":{"srtt":10944},"server":"https://tile.openstreetmap.org","supports_spdy":true}],"supports_quic":{"address":"2804:d78:627:be00:b128:5cd2:a1f6:e65c","used_quic":true},"version":5},"network_qualities":{"CAASABiAgICA+P////8B":"4G","CAESABiAgICA+P////8B":"4G","CAISABiAgICA+P////8B":"4G","CAYSABiAgICA+P////8B":"Offline"}}}
|
||||
|
|
@ -1 +1 @@
|
|||
{"sts":[{"expiry":1786792276.424571,"host":"bWGAftl61rqoc0YzqPncsLvQQh/iC2Bdp3ejUeGC83w=","mode":"force-https","sts_include_subdomains":true,"sts_observed":1755256276.424575}],"version":2}
|
||||
{"sts":[{"expiry":1787083300.948773,"host":"bWGAftl61rqoc0YzqPncsLvQQh/iC2Bdp3ejUeGC83w=","mode":"force-https","sts_include_subdomains":true,"sts_observed":1755547300.948778}],"version":2}
|
||||
File diff suppressed because one or more lines are too long
|
|
@ -1,3 +1,3 @@
|
|||
2025/08/16-13:35:13.578 27f4 Reusing MANIFEST C:\ZendionInc\agrobot_base\AgroBase\AgroBase\bin\x64\Debug\AgroBase.exe.WebView2\EBWebView\Default\Session Storage/MANIFEST-000001
|
||||
2025/08/16-13:35:13.580 27f4 Recovering log #3
|
||||
2025/08/16-13:35:13.584 27f4 Reusing old log C:\ZendionInc\agrobot_base\AgroBase\AgroBase\bin\x64\Debug\AgroBase.exe.WebView2\EBWebView\Default\Session Storage/000003.log
|
||||
2025/08/18-17:06:16.351 14e0 Reusing MANIFEST C:\ZendionInc\agrobot_base\AgroBase\AgroBase\bin\x64\Debug\AgroBase.exe.WebView2\EBWebView\Default\Session Storage/MANIFEST-000001
|
||||
2025/08/18-17:06:16.352 14e0 Recovering log #3
|
||||
2025/08/18-17:06:16.355 14e0 Reusing old log C:\ZendionInc\agrobot_base\AgroBase\AgroBase\bin\x64\Debug\AgroBase.exe.WebView2\EBWebView\Default\Session Storage/000003.log
|
||||
|
|
|
|||
|
|
@ -1,3 +1,3 @@
|
|||
2025/08/16-13:03:43.169 82d8 Reusing MANIFEST C:\ZendionInc\agrobot_base\AgroBase\AgroBase\bin\x64\Debug\AgroBase.exe.WebView2\EBWebView\Default\Session Storage/MANIFEST-000001
|
||||
2025/08/16-13:03:43.170 82d8 Recovering log #3
|
||||
2025/08/16-13:03:43.173 82d8 Reusing old log C:\ZendionInc\agrobot_base\AgroBase\AgroBase\bin\x64\Debug\AgroBase.exe.WebView2\EBWebView\Default\Session Storage/000003.log
|
||||
2025/08/18-17:00:57.069 1a28 Reusing MANIFEST C:\ZendionInc\agrobot_base\AgroBase\AgroBase\bin\x64\Debug\AgroBase.exe.WebView2\EBWebView\Default\Session Storage/MANIFEST-000001
|
||||
2025/08/18-17:00:57.071 1a28 Recovering log #3
|
||||
2025/08/18-17:00:57.075 1a28 Reusing old log C:\ZendionInc\agrobot_base\AgroBase\AgroBase\bin\x64\Debug\AgroBase.exe.WebView2\EBWebView\Default\Session Storage/000003.log
|
||||
|
|
|
|||
|
|
@ -1,3 +1,3 @@
|
|||
2025/08/16-13:04:37.071 3404 Reusing MANIFEST C:\ZendionInc\agrobot_base\AgroBase\AgroBase\bin\x64\Debug\AgroBase.exe.WebView2\EBWebView\Default\Site Characteristics Database/MANIFEST-000001
|
||||
2025/08/16-13:04:37.073 3404 Recovering log #7
|
||||
2025/08/16-13:04:37.073 3404 Reusing old log C:\ZendionInc\agrobot_base\AgroBase\AgroBase\bin\x64\Debug\AgroBase.exe.WebView2\EBWebView\Default\Site Characteristics Database/000007.log
|
||||
2025/08/18-17:01:38.507 481c Reusing MANIFEST C:\ZendionInc\agrobot_base\AgroBase\AgroBase\bin\x64\Debug\AgroBase.exe.WebView2\EBWebView\Default\Site Characteristics Database/MANIFEST-000001
|
||||
2025/08/18-17:01:38.509 481c Recovering log #7
|
||||
2025/08/18-17:01:38.509 481c Reusing old log C:\ZendionInc\agrobot_base\AgroBase\AgroBase\bin\x64\Debug\AgroBase.exe.WebView2\EBWebView\Default\Site Characteristics Database/000007.log
|
||||
|
|
|
|||
|
|
@ -1,3 +1,3 @@
|
|||
2025/08/16-13:03:08.637 7634 Reusing MANIFEST C:\ZendionInc\agrobot_base\AgroBase\AgroBase\bin\x64\Debug\AgroBase.exe.WebView2\EBWebView\Default\Site Characteristics Database/MANIFEST-000001
|
||||
2025/08/16-13:03:08.638 7634 Recovering log #7
|
||||
2025/08/16-13:03:08.638 7634 Reusing old log C:\ZendionInc\agrobot_base\AgroBase\AgroBase\bin\x64\Debug\AgroBase.exe.WebView2\EBWebView\Default\Site Characteristics Database/000007.log
|
||||
2025/08/18-17:00:07.253 4f4c Reusing MANIFEST C:\ZendionInc\agrobot_base\AgroBase\AgroBase\bin\x64\Debug\AgroBase.exe.WebView2\EBWebView\Default\Site Characteristics Database/MANIFEST-000001
|
||||
2025/08/18-17:00:07.255 4f4c Recovering log #7
|
||||
2025/08/18-17:00:07.255 4f4c Reusing old log C:\ZendionInc\agrobot_base\AgroBase\AgroBase\bin\x64\Debug\AgroBase.exe.WebView2\EBWebView\Default\Site Characteristics Database/000007.log
|
||||
|
|
|
|||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
File diff suppressed because one or more lines are too long
Binary file not shown.
Binary file not shown.
|
|
@ -17,7 +17,7 @@
|
|||
<meta name="viewport" content="width=device-width,
|
||||
initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
|
||||
<style>
|
||||
#map_8d82a52a75a0022facd97338a9de6951 {
|
||||
#map_67e0a7b51ff20c385c068ee0a8d7495e {
|
||||
position: relative;
|
||||
width: 100.0%;
|
||||
height: 100.0%;
|
||||
|
|
@ -54,14 +54,14 @@
|
|||
<body>
|
||||
|
||||
|
||||
<div class="folium-map" id="map_8d82a52a75a0022facd97338a9de6951" ></div>
|
||||
<div class="folium-map" id="map_67e0a7b51ff20c385c068ee0a8d7495e" ></div>
|
||||
|
||||
</body>
|
||||
<script>
|
||||
|
||||
|
||||
var map_8d82a52a75a0022facd97338a9de6951 = L.map(
|
||||
"map_8d82a52a75a0022facd97338a9de6951",
|
||||
var map_67e0a7b51ff20c385c068ee0a8d7495e = L.map(
|
||||
"map_67e0a7b51ff20c385c068ee0a8d7495e",
|
||||
{
|
||||
center: [0.0, 0.0],
|
||||
crs: L.CRS.EPSG3857,
|
||||
|
|
@ -78,7 +78,7 @@
|
|||
|
||||
|
||||
|
||||
var tile_layer_05c03651f72fbf9663af32ba9eb509d0 = L.tileLayer(
|
||||
var tile_layer_bcfeae14139b4f2f33677d1b47c8ee4f = L.tileLayer(
|
||||
"https://tile.openstreetmap.org/{z}/{x}/{y}.png",
|
||||
{
|
||||
"minZoom": 0,
|
||||
|
|
@ -95,7 +95,7 @@
|
|||
);
|
||||
|
||||
|
||||
tile_layer_05c03651f72fbf9663af32ba9eb509d0.addTo(map_8d82a52a75a0022facd97338a9de6951);
|
||||
tile_layer_bcfeae14139b4f2f33677d1b47c8ee4f.addTo(map_67e0a7b51ff20c385c068ee0a8d7495e);
|
||||
|
||||
</script>
|
||||
|
||||
|
|
@ -116,7 +116,7 @@
|
|||
}
|
||||
trajeto_json_add({"features": []});
|
||||
|
||||
trajeto_json.addTo(map_8d82a52a75a0022facd97338a9de6951);
|
||||
trajeto_json.addTo(map_67e0a7b51ff20c385c068ee0a8d7495e);
|
||||
|
||||
function adicionarGeometria(novaGeometria) {
|
||||
trajeto_json.addData(novaGeometria);
|
||||
|
|
@ -179,9 +179,9 @@
|
|||
|
||||
var marcadorEquipamento = L.marker([0, 0], {
|
||||
icon: customIcon
|
||||
}).addTo(map_8d82a52a75a0022facd97338a9de6951);
|
||||
}).addTo(map_67e0a7b51ff20c385c068ee0a8d7495e);
|
||||
|
||||
var marcadorBase = L.marker([0, 0], {}).addTo(map_8d82a52a75a0022facd97338a9de6951);
|
||||
var marcadorBase = L.marker([0, 0], {}).addTo(map_67e0a7b51ff20c385c068ee0a8d7495e);
|
||||
var icon = L.AwesomeMarkers.icon(
|
||||
{"extraClasses": "fa-rotate-0", "icon": "info-sign", "iconColor": "white", "markerColor": "red", "prefix": "glyphicon"}
|
||||
);
|
||||
|
|
@ -246,7 +246,7 @@
|
|||
}
|
||||
|
||||
if (foco) {
|
||||
map_8d82a52a75a0022facd97338a9de6951.setView(novaPosicao, map_8d82a52a75a0022facd97338a9de6951.getZoom());
|
||||
map_67e0a7b51ff20c385c068ee0a8d7495e.setView(novaPosicao, map_67e0a7b51ff20c385c068ee0a8d7495e.getZoom());
|
||||
}
|
||||
|
||||
}
|
||||
|
|
@ -268,7 +268,7 @@
|
|||
marcadorDinamico.setRotationAngle(angulo);
|
||||
|
||||
adicionarCoordenada("Tj", [novaLongitude, novaLatitude]);
|
||||
map_8d82a52a75a0022facd97338a9de6951.setView(novaPosicao, map_8d82a52a75a0022facd97338a9de6951.getZoom());*/
|
||||
map_67e0a7b51ff20c385c068ee0a8d7495e.setView(novaPosicao, map_67e0a7b51ff20c385c068ee0a8d7495e.getZoom());*/
|
||||
});
|
||||
|
||||
function calcularOrientacao(P1latitude, P1longitude, P2latitude, P2longitude) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue