This demo relies on pixi a package manage alternative to conda, the install instructions are available here pixi_docs, here are the required commands:
On linux or mac-os
curl -fsSL https://pixi.sh/install.sh | sh
On windows
powershell -ExecutionPolicy ByPass -c "irm -useb https://pixi.sh/install.ps1 | iex"
First to launch the ros2wasm jupyter-lite demo you just need to open the following website: https://ros2wasm.dev/jupyter-lite and run the first to cells setting ROSLIBS_ENABLE to 1
Thanks to pixi you just need to launch the following command on this directory
git clone git@github.com:ros2wasm/roslibjs_demo.git
cd roslibjs_demo
pixi run demo
This will install ros2-humble in a isolated pixi enviroment thanks to robostack and launch the rosbridge_websocket node required to comunicate to roslibjs
This also runs a minimal publisher example on the topic \topic
that can be subscribed on the notebook