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

Lua 5.1/5.2 supported? #10

Open
vkee opened this issue Nov 2, 2016 · 2 comments
Open

Lua 5.1/5.2 supported? #10

vkee opened this issue Nov 2, 2016 · 2 comments

Comments

@vkee
Copy link

vkee commented Nov 2, 2016

Is Lua 5.1/5.2 supported? I updated to that from the default installed with Torch for other packages and it seems to have broken torch-ros.

@andreaskoepf
Copy link
Member

Hi Vincent,

I have not yet tested with Lua 5.1/5.2 - probably it is not working out
of the box. I guess there could be some minor differences between the
luajit ffi and the facebook luaffifb
(https://github.com/facebook/luaffifb) and I am not sure if there is an
equivalent of the lua bit operation module (http://bitop.luajit.org/)
for Lua 5.1/5.2. What error messages are you seeing? Is torch7 itself
still working correctly?

Andreas

@vkee
Copy link
Author

vkee commented Nov 2, 2016

Torch7 itself works fine for me.

The error comes up when I try to make a publisher.
This is the error message.

/home/rosie/torch/install/bin/lua: /home/rosie/torch/install/share/lua/5.2/ros/utils.lua:42: type void* has no member cdata
stack traceback:
[C]: in function '__index'
/home/rosie/torch/install/share/lua/5.2/ros/utils.lua:42: in function 'cdata'
/home/rosie/torch/install/share/lua/5.2/ros/NodeHandle.lua:199: in function 'advertise'
...e/rosie/catkin_ws/src/live_torch/scripts/segment_img.lua:50: in main chunk
[C]: in function 'dofile'
...osie/torch/install/lib/luarocks/rocks/trepl/scm-1/bin/th:145: in main chunk
[C]: in ?

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

2 participants