Skip to content

Commit

Permalink
Fix logic
Browse files Browse the repository at this point in the history
  • Loading branch information
martinaxgloria authored and Nicogene committed Mar 15, 2024
1 parent 57afc9c commit 0ba9693
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/imu/imu.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -308,9 +308,10 @@ void Imu::setupBrokers()
for (auto part : partsList)
{
if(part.find("leg") != std::string::npos)
{
strParam = "";

else
strParam = "no_legs";
}
}

strCmd.clear();
Expand Down

0 comments on commit 0ba9693

Please sign in to comment.