...
Code Block |
---|
nao.tracker.request( StartTrackRequest(target_name=target_name, size=0.2, mode="Head", effector="None") ) |
Unregister a target
Code Block |
---|
nao.tracker.request(RemoveTargetRequest(target_name)) |
...
Set a robot position relative to target. This is only needed in Move mode. The parameters represent [coordX, coordY, coordWz, thresholdX, thresholdY, thresholdWz]. In this case, it sets the target ball to be the robot stays 30 cm away (along the x-axis) with a 10 cm threshold from the red ball. The XYZ frame reference for the robot can be found here position-identification
...