Extending/ replacing Lua in V-rep
Posted: 06 Dec 2017, 17:55
Hi,
I'm looking to get a fullscreen screenshot programatically during simulation. To that end, I've found that I need to use WxLua which I've downloaded fromhere.
Now I'm wondering how do I need to arrange the the .dll, .exe & .lua files from the downloaded folder in the V-rep installation folder so that it uses wxLua rather than the original Lua? I read something about this in the vrep manual but I can't find it now.
Your help would be much appreciated. Thanks
Just to add, I've tried copying and pasting "wx.dll" into the V-rep directory root. Then running require("wx") gives the following error:
I'm looking to get a fullscreen screenshot programatically during simulation. To that end, I've found that I need to use WxLua which I've downloaded fromhere.
Now I'm wondering how do I need to arrange the the .dll, .exe & .lua files from the downloaded folder in the V-rep installation folder so that it uses wxLua rather than the original Lua? I read something about this in the vrep manual but I can't find it now.
Your help would be much appreciated. Thanks
Just to add, I've tried copying and pasting "wx.dll" into the V-rep directory root. Then running require("wx") gives the following error:
Code: Select all
Lua runtime error: error loading module 'wx' from file '.\wx.dll':
%1 is not a valid Win32 application.
stack traceback:
[C]: ?
[C]: in function 'require'
[string "SCRIPT Dummy"]:5: in main chunk