Hi!
I am trying to use build a robot using the RotationNavigator class. I'm sure I'm just doing something stupid ... It requires one motor connected to a wheel on each side, no?
Running the following commands:
RotationNavigator Nav = new RotationNavigator(2f, 10.23f, 1.5f, Motor.A, Motor.C, Sensor.S1, Sensor.S3);
Nav.travel(15);
The robot SHOULD travel forward ~15cm and stop. Instead, the robot turns on, goes forward for a fraction of a second, and then either the right, or left motor continues running forward, but the other motor stops running (which motor stops seems to be a random event).
Alternatively, this code runs the bot forward with panache!
Motor.A.forward();
Motor.C.forward();
try{ Thread.sleep (100000);} catch(InterruptedException e) {}
The robot is similar to trilobot (plans: http://www.phptr.com/articles/article.a ... Num=4&rl=1), except he uses the rotation sensors instead of touch sensors, and the gears are different.
Robot Gearing:
Each motor is connected to the largest gear (32 tooth?). This gear turns a 24 tooth gear that turns each wheel (separately). The rotation sensor is connected to the motor gear by a 16 tooth gear. Like Trilobot, the robot can turn in its foot print if one motor is turned forward, and the other one is turned reverse.
I've tried turning the leads on the rotation sensors (to make certain they are recording forward as the car goes forwards) and the same problem occurs with all combinations of rotation sensor leads.
Any suggestions? Thanks in advance!

