This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

Logicmachine + Neato JS SDK
#1
Hello,

I have problem with combining logicmachine and neato robot sdk. I have developed my sdk website which must control my robot.

For example:

If i write https://mywebsite.com/robot.php?start_robot=2 then my robot should start and
https://mywebsite.com/robot.php?start_robot=1 should stop. 

When website fully loaded then need 3-4 more seconds to start robot script. I tried to implement this url to logicmachine http request, but its not working.

For example(logicmachine script):

local http = require('socket.http')
value = event.getvalue()


if(value == true) then
    body = http.request('https://mywebsite.com/robot.php?start_robot=2')
else
    body = http.request('https://mywebsite.com/robot.php?start_robot=1')  
end

How i should deal with this situation?
Reply


Messages In This Thread
Logicmachine + Neato JS SDK - by usyntax - 14.03.2019, 12:27
RE: Logicmachine + Neato JS SDK - by Daniel - 14.03.2019, 13:33
RE: Logicmachine + Neato JS SDK - by usyntax - 14.03.2019, 14:20
RE: Logicmachine + Neato JS SDK - by admin - 15.03.2019, 07:11

Forum Jump: