Menu help
Close
Menu
Functions Vision
Import and declare the vision function:
from robot_library import Vision
vision = Vision()
FindObject
object_list = vision.FindObject(color)
- color “RED”, “GREEN”, “BLUE”, “YELLOW”
- object_list: list output with all the objects
MoveToObject
vision.MoveToObject(object_list, number, ZDistance)
- object_list: list with objects that is generated with FindObject
- number: if not specified first number out of the object_list
- ZDistance: the robot will stop x amount of mm above the object, and scan again to get a precise location of the object.
