Skip to content

BlackTea12/ros2_robot_react_app

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ros2_robot_react_app

GitHub stars GitHub forks GitHub issues GitHub license

Overview

React Application for ROS 2 Robot

ros brdige

sudo apt install -y ros-$ROS_DISTRO-rosbridge-suite

Installation

cd your_ws
git clone https://github.com/tasada038/ros2_robot_react_app.git
cd ~/your_ws/ros2_robot_react_app
npm install

Run

First shell, run ros2_robot_react_app in the browser

cd ~/your_ws/ros2_robot_react_app
npm start

Second shell, launch the rosbridge_server

source /opt/ros/{distro}/install/setup.bash
ros2 launch rosbridge_server rosbridge_websocket_launch.xml

access the browser below.

  Local:            http://localhost:3000

React_ros2_app

Publish and Subscribe Topics

The topics of the ros2_robot_react_app are as follows.

Publish data

  • /cmd_vel

Subscribe data

  • /color/image_raw/compressed
  • /bno055/imu/data
  • /map
  • /odom

About

React Application for ROS 2 Robot

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 96.3%
  • HTML 2.0%
  • CSS 1.7%