Skip to content

Latest commit

 

History

6 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RosLibJS Ros2wasm example

Installing pixi

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"

Running the demo

ros2wasm launch

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

Launching native ros2 node

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

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

2 watching

Forks

Releases

Packages

Contributors

Languages