Lua with zeromq

Typically: "How do I... ", "How can I... " questions
Post Reply
neostek
Posts: 23
Joined: 15 Feb 2013, 10:26

Lua with zeromq

Post by neostek »

Hi,

where can i find a tutorial that explain how to extend the lua's functionalties in vrep?
Because i would to add the zeromq lua library bindings and use it inside a child script.
thank you very much for your help

coppelia
Site Admin
Posts: 10361
Joined: 14 Dec 2012, 00:25

Re: Lua with zeromq

Post by coppelia »

Hello,

normally there is not much to do, you simply drop the various files into V-REP's directory, then, inside of your script that requires the extension library, you write something like:

Code: Select all

extensionLib=require("nameOfTheLib")
Have a look how it was done with the luaSocket library (you can find one example in the demo scene socketAndTubeCommunicationExample.ttt)

Cheers

Post Reply