Skip to content

Commit 3cc2b7a

Browse files
christophfroehlichmergify[bot]
authored andcommitted
Fix RTD theme and perform some cleanup (#82)
* Cleanup conf.py * Update RTD theme * Reformat lists * Fix trailing whitespace (cherry picked from commit 311a61a) # Conflicts: # doc/getting_started/getting_started.rst # doc/project_ideas.rst
1 parent 621ccde commit 3cc2b7a

File tree

5 files changed

+71
-52
lines changed

5 files changed

+71
-52
lines changed

_themes/sphinx_rtd_theme/static/css/theme.css

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

conf.py

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@
1414
#
1515
import itertools
1616
import os
17-
import shutil
18-
import subprocess
1917
import sys
2018
import time
2119

@@ -26,7 +24,7 @@
2624
# -- General configuration -------------------------------------------------
2725
# General information about the project.
2826
project = "control.ros.org"
29-
author = "ros2_control Maintainers"
27+
author = "ros2_control Development Team"
3028
copyright = "{}, {}".format(time.strftime("%Y"), author)
3129

3230
# Adjust those to change ros distribution
@@ -63,7 +61,7 @@
6361
#
6462
# This is also used if you do content translation via gettext catalogs.
6563
# Usually you set "language" from the command line for these cases.
66-
language = None
64+
language = "en"
6765

6866
# List of patterns, relative to source directory, that match files and
6967
# directories to ignore when looking for source files.
@@ -89,8 +87,6 @@
8987
"sphinx.ext.extlinks",
9088
"sphinx.ext.ifconfig",
9189
"sphinx_copybutton",
92-
"sphinx.ext.autodoc",
93-
"sphinx.ext.doctest",
9490
"sphinx.ext.viewcode",
9591
]
9692

@@ -119,7 +115,7 @@
119115
# Add any paths that contain custom static files (such as style sheets) here,
120116
# relative to this directory. They are copied after the builtin static files,
121117
# so a file named "default.css" will overwrite the builtin "default.css".
122-
html_static_path = ["_static"]
118+
# html_static_path = ["_static"]
123119

124120
# Custom sidebar templates, must be a dictionary that maps document names
125121
# to template names.

doc/contributing/contributing.rst

Lines changed: 16 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -73,19 +73,23 @@ We use the following naming conventions for branches.
7373

7474
**Development branch**:
7575

76-
- Name: ``master``
77-
- CI rule for merge:
78-
- must: ``semi-binary`` (working against development branch of ros2_control)
79-
- good: ``binary`` (working against the same stable branch of other ros2_control repositories)
80-
- ``source`` build each day check against master branches of ROS 2
76+
* Name: ``master``
77+
* CI rule for merge:
78+
79+
* must: ``semi-binary`` (working against development branch of ros2_control)
80+
* good: ``binary`` (working against the same stable branch of other ros2_control repositories)
81+
82+
* ``source`` build each day check against master branches of ROS 2
8183

8284
**Stable branches**:
8385

84-
- Name: ``<ros_distro>`` (e.g., foxy, galactic)
85-
- CI rule for merge:
86-
- must: ``semi-binary`` (working against the same stable branch of other ros2_control repositories)
87-
- must: ``binary`` (working against released versions of ros2_control) - except for adding new non-braking features
88-
- ``source`` build each day against distribution branches
86+
* Name: ``<ros_distro>`` (e.g., foxy, galactic)
87+
* CI rule for merge:
88+
89+
* must: ``semi-binary`` (working against the same stable branch of other ros2_control repositories)
90+
* must: ``binary`` (working against released versions of ros2_control) - except for adding new non-braking features
91+
92+
* ``source`` build each day against distribution branches
8993

9094

9195
CI configuration
@@ -94,10 +98,10 @@ Three build stages are checking the current and future compatibility of the fram
9498

9599
1. ``binary`` - against released packages (main and testing) in ROS distributions. This Shows that direct local build is possible.
96100

97-
1. ``semi-binary`` - against released core ROS packages (main and testing), but the immediate dependencies are pulled from the source.
101+
2. ``semi-binary`` - against released core ROS packages (main and testing), but the immediate dependencies are pulled from the source.
98102
This shows that local build with dependencies is possible, and if it fails there, we can expect that after the next package sync, we will not be able to build.
99103

100-
1. ``source`` - also core ROS packages are build from source. It shows potential issues in the mid future.
104+
3. ``source`` - also core ROS packages are build from source. It shows potential issues in the mid future.
101105

102106

103107
Documentation Usage

doc/getting_started/getting_started.rst

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,25 @@
11
.. _getting_started:
22

