Robot
programming uses an event-driven approach.
That means that the how robot acts will depend on the environment
information, i.e. the sensors’ feedback. In the event driven programming
approach, once a new statement is created, the corresponding conditions and
actions have to be specified.
This graphical perception-action programming interface
as shown in Fig 8-20 is suitable for a novice programmer. If you are an
experienced programmer, you can write partial C code in the advanced conditions
/ advanced actions. Of course, the CSR-Rescue also provides an interface for
proficient C programmers to write their own program in full C code.
Fig. 8-20: Graphical Programming Interface
The general flow chat for each statement is
as shown in Fig. 8-21.
Fig. 8-21:
Flow chart for each statement
Related Topics