Skip to content

Commit

Permalink
documentation update
Browse files Browse the repository at this point in the history
  • Loading branch information
randaz81 committed Aug 16, 2022
1 parent defd103 commit efd8f46
Show file tree
Hide file tree
Showing 14 changed files with 56 additions and 22 deletions.
13 changes: 7 additions & 6 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
cmake_minimum_required(VERSION 3.12)
project(yarp-ros2
project(yarp-devices-ros2
LANGUAGES CXX
VERSION 3.4.100)
VERSION 3.7.100)

include(FeatureSummary)

Expand All @@ -26,7 +26,7 @@ set(CMAKE_CXX_EXTENSIONS OFF)

list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake")

set(YARP_FORCE_DYNAMIC_PLUGINS TRUE CACHE INTERNAL "yarp-ros2 is always built with dynamic plugins")
set(YARP_FORCE_DYNAMIC_PLUGINS TRUE CACHE INTERNAL "yarp-devices-ros2 is always built with dynamic plugins")
option(BUILD_SHARED_LIBS "Build libraries as shared as opposed to static" ON)

option(YARP_ROS2_USE_SYSTEM_map2d_nws_ros2_msgs "If ON, use map2d_nws_ros2_msgs found in the system, otherwise build it with this project." ON)
Expand All @@ -48,13 +48,14 @@ set_property(GLOBAL PROPERTY USE_FOLDERS 1)

include(AddUninstallTarget)

find_package(YARP 3.4.1 COMPONENTS os sig dev REQUIRED)
find_package(YARP 3.7.2 COMPONENTS os sig dev REQUIRED)
set(CMAKE_C_FLAGS "${YARP_C_FLAGS} ${CMAKE_C_FLAGS}")
set(CMAKE_CXX_FLAGS "${YARP_CXX_FLAGS} ${CMAKE_CXX_FLAGS}")

yarp_configure_plugins_installation(yarp-ros2)
yarp_configure_plugins_installation(yarp-devices-ros2)

find_package(ament_cmake REQUIRED)
find_package(Doxygen)

find_package(rclcpp REQUIRED)
find_package(std_msgs REQUIRED)
Expand All @@ -72,7 +73,7 @@ else()
endif()

add_subdirectory(src)

#add_subdirectory(doc)

#if(BUILD_TESTING)
#find_package(ament_lint_auto REQUIRED)
Expand Down
40 changes: 35 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,21 @@
yarp_ros2
---------

This is a work in progress.
![YARP logo](doc/images/yarp-robot-24.png?raw=true "yarp-devices-ros2")
Yarp devices for ROS2
=====================

This repository contains the YARP devices and utilities for ROS2.

Milestones of this repository and progress https://github.com/hsp-iit/research-development/issues/59
:construction: This repository is currently work in progress. :construction:
:construction: The software contained is this repository is currently under testing. :construction: APIs may change without any warning. :construction: This code should be not used before its first official release :construction:

Documentation
-------------

Documentation of the individual devices is provided in the official Yarp documentation page:
[![YARP documentation](https://img.shields.io/badge/Documentation-yarp.it-19c2d8.svg)](https://yarp.it/latest/group__dev__impl.html)


Installation
-------------

### Build with ROS msgs compiled in separate colcon workspace

Expand Down Expand Up @@ -33,3 +43,23 @@ cmake --build build --target install
export AMENT_PREFIX_PATH=$AMENT_PREFIX_PATH:<install_prefix>
~~~

CI Status
---------

:construction: This repository is currently work in progress. :construction:

[![Build Status](https://github.com/robotology/yarp-devices-ros2/workflows/CI%20Workflow/badge.svg)](https://github.com/robotology/yarp-devices-ros2/actions?query=workflow%3A%22CI+Workflow%22)

License
---------

:construction: This repository is currently work in progress. :construction:

Maintainers
--------------
This repository is maintained by:

| | |
|:---:|:---:|
| [<img src="https://github.com/randaz81.png" width="40">](https://github.com/randaz81) | [@randaz81](https://github.com/randaz81) |
| [<img src="https://github.com/elandini84.png" width="40">](https://github.com/elandini84) | [@elandini84](https://github.com/elandini84) |
Binary file added doc/images/yarp-logo-name.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added doc/images/yarp-robot-24.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes.
File renamed without changes.
2 changes: 2 additions & 0 deletions docker/deprecated/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Files contained in this directory are deprecated.
They are stored here only for temporary reference.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,16 @@
#include <mutex>
#include <string>

class Ros2InitMobVel
{
public:
Ros2InitMobVel();

std::shared_ptr<rclcpp::Node> node;

static Ros2InitMobVel& get();
};

/**
* @ingroup dev_impl_nws_ros2 dev_impl_navigation
*
Expand All @@ -37,16 +47,6 @@
* | subdevice | - | string | - | - | No | name of the subdevice to instantiate | when used, parameters for the subdevice must be provided as well |
*/

class Ros2InitMobVel
{
public:
Ros2InitMobVel();

std::shared_ptr<rclcpp::Node> node;

static Ros2InitMobVel& get();
};

class MobileBaseVelocityControl_nws_ros2 :
public yarp::dev::DeviceDriver,
public yarp::os::Thread,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,9 @@ const std::string pointCloudTopicName_param = "topic_name";
/**
* @ingroup dev_impl_nws_ros2 dev_impl_media
*
* \brief `rgbdToPointCloudSensor_nws_ros2`: A Network grabber for kinect-like devices. It attaches to an RGBD camera and publishes directly a pointcloud.
*
* \section rgbdToPointCloudSensor_nws_ros2_device_parameters Description of input parameters
* A Network grabber for kinect-like devices.
* This device will produce one stream of data for the point cloud
* derived fron the combination of the data derived from Framegrabber and IDepthSensor interfaces.
* See they documentation for more details about each interface.
Expand Down

0 comments on commit efd8f46

Please sign in to comment.