Skip to content
Snippets Groups Projects
Commit d5bc2e4d authored by Hoop77's avatar Hoop77
Browse files

-

parent 7b5eeaf3
Branches
No related merge requests found
......@@ -20,7 +20,7 @@ int main(int argc, char ** argv)
[]
{ std::cout << "Connection closed!\n"; });
for (std::string in; in != "x"; std::getline(std::cin, in))
for (std::string in{"0"}; in != "x"; std::getline(std::cin, in))
{
float angle = std::stof(in);
std::cout << "Setting steering angle to: " << angle << "\n";
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment