Hello! How can I turn off the computer? The robot is in front of the computer. If you execute this command, the computer will turn on: robot.use(3, true) Tried these commands, but the computer does not turn off: robot.use(3, false) robot.swing(3)
:D Thank you very much! The robot turns on. local robot = require("robot") robot.use(3, true) This command works. Now it will be possible to do fully automatic cycle for the production of robots. Some robots will make other robots, and they in turn will perform the necessary work in the automatic mode - miners, farmers, construction of buildings, etc .. ---------- It remains only to solve the problem with the recording to hard disk needed robot programs.
If I can not automatically turn on the robot, this means that: - It is impossible to implement automated production robots. - Can not be automated production chains with these robots. The only hope - is the guru OpenComputers and programming Sangar.
Here we are talking about automating this process. If you use the right button [robot.use ()], to open the robot, and then the left button [robot.swing ()], to press the power button on the robot, the robot will not turn on, these commands do not work. local robot = require("robot") robot.use() robot.swing()
There is a new problem. We have assembled a robot. But how to activate it? How to make automatic pressing "Turn on"? Optional (if not hard): - How robots can exchange items? - The robot can access the inventory of another robot?
I connected the computer to the assembler (set next). On the computer I ran this program: local assembler = require("assembler") assembler.start() On-screen error: this module is not found. I is difficult to figure out which classes and libraries exist in OpenComputers and how they are related to specific modules (eg with Assembler). So I suggested a version of the program with the operator [assembler.start()]
I want to automate the production of robots. Robot-builder is coming to assembler and runs the program: local robot = require("robot") local c = require("component") local ic = c.inventory_controller robot.select(1) ic.dropIntoSlot(3, 1, 1) robot.select(2) ic.dropIntoSlot(3, 5, 1) robot.select(3) ic.dropIntoSlot(3, 6, 1) robot.select(4) ic.dropIntoSlot(3, 4, 1) robot.select(5) ic.dropIntoSlot(3, 14, 1) robot.select(6) ic.dropIntoSlot(3, 17, 1) robot.select(7) ic.dropIntoSlot(3, 18, 1) robot.select(7) ic.dr