我正在研究辣椒机器人的QR码扫描功能,但我找不到扫描QR码的方法。我曾尝试使用ALBarcodeReader并订阅ALMemory事件“BarcodeReader / BarcodeDetected”。没有什么对我有用。
在NAOqi 2.5中,ALBarcodeReader用于读取QR码;请在此处查看示例代码:
http://doc.aldebaran.com/2-5/naoqi/vision/albarcodereader-tuto.html
一定要打电话
ALBarcodeReader.subscribe("some-subscriber-id")
...在获得ALMemory密钥之前。