ROS2 rclnodejs

From ElphelWiki
Revision as of 13:04, 19 December 2018 by Oleg (talk | contribs) (Oleg moved page ROS2 notes to ROS2 rclnodejs: better name)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Installation instructions for Kubuntu 18.04 Bionic

How to start a nodejs application for ROS2 with rclnodejs

cd ~/ros2_ws
source somehwere/ros2-linux/setup.bash
colcon build --packages-select elphel_interfaces
  • Then need to source only:
source ~/ros2_ws/install/setup.bash
cd rclnodejs
source ~/ros2_ws/install/setup.bash
yarn install
yarn link
source ~/ros2_ws/install/setup.bash
cd to some project 
yarn link "rclnodejs"
...
yarn add jquery or anything else
...
yarn start