User defined function-system for autonomous driving.