21 #ifndef _CAMERATEST_H_
22 #define _CAMERATEST_H_
25 #include <yarp/robottestingframework/TestCase.h>
26 #include <yarp/os/BufferedPort.h>
27 #include <yarp/sig/Image.h>
44 class CameraTest :
public yarp::robottestingframework::TestCase {
49 virtual bool setup(yarp::os::Property& property);
51 virtual void tearDown();
56 std::string cameraPortName;
58 int expected_frequency;
60 yarp::os::BufferedPort<yarp::sig::Image> port;
Check if a camera is publishing images at desired framerate.