A flowchart is a type of diagram that represents an algorithm or process, showing the steps as boxes of various kinds, and their order by connecting these with arrows. This diagrammatic representation can give a step-by-step solution to a given problem.
In programming world, flow Charts are used to help programmers in the early stages of programming. They are very useful when programming because they allow the programmer to set out, in a very simple way the sequence that he/she wants for each line of the program.
Robot software is the coded commands that tell a mechanical device what tasks to perform and control its actions. It’s a good idea to chalk out a logic flow diagram of what you need your robot to do; it will provide you a guideline when you program your creations. Engineers use it all the time to help them in their work.
A typical flowchart contains many symbols (building blocks), and most common symbols are depicted in below image.
This is a flow chart representing a simple scenario:
- Robot moves forward for 5 seconds
- Robot moves backward for 2 seconds
- Robot turns left
- Robot moves forward for 3 seconds
-Flowchart should be clear, neat and easy to follow
- Flowchart should be un-ambigous
- Usual Direction of the flow of a procedure or system is from left to right or top to bottom
- Only one flow line should come out from a process symbol
- Only one flow line should enter a decision symbol
- Write within standard flow chart symbols briefly
- If the flowchart becomes complex, it is better to use connector symbols and sub-process