An autonomous robot for pruning modern, planar fruit trees