roswasm_suite
roswasm_suite copied to clipboard
roswasm_tutorials not working
Thanks for this great work. It seems that there's a bug in roswasm_tutorials' CMakeLists.txt.
When trying to launch the example mentioned in README:
roslaunch roswasm run_server.launch pkg:=roswasm_tutorials node:=listener.html
I get the following error:
Traceback (most recent call last):
File "/sandbox/webgui_ws/devel/lib/roswasm/run.py", line 15, in <module>
exec(compile(fh.read(), python_script, 'exec'), context)
File "/sandbox/webgui_ws/src/roswasm_suite/roswasm/scripts/run.py", line 62, in <module>
raise RuntimeError('Could not find any path, checked the following paths:\n%s' % '\n'.join(checked))
RuntimeError: Could not find any path, checked the following paths:
/sandbox/webgui_ws/devel/etc/roswasm_tutorials/listener.html
/sandbox/webgui_ws/devel/include/roswasm_tutorials/listener.html
/sandbox/webgui_ws/devel/lib/roswasm_tutorials/listener.html
/sandbox/webgui_ws/devel/libexec/roswasm_tutorials/listener.html
/sandbox/webgui_ws/devel/share/roswasm_tutorials/listener.html
/sandbox/webgui_ws/src/roswasm_suite/roswasm_tutorials/listener.html
/opt/ros/noetic/etc/roswasm_tutorials/listener.html
After linking the file manually from src/roswasm_suite/roswasm_tutorials/www/
to devel/lib/roswasm_tutorials/
demo works as intended.
I'm using catkin build and ROS noetic on Ubuntu 20.04.