In principle, you can drive much faster with two sensors as you know in which direction you went off the line so to say. Also, some robots accelerated when running straight forward in a nice way. This should be possible in any language I think and is pretty straight forward, except for the US obstacle avoidance. The US checks all the time and react when within 1 cm. Speed here is more or less on the limit and typical there is a while loop which has a sleep time of less than 5 ms
Very nice, could you tell me if this is also possible with only 1 colour sensor?
And I see you maid this in java, but is this code also possible in Bricx cc?
Thanks
GerritBoom 2 years ago
In principle, you can drive much faster with two sensors as you know in which direction you went off the line so to say. Also, some robots accelerated when running straight forward in a nice way. This should be possible in any language I think and is pretty straight forward, except for the US obstacle avoidance. The US checks all the time and react when within 1 cm. Speed here is more or less on the limit and typical there is a while loop which has a sleep time of less than 5 ms
gbolmsjo 2 years ago