Autonomy modules for robotic systems