Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

In v1.5.6 the Robot specifig methodes are not working #1050

Closed
TheKingDave opened this issue Apr 10, 2015 · 9 comments
Closed

In v1.5.6 the Robot specifig methodes are not working #1050

TheKingDave opened this issue Apr 10, 2015 · 9 comments

Comments

@TheKingDave
Copy link

Like robot.Up() and robot.Down() are not wirking instead you have to use robot.move(direction)

@gjgfuj
Copy link

gjgfuj commented Apr 10, 2015

Uh, itd be robot.moveUp if it did exist but it probably doesn't because its
unnecessary.

On Fri, 10 Apr 2015 7:24 pm dave3004 notifications@github.com wrote:

Like robot.Up() and robot.Down() are not wirking instead you have to use
robot.move(direction)


Reply to this email directly or view it on GitHub
#1050.

@TheKingDave
Copy link
Author

I habe only reporter this because its in the wiki

@TheKingDave
Copy link
Author

@gjgfuj
Copy link

gjgfuj commented Apr 10, 2015

There is no robot.move in that api, that is the openos api, are you sure
you aren't confusing it with component.robot?

On Fri, 10 Apr 2015 7:38 pm dave3004 notifications@github.com wrote:

http://ocdoc.cil.li/api:robot


Reply to this email directly or view it on GitHub
#1050 (comment)
.

@gjgfuj
Copy link

gjgfuj commented Apr 10, 2015

Also all methods are lowercase so that could be the problem. Nonetheless
its your issue not part of oc. As far as I can tell.

On Fri, 10 Apr 2015 7:49 pm Sandra Nicole gjgfujb@gmail.com wrote:

There is no robot.move in that api, that is the openos api, are you sure
you aren't confusing it with component.robot?

On Fri, 10 Apr 2015 7:38 pm dave3004 notifications@github.com wrote:

http://ocdoc.cil.li/api:robot


Reply to this email directly or view it on GitHub
#1050 (comment)
.

@TheKingDave
Copy link
Author

2015-04-10_14 22 51
This is my issue

@KJA1582
Copy link
Contributor

KJA1582 commented Apr 10, 2015

Just run for k,v in pairs(robot) do print(k,v) end to get
all available functions.

@Vexatos
Copy link
Contributor

Vexatos commented Apr 10, 2015

@Dave3004 Do not use the robot component, use the robot API, i.e. don't do component.robot but require("robot") instead, although you only need that making your own programs, not inside the Lua interpreter.

@fnuecke
Copy link
Member

fnuecke commented Apr 10, 2015

What Vexatos said.

Sorry, something went wrong.

@fnuecke fnuecke closed this as completed Apr 10, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants