Here are a few steps to follow:
1. Objective. When you build a robot, you need to set an objective, a goal. In this case, your objective is the robot to move from point A to point B and avoid any obstacles in the way. That can be done in many ways. To make it more clear, you need:
2. Conditions. Your robot can follow a maze from point A to point B. Or a line maze. Or follow a grid map. Or follow GPS coordinates. Or build a map while moving. Or fold time/space continuum to teleport from point A to point B. So you need to find out the contitions of how the robot has to go from start to finish. After you have them, you need to determine:
3. Inputs. A robot will read some inputs and do an action depending on the pre-programmed rules. The inputs are received signals from sensors or communication lines. Depending on the conditions you have, you need one or more sensors. Even to be able to follow a RC signal, you need a sensor to receive that signal. The more sensors you have, the more precise the movement will be. After you decide what sensors are necessary, you need to determine:
4. Outputs. The outputs are generated signals that make sound, light or movement. A robot may move around using wheels or legs. Teleportation, although highly desirable, it is not possible yet. So, you need to decide how the robot will move. Add some blinking LEDs and/or a speaker for fun. Then you’ll do the:
5. Strategy. Depending on the conditions you have, you need to read the sensors and calculate a way to get to your objective. Sometimes you’ll find that you need extra sensors to make things more precise. If you’re in a maze, you need to follow the walls (or the line) and remember the intersections and which way you turned. If a the new direction you turned to went to a dead end, go back to the latest turn and turn a different way, and so on, until you reach the destination. In this case, the obstacles may be the dead ends for example, or you can actually have an obstacle in your way that you need to go arround. If you’re following a grid map, then you need to be able to turn precisely and measure the traveled distance. Then use the wavefront algorithm to determine the shortest path. Each time you find an obstacle in your way, re-calculate the shortest path. Same thing if you’re following GPS coordinates. Create a grid map, then use the wavefront algorithm. If you want to be a smart ass, use vision recognition. Scan the horrizon to find the destination point (if it’s not blocked by an obstacle) then move towards it. If you know the coordinates of start and end points, you need to determine the direction you need to travel to get closer to the destination while scanning to find an open path arround obstacles. This can be developed further. But depending on the complexity of the programming needed, you need to chose the:
6. Brain. You can follow a wall with a mechanical device that has only switches and motors. No brain needed. You can follow a line with a simple circuit that does not need programming. You can use a Basic Stamp or an Arduino for a (simple) grid map. For anything more complicated, you need a Raspberry Pi or a laptop on wheels. At this point, you can start:
7. Programming. Basic, C/C++, Python, Java… All depends on what you chose for your robot’s brain. Good news is that you can write your strategy in any program you feel more confortable. Bad news is that you need to actually do the work. Which will be good for you, don’t be affraind. And if you run into problems, then:
8. Research. Try to find on internet if others had similar problems. If you’re still stuck, then:
9. We can help. Let us know what is the objective, the inputs, the outputs, the strategy, the chosen brain and where you got stuck. All the details are important. We may even ask you for more specifications if needed. And we will guide you, at any step in your quest, but you need to do the hard work.
In the end, YOU will learn a lot.
Good luck!