Grid of Locations
Description
Creating a grid of locations will automatically generate multiple locations evenly spaced across any given axis. This action is useful when the user wants the robot to visit multiple locations in sequence. A grid is automatically generated when creating a "rack" Module.
Editing Grids
Edit grids by selecting the desired grid in the Locator and choosing Edit from the menu. This action can also be done by right-clicking the desired entry and choosing Edit, or by double-clicking an entry and navigating to Edit.
It is not possible to edit independent locations within a grid as these changes may be overwritten when the grid is edited as a complete element. Instead, duplicate the location from the grid and treat it as a standalone location.
Using Grids (Locator.py)
Grids are also represented as lists in the Locator.py file. Each element of a grid list represents a unique location in the grid given in joint space. Location lists can also be referenced in grid lists, as shown below with location1_list.
NOTE: It is not possible to pass the name of a grid to a goto(...) command because grids contain multiple locations. Instead, pass a single element (i.e., location) of a grid by indexing it with square brackets:
IDE Guides