This is the component provided by the Navigation Upgrade.
Component name: navigation.
Callbacks:
getPosition(): number, number, number or nil, stringnil and the string out of range if the robot is too far away from the point of reference (i.e. when it is out of bounds of the map that was used to craft the upgrade).getFacing(): numbersides constants.getRange(): numbergetPosition() will fail.findWaypoints(range: number): table Note: Requires version 1.5.9 of OpenComputers.
Finds all waypoint blocks within the specified range.
This returns a table that contains other tables. The top table has only numbered indices corresponding to each detected beacon. In each of this entries is another table, each row various aspects of the specified beacon: “position”, “redstone”, “label”.
| table: main | ||||
|---|---|---|---|---|
| table: 1 | table: position | 1: | number: x distance | |
| 2: | number: y distance | |||
| 3: | number: z distance | |||
| redstone | number: redstone strength | |||
| label | string: beacon label | |||
| Components | 3D Printer - Abstract Bus - Access Point - Chunkloader - Computer - Crafting - Data Card - Database - Debug - Drone - Drive - EEPROM - Experience - Filesystem - Generator - Geolyzer - GPU - Hologram - Internet - Inventory Controller - Leash - Microcontroller - Modem - Motion Sensor - Navigation - Net Splitter - Piston - Redstone - Redstone in Motion - Robot - Screen - Sign - Tank Controller - Tractor Beam - Transposer - Tunnel - World Sensor | |
|---|---|---|
| Others | Component Access - Signals | |
| Cross-Mod Integration | Applied Energistics |