/usr/src/rpm/BUILD/libirobot-create-0.1/tests/stream-test.cc File Reference

#include "common.hh"

Include dependency graph for stream-test.cc:


Functions

int run_test (iRobot::Create &robot, std::stringstream &)

Function Documentation

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 }


Generated on Thu Aug 28 14:38:10 2008 for iRobot Create library by  doxygen 1.5.4