Skip to content
 
 

Latest commit

 

History

23 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rmw_ndn

Implementation of the ROS Middleware (rmw) Interface using NDN

Install

Install ndn-cxx and NFD

Prerequisites

sudo apt install pkg-config libsqlite3-dev libssl-dev libboost-all-dev libpcap-dev

Build and install ndn-cxx

git clone https://github.com/named-data/ndn-cxx.git -b ndn-cxx-0.6.1
cd ndn-cxx
./waf configure
./waf
sudo ./waf install

Build and install NFD

git clone https://github.com/named-data/NFD.git -b NFD-0.6.1 --recursive
cd NFD
./waf configure
./waf
sudo ./waf install
sudo cp /usr/local/etc/ndn/nfd.conf{.sample,}

Install ROS2

Prerequisites

See ROS2 documentation

Build and install

mkdir -p ros2_ndn_ws/src
cd ros2_ndn_ws
wget https://raw.githubusercontent.com/astralien3000/rmw_ndn/master/ros2.repos
vcs import src < ros2.repos
./src/ament/ament_tools/scripts/ament.py build --symlink-install

Use

Run and configure NFD

nfd-start
nfdc strategy set prefix /ros2/discovery strategy /localhost/nfd/strategy/multicast

Run publisher

. ./install/setup.bash
RMW_IMPLEMENTATION=rmw_ndn ros2 run examples_rclcpp_minimal_publisher publisher_member_function

Run subscriber

. ./install/setup.bash
RMW_IMPLEMENTATION=rmw_ndn ros2 run examples_rclcpp_minimal_subscriber subscriber_member_function

About

Implementation of the ROS Middleware (rmw) Interface using NDN

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages