#include "common.hh"

Functions | |
| int | run_test (iRobot::Create &robot, std::stringstream &) |
| int run_test | ( | iRobot::Create & | robot, | |
| std::stringstream & | ||||
| ) |
00022 { 00023 using namespace iRobot; 00024 00025 // Test Mode. 00026 CHECK_FAILURE 00027 (CommandNotAvailable, 00028 robot.sendLowSideDriversCommand (false, false, false)); 00029 00030 // Switch to full mode and test a command. 00031 robot.sendFullCommand (); 00032 robot.sendLowSideDriversCommand (false, false, false); 00033 00034 // Switch to safe mode for the rest of the test. 00035 robot.sendSafeCommand (); 00036 00037 robot.sendLowSideDriversCommand (false, false, false); 00038 robot.sendLowSideDriversCommand (true, true, true); 00039 return TEST_SUCCEED; 00040 }
1.5.4