avoid ros dependence in do_task simulation