Download SAPHIRA TUTORIAL

Transcript
Saphira Tutorial on Actions
2
1 Introduction ______________________________________________________ 3
2 Moving the Robot in Saphira ________________________________________ 4
3 Direct Motion Control of the Wheels __________________________________ 6
3.1 Direct Motion Commands ______________________________________________ 6
3.2 A Colbert Example ___________________________________________________ 7
3.3 Invoking the Patrol Activity ____________________________________________ 8
4 Behavioral Control ________________________________________________ 9
4.1 The Action Evaluation Cycle ___________________________________________ 9
4.2 The Behavioral Action SfMovitAction _______________________________ 10
4.3 The Action Constructor ______________________________________________ 10
4.4 The Action Body ____________________________________________________ 11
4.5 Interfacing the Action to Saphira/Colbert ________________________________ 12
4.6 Invoking the Action __________________________________________________ 12
4.7 Turning Behavioral Actions On ________________________________________ 13