#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 Create::sensorPackets_t sensors; 00026 00027 robot.sendStreamCommand (sensors); 00028 00029 sensors.push_back (Create::SENSOR_BUMPS_WHEELS_DROPS); 00030 robot.sendStreamCommand (sensors); 00031 00032 sensors.push_back (Create::SENSOR_WALL); 00033 robot.sendStreamCommand (sensors); 00034 00035 return TEST_SUCCEED; 00036 }
1.5.4