8 #ifndef ICUBSIMULATION_BLENDERSIMULATION_INC
9 #define ICUBSIMULATION_BLENDERSIMULATION_INC
13 #include <yarp/os/Time.h>
19 virtual void drawView(
bool left,
bool right,
bool wide) {}
21 virtual bool getImage(yarp::sig::ImageOf<yarp::sig::PixelRgb>& img) {
32 for (
int i=0; i<
n; i++) {
33 printf(
"Fake simulation cycle %d of %d\n", i+1,
n);
34 yarp::os::Time::delay(1);
virtual void drawView(bool left, bool right, bool wide)
Render the requested view.
virtual bool checkSync(bool reset)
virtual bool getImage(yarp::sig::ImageOf< yarp::sig::PixelRgb > &img)
virtual void simLoop(int h, int w)
Run the simulation.
virtual void init(RobotStreamer *streamer, RobotConfig *config)
Initialization.
virtual void clearBuffer()
Signal that we're done with a view.