代码和具体分析已上传github : https://github.com/Xiaomeng-X/NaoTask-grab-red-ball--python
视觉部分参考文章:NAO机器人高尔夫中的视觉系统设计