alex35748954:
- OK, the rule of the micromouse is quite simple: build a self-running robot and solve the maze, for each maze, you have three times to attempt. The goal is to solve the maze as fast as possible.
I am worried about your description. Having unclear goals leads to poor progress.
Earlier you stated
The assignment is just like the contest of micromouse. But the start and end cells are at (0,0) and (4,4) respectively
Micromouse has different rules that you just stated just now. Wikipedia has an artical on micromouse where the process is described as having an explore phase and then a race phase.
The explore phase has the mounse finding the center and further searching to determine an optimal route.
The the mouse returns to the start position and races for a timed result.
Is your task
- to find the center in as little time as possible
or is your task
- to map the maze, return to start and then race to the center?
For the approach part:
The section of straight line is OK, but for the turning process, it's not quite accurate as I want. (I'm still working on this part)
I do not know how you can execute a 90 degree turn accurately.
And what I'm looking for is how to know how far it goes if I don't use any encoder. Because as it started to run, the voltage might drop, and I'm afraid that if I hard code the PWM value for every action, it might get inaccurate at last.
I agree that this will not be accurate. And mapping will then be inaccurate. If your task requires mapping, I cannot see a solution. I would include a description of this condition in the report you will likely have to include with the project.
But if the mapping is not required, then simple finding the center constitutes success.
By the way, this is why I wanted the complete assignment included. To remove ambiguity. The goals are currently ambiguous and unclear.
And...Sorry that I can't take pictures of it. My teammates don't let me do so (Don't know the reason...)
Is it a requirement of the project that this important information remain secret? Are your teammates worried about your classmates, who have the same hardware you have, will gain an advantage if you post pictures?
Honestly, you risk large failure by limiting the information that we need to help you.