anton-matosov / rclpy

rclpy (ROS Client Library for Python)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

rclpy

ROS Client Library for the Python language.

Building documentation

Documentation can be built for rclpy using Sphinx, or accessed online

For building documentation, you need an installation of ROS 2.

Install dependencies

sudo apt install python3-sphinx python3-pip
sudo -H pip3 install sphinx_autodoc_typehints

Build

Source your ROS 2 installation, for example:

. /opt/ros/foxy/setup.bash

Build code:

mkdir -p rclpy_ws/src
cd rclpy_ws/src
git clone https://github.com/ros2/rclpy.git
cd ..
colcon build --symlink-install

Source workspace and build docs:

source install/setup.bash
cd src/rclpy/rclpy/docs
make html

About

rclpy (ROS Client Library for Python)

License:Apache License 2.0


Languages

Language:Python 65.9%Language:C 31.8%Language:C++ 1.4%Language:CMake 0.8%Language:Batchfile 0.1%Language:Makefile 0.1%