8000 GitHub - ros2web/ros2web_app
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

ros2web/ros2web_app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ros2web_app

Overview

ros2web_app is a web application framework that enables the development of web applications through YAML configuration and the creation of ROS2 packages.

Watch the video

Installation

First install the ros2web.

python3 -m pip install -r requirements.txt

mkdir -p ~/ros2_ws/src
cd ~/ros2_ws/src
git clone https://github.com/ros2web/ros2web_app.git
cd ~/ros2_ws
colcon build
. ./install/local_setup.bash

Troubleshooting

If you get the following error with the colcon build, please update numpy.

TypeError: 'numpy._DTypeMeta' object is not subscriptable

pip install numpy --upgrade

Usage

mkdir -p ~/ros2_ws/src
cd ~/ros2_ws/src

# Create package
# ros2 web create <Package Name>
ros2 web create hello 
cd ~/ros2_ws
colcon build --symlink-install
. ./install/local_setup.bash

ros2 run hello hello

# Star ros2web (another terminal)
ros2 web server --no-auth

Access the following URL.

http://localhost:8080/hello

Examples

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0