3+
#################
34
Getting Started
4-
===============
5+
#################
56

7+
<<<<<<< HEAD
68
The ros2_control framework is released for ROS 2 Foxy.
79
To use it, you have to install ``ros-foxy-ros2-control`` and ``ros-foxy-ros2-controllers`` packages.
810
Other dependencies are installed automatically.
11+
=======
12+
Installation
13+
============
14+
>>>>>>> 311a61a (Fix RTD theme and perform some cleanup (#82))
15+
16+
Binary packages
17+
------------------
18+
The ros2_control framework is released for ROS 2 rolling.
19+
To use it, you have to install ``ros-rolling-ros2-control`` and ``ros-rolling-ros2-controllers`` packages.
920

10-
Compiling
11-
---------
21+
Building from Source
22+
---------------------------
1223

1324
If you want to install the framework from source use following commands in your workspace main folder:
1425

doc/project_ideas.rst

Lines changed: 36 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
.. _project_ideas:
22

3-
Project Ideas for GSoC 2022
3+
Project Ideas for GSoC 2024
44
=============================
55

66
Tutorials and Demos for ros2_control
@@ -10,28 +10,36 @@ This project is about extending our tutorials and examples on how to use the ros
1010
Also, existing demos should be integrated with our documentation at `control.ros.org <https://control.ros.org>`_.
1111
In general, the following tasks are envisioned:
1212

13+
<<<<<<< HEAD
1314
- Examples on simulators' integration (Gazebo and Ignition) and their use;
1415
- Showcase multi-robot and multi-controller manager use-case with examples and by using simulators
1516
- Showcase: How to do Error Management with ros2_control (graceful error handling and degradation)
1617
- Implementing different example robot-hardware architectures for industrial and service robotics
1718
- Implementing use-cases from `roadmap <https://github.com/ros-controls/roadmap>`_ repository
19+
=======
20+
* Examples on simulators' integration (Gazebo and Ignition) and their use;
21+
* Showcase multi-robot and multi-controller manager use-case with examples and by using simulators
22+
* Showcase: How to do Error Management with ros2_control (graceful error handling and degradation)
23+
* Implementing different example robot-hardware architectures for industrial and service robotics
24+
* Implementing use-cases from `roadmap <https://github.com/ros-controls/roadmap>`_ repository
25+
>>>>>>> 311a61a (Fix RTD theme and perform some cleanup (#82))
1826

1927
The all code will be placed into our `demo repository <https://github.com/ros-controls/ros2_control_demos/>`_.
2028

2129
Related design drafts:
2230

23-
- `Robot-Hardware Architectures <https://github.com/ros-controls/roadmap/blob/master/design_drafts/components_architecture_and_urdf_examples.md>`_
24-
- `GPIO Interfaces <https://github.com/ros-controls/roadmap/blob/master/design_drafts/non_joint_command_interfaces.md>`_
25-
- `Showcase mode-switching and conflict check <https://github.com/ros-controls/roadmap/blob/master/design_drafts/mode_switching_and_conflict_check.md>`_
26-
- `Movement-/Safety-critical Interfaces <https://github.com/ros-controls/roadmap/pull/51>`_
31+
* `Robot-Hardware Architectures <https://github.com/ros-controls/roadmap/blob/master/design_drafts/components_architecture_and_urdf_examples.md>`_
32+
* `GPIO Interfaces <https://github.com/ros-controls/roadmap/blob/master/design_drafts/non_joint_command_interfaces.md>`_
33+
* `Showcase mode-switching and conflict check <https://github.com/ros-controls/roadmap/blob/master/design_drafts/mode_switching_and_conflict_check.md>`_
34+
* `Movement-/Safety-critical Interfaces <https://github.com/ros-controls/roadmap/pull/51>`_
2735

2836
----
2937

3038
| Skills required/preferred:
3139
32-
- Good C++ skills
33-
- Basic understanding of ROS and/or ROS 2
34-
- Familiarity with the Gazebo simulator
40+
* Good C++ skills
41+
* Basic understanding of ROS and/or ROS 2
42+
* Familiarity with the Gazebo simulator
3543

3644
| Possible mentors: Denis Štogl
3745
| Expected size of project: 350 hours
@@ -51,18 +59,18 @@ This functionality should replace some high-level components currently used, e.g
5159

5260
The main functionalities for the components and goals of the project are:
5361

54-
- Defining a scenario in form of a multi-robot and multi-tool configuration and its behavior that serves as a benchmark.
55-
- Extending controller_manager with status publisher, providing all needed data to a mission-control component.
56-
- Adding status topics to all standard controllers.
57-
- Defining format of a YAML file where users can configure controller presets.
58-
- Implementing the mission-control module/script that sets the controller_manager, i.e., the ros2_control framework, in a specific configuration/state.
62+
* Defining a scenario in form of a multi-robot and multi-tool configuration and its behavior that serves as a benchmark.
63+
* Extending controller_manager with status publisher, providing all needed data to a mission-control component.
64+
* Adding status topics to all standard controllers.
65+
* Defining format of a YAML file where users can configure controller presets.
66+
* Implementing the mission-control module/script that sets the controller_manager, i.e., the ros2_control framework, in a specific configuration/state.
5967

6068
----
6169

6270
| Skills required/preferred:
6371
64-
- Good C++ skills
65-
- Basic understanding of ROS and/or ROS 2
72+
* Good C++ skills
73+
* Basic understanding of ROS and/or ROS 2
6674

6775
| Possible mentors: Bence Magyar, Denis Štogl
6876
| Expected size of project: 350 hours
@@ -75,23 +83,23 @@ Add support for hardware semantic components
7583

7684
The ros2_control framework relies on simple command and state interfaces in the form of double values to exchange data between hardware components and controllers. It is desired however to provide good C++ data structures both on the hardware component and the controller side which improves code readability and maintainability.
7785

78-
Earlier in the project, the concept of semantic components were introduced which essentially provides a grouping for these values and a semantic-specific API to use them. For instance, an IMU sensor will typically report 9 values, 3 values for each axis of the acelerometer, gyroscope and compass sensor parts respectively. Such values can be grouped and served through an API as a ROS IMU message or as a C++ struct for both input and output of these values while the ros2_control framework maintains it's low-profile communication interfaces internally.
86+
Earlier in the project, the concept of semantic components were introduced which essentially provides a grouping for these values and a semantic-specific API to use them. For instance, an IMU sensor will typically report 9 values, 3 values for each axis of the accelerometer, gyroscope and compass sensor parts respectively. Such values can be grouped and served through an API as a ROS IMU message or as a C++ struct for both input and output of these values while the ros2_control framework maintains it's low-profile communication interfaces internally.
7987

8088
The goal of this project is to add semantic components that are relevant for hardware components.
8189
Additionally, this project includes extending the existing simulation tools with a set of common semantic components to support different sensors and actuators.
8290

8391
Related design document and code implementations:
8492

85-
- [Few idea about Semantic Components for hardware](https://github.com/ros-controls/roadmap/pull/45)
86-
- [Semantic Components for Controllers](https://github.com/ros-controls/ros2_control/tree/master/controller_interface/include/semantic_components)
93+
* `Few idea about Semantic Components for hardware <https://github.com/ros-controls/roadmap/pull/45>`__
94+
* `Semantic Components for Controllers <https://github.com/ros-controls/ros2_control/tree/master/controller_interface/include/semantic_components>`__
8795

8896
----
8997

9098
| Skills required/preferred:
9199
92-
- Good C++ skills
93-
- Basic understanding of ROS and/or ROS 2
94-
- Basic understanding of the Gazebo simulator
100+
* Good C++ skills
101+
* Basic understanding of ROS and/or ROS 2
102+
* Basic understanding of the Gazebo simulator
95103

96104
| Possible mentors: Bence Magyar, Denis Štogl
97105
| Expected size of project: 175 hours
@@ -109,21 +117,21 @@ This work will consist of reviewing the two versions of the two controllers and
109117

110118
Related existing issues are:
111119

112-
- https://github.com/ros-controls/ros2_controllers/issues/303
113-
- https://github.com/ros-controls/ros2_controllers/issues/304
120+
* https://github.com/ros-controls/ros2_controllers/issues/303
121+
* https://github.com/ros-controls/ros2_controllers/issues/304
114122

115123
Stretch goals:
116124

117-
- https://github.com/ros-controls/realtime_tools/issues/81
118-
- https://github.com/ros-controls/ros2_controllers/issues/302
125+
* https://github.com/ros-controls/realtime_tools/issues/81
126+
* https://github.com/ros-controls/ros2_controllers/issues/302
119127

120128
----
121129

122130
| Skills required/preferred:
123131
124-
- Good C++ skills
125-
- Basic understanding of ROS and/or ROS 2
126-
- Basic understanding of unit testing with gmock
132+
* Good C++ skills
133+
* Basic understanding of ROS and/or ROS 2
134+
* Basic understanding of unit testing with gmock
127135

128136
| Possible mentors: Bence Magyar
129137
| Expected size of project: 350 hours

0 commit comments

Comments
 (0)