Hey guys,
I’m new at coding and tried to write a code in c++ for our tracking wheels.
Pls tell me whats wrong, Even if everything is false.
Thx a lot
Hey guys,
I’m new at coding and tried to write a code in c++ for our tracking wheels.
Pls tell me whats wrong, Even if everything is false.
Thx a lot
you gotta be more specific. what do you want to do and what is it doing? do you need help with writing the tracking wheel (odometry) algorithm? are you trying to just move to a point/distance?
and we are using the new tracking wheels. Not with Threewireport but with the normal Ports
I just tried to move the Robot for exact 100cm.
We are using the Rotation Sensors
Okay got it. Looks like the robot will run forever forwards? Change the while conditions to the while left and right are less than the target. Also put the if statement after when you tell the motors to spin. And start printing out data so you can see what the code is seeing.