odo started

This commit is contained in:
acki
2025-11-26 18:25:47 +01:00
parent fc63fc910e
commit 060c5bfd61

View File

@@ -241,6 +241,7 @@ namespace Modelec
{
if (tokens[1] == "START")
{
start_odo_ = tokens[2] == "1";
}
else if (tokens[1] == "WAYPOINT")
{
@@ -364,7 +365,6 @@ namespace Modelec
if (!start_odo_)
{
SendOrder("START", {std::to_string(true)});
start_odo_ = true;
}
std::vector<std::string> data;
@@ -393,7 +393,6 @@ namespace Modelec
if (!start_odo_)
{
SendOrder("START", {std::to_string(true)});
start_odo_ = true;
}
std::vector<std::string> data = {