3.8 Writing A Simple BeeSoft Program
To write a BeeSoft program, youll:
1. Write a function or functions to make the robot do something. In this case, youll make the robot "wander" about while checking for and avoiding the obstacle closest to it in front. Youll use the data structures and functions provided in existing BeeSoft modules.
2. Write code to create a module for the robot function you want to invoke. You need to decide how you want to schedule the function invocations, too.
3.Write code to:
-- initialize the program;
-- create all BeeSoft and user modules you need; and
-- fire up the BeeSoft Scheduler.