Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
24 lines (14 sloc) 359 Bytes
#include "grabber_controller.h"
#define CYCLE_ITERATION 5
#define CYCLE_TIME 2000
task main()
{
init_grabber_controller();
for(int i = 0; i < CYCLE_ITERATION; ++i) {
Wait(CYCLE_TIME);
manipulator_take_object();
Wait(CYCLE_TIME);
manipulator_lost_object();
}
manipulator_reset_to_open();
}