So I've started off trying to write a tree chopping program with a robot I put together. I can get the robot to do the tasks using the interactive Lua script but when I put it into a program file I start having issues. I am pretty familiar with the Lua from CC and have played with it a good bit.
First question:
Why must I have this at the beginning of the code to call commands?
local robot = require("robot")
Issue:
When I start off with a simple
robot.swing()
robot.forward()
the robot will not move forward after it finishes swinging. However if it says to move back it will move backwards.
You can post now and register later.
If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.
So I've started off trying to write a tree chopping program with a robot I put together. I can get the robot to do the tasks using the interactive Lua script but when I put it into a program file I start having issues. I am pretty familiar with the Lua from CC and have played with it a good bit.
First question:
Why must I have this at the beginning of the code to call commands?
Issue:
When I start off with a simple
the robot will not move forward after it finishes swinging. However if it says to move back it will move backwards.
Link to post
Share on other sites