There is a list of targets that Nao can track using the Naoqi Tracker API, which works well under good lighting conditions. Here is a walkthrough on how to track a face with its head and a red ball with its arms.
Track a face with Nao’s head
First, import the necessary functions from the SIC framework:
...
Code Block |
---|
nao.tracker.request(RemoveTargetRequest(target_name)) |
Track a red ball with Nao’s arms
Set a new target
Code Block |
---|
target_name = "RedBall" |
...