eXperiment robotics framework

By default the windows only redraw when they are asked to or when the user inputs some event.

How to schedule events to happen either when the cpu is idleying or in some time interval ?

// repeat every 2 second
fltk::repeat_timeout(2,is_inside_zone_check,(void*)this);

// or do it when idle (every time)
fltk::add_idle(is_inside_zone_check,(void*)this);

void is_inside_zone_check(void * arguments){
...
}

The miarn project - written by Joao Xavier