Skip to content

Latest commit

 

History

History
68 lines (47 loc) · 2.21 KB

README.md

File metadata and controls

68 lines (47 loc) · 2.21 KB

YARP logo Yarp devices for ROS2

This repository contains the YARP devices and utilities for ROS2.

Documentation

Documentation of the individual devices is provided in the official Yarp documentation page: YARP documentation

Installation

Build with pure CMake commands

# Configure, compile and install
cmake -S. -Bbuild -DCMAKE_INSTALL_PREFIX=<install_prefix>
cmake --build build
cmake --build build --target install

# Make YARP devices available
export YARP_DATA_DIRS=$YARP_DATA_DIRS:<install_prefix>/share/yarp

# Make ROS msgs available in [ament index](https://github.com/ament/ament_index)
export AMENT_PREFIX_PATH=$AMENT_PREFIX_PATH:<install_prefix>

Build with ROS msgs compiled in separate colcon workspace

# Compile the colcon workspace containing the required messages and services
(cd ros2_interfaces_ws && colcon build)

# Make the workspace available
. ros2_interfaces_ws/install/setup.bash

# Configure and compile
cmake -S. -Bbuild -DYARP_ROS2_USE_SYSTEM_map2d_nws_ros2_msgs:BOOL=ON -DYARP_ROS2_USE_SYSTEM_yarp_control_msgs:BOOL=ON -DCMAKE_INSTALL_PREFIX=<install_prefix>
cmake --build build
cmake --build build --target install

# Make YARP devices available
export YARP_DATA_DIRS=$YARP_DATA_DIRS:<install_prefix>/share/yarp

CI Status

Build Status

License

License

Maintainers

This repository is maintained by:

@randaz81
@elandini84