Skip to content

Commit fe133c3

Browse files
author
Saurav Agarwal
committed
Update docs
1 parent faf534c commit fe133c3

File tree

11 files changed

+46
-25
lines changed

11 files changed

+46
-25
lines changed

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ The library provides a simulation environment, algorithms, and GNN-based archite
77
<img align="right" width="300" src="https://github.com/KumarRobotics/CoverageControl/raw/main/doc/graphics/LPAC.gif">
88

99
**Key features:**
10-
- The core library `CoverageControlCore` is written in `C++` and `CUDA` to handle large-scale simulations
10+
- The core library is written in `C++` and `CUDA` to handle large-scale simulations
1111
- There are `python` bindings that interface with the core library
1212
- Several Centroidal Voronoi Tessellation (CVT)-based algorithms (aka Lloyd's algorithms)
1313
- Learnable Perception-Action-Communication (LPAC) architecture for the coverage control problem is implemented in `PyTorch` and `PyTorch Geometric`
@@ -20,7 +20,9 @@ The library is available as a `pip` package. To install the package, run the fol
2020
pip install coverage_control
2121
```
2222

23-
See the [Quick Start](https://kumarrobotics.github.io/CoverageControl/quick_start.html) guide for a quick introduction to the library.
23+
See [Installation](https://kumarrobotics.github.io/CoverageControl/installation.html) for more details on installation.
24+
25+
See [Quick Start](https://kumarrobotics.github.io/CoverageControl/quick_start.html) guide for a quick introduction to the library.
2426

2527
---
2628

cppsrc/core/include/CoverageControl/cgal/polygon_utils.h

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,8 @@ void PolygonYMonotonePartition(PointVector const &polygon,
4747
*
4848
* @param[in] num_polygons The number of polygons to generate
4949
* @param[in] max_vertices The maximum number of vertices in each polygon
50-
* @param[bounding_box_lower] The lower left corner of the bounding box
51-
* @param[bounding_box_upper] The upper right corner of the bounding box
52-
* @param[radius] The radius of the circle in which the polygons are generated
50+
* @param[in] half_width The half-width of the polygon
51+
* @param[in] world_size The size of the world
5352
* @param[out] polygons The output polygons
5453
*/
5554

doc/config/custom.css

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -67,13 +67,13 @@ html.dark-mode .bordered_image object[type="image/svg+xml"] /* doxygen 1.9.3 */
6767
text-align: right;
6868
}
6969

70-
#nav-tree a:focus {
71-
outline-style: none;
72-
}
70+
/* #nav-tree a:focus { */
71+
/* outline-style: none; */
72+
/* } */
7373

74-
#nav-tree .selected .arrow {
75-
opacity: var(--side-nav-arrow-hover-opacity)
76-
}
74+
/* #nav-tree .selected .arrow { */
75+
/* opacity: var(--side-nav-arrow-hover-opacity) */
76+
/* } */
7777

7878
#nav-tree a:focus .arrow {
7979
font-size: 60%;

doc/config/doxygen-awesome.css

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -334,6 +334,7 @@ p.reference, p.definition {
334334
a:link, a:visited, a:hover, a:focus, a:active {
335335
color: var(--primary-color) !important;
336336
font-weight: 500;
337+
background: none;
337338
}
338339

339340
a.anchor {
@@ -806,6 +807,10 @@ html.dark-mode iframe#MSearchResults {
806807
line-height: var(--tree-item-height);
807808
}
808809

810+
#nav-tree .item > a:focus {
811+
outline: none;
812+
}
813+
809814
#nav-sync {
810815
bottom: 12px;
811816
right: 12px;
@@ -843,6 +848,7 @@ html.dark-mode iframe#MSearchResults {
843848

844849
#nav-tree .arrow {
845850
opacity: var(--side-nav-arrow-opacity);
851+
background: none;
846852
}
847853

848854
.arrow {

doc/manual/README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Coverage control with unknown features of interest has applications in various d
1111
The library provides a simulation environment, algorithms, and GNN-based architectures for the coverage control problem.
1212

1313
**Key features:**
14-
- The core library `CoverageControlCore` is written in `C++` and `CUDA` to handle large-scale simulations
14+
- The core library is written in `C++` and `CUDA` to handle large-scale simulations
1515
- There are `python` bindings that interface with the core library
1616
- Several Centroidal Voronoi Tessellation (CVT)-based algorithms (aka Lloyd's algorithms)
1717
- Learnable Perception-Action-Communication (LPAC) architecture for the coverage control problem is implemented in `PyTorch` and `PyTorch Geometric`
@@ -25,7 +25,9 @@ The library is available as a `pip` package. To install the package, run the fol
2525
pip install coverage_control
2626
```
2727

28-
See the [Quick Start](quick_start.md) guide for a quick introduction to the library.
28+
See [Installation](https://kumarrobotics.github.io/CoverageControl/installation.html) for more details on installation.
29+
30+
See [Quick Start](https://kumarrobotics.github.io/CoverageControl/quick_start.html) guide for a quick introduction to the library.
2931

3032
---
3133

doc/manual/docker.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,10 +48,10 @@ The base image is `ghcr.io/\repo_owner_lower/coveragecontrol` with different tag
4848

4949
|Tags Suffix | Flags|
5050
|--- | ---|
51-
|`python2.2.1-cuda12.3.1-ros2humble` | `--with-ros --with-cuda`|
52-
|`python2.2.1-cuda12.3.1` | `--with-cuda`|
53-
|`python2.2.1-ros2humble` | `--with-ros`|
54-
|`python2.2.1` | None|
51+
|`python2.2.2-cuda12.2.2-ros2humble` | `--with-ros --with-cuda`|
52+
|`python2.2.2-cuda12.2.2` | `--with-cuda`|
53+
|`python2.2.2-ros2humble` | `--with-ros`|
54+
|`python2.2.2` | None|
5555

5656
--------
5757

doc/manual/installation.md

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,14 @@ It is recommended to install the library inside a virtual environment.
88
pip install coverage_control
99
```
1010

11-
The package depends on the following packages, which are installed as dependencies:
11+
The package depends on the following packages
1212
- [PyTorch](https://pytorch.org/)
1313
- [PyTorch Geometric](https://pytorch-geometric.readthedocs.io/en/latest/)
14+
```bash
15+
pip install torch torchvision torch-geometric
16+
```
1417

15-
\note PyTorch and PyTorch Geometric have CPU and CUDA-specific versions. The package installs the default version (latest CUDA).
18+
\note PyTorch and PyTorch Geometric have CPU and CUDA-specific versions. The command installs the default version (latest CUDA).
1619

1720
We need the following optional packages for visualization and video generation:
1821
- `gnuplot` or `gnuplot-nox` (for visualizing environment)
@@ -51,7 +54,7 @@ git clone https://github.com/KumarRobotics/CoverageControl.git \
5154
## Docker Container
5255
Container can be created using the script in `setup_utils/create_container.sh`.
5356
```bash
54-
cd ${CoverageControl_ws}/src/CoverageControl/setup_utils
57+
cd ${CoverageControl_ws}/src/CoverageControl/setup_utils/docker
5558
bash create_container.sh --with-cuda -d ${CoverageControl_ws} # See flags below
5659
```
5760

@@ -76,10 +79,10 @@ The base image is `ghcr.io/\repo_owner_lower/coveragecontrol` with different tag
7679

7780
|Tags Suffix | Flags|
7881
|--- | ---|
79-
|`python2.2.1-cuda12.3.1-ros2humble` | `--with-ros --with-cuda`|
80-
|`python2.2.1-cuda12.3.1` | `--with-cuda`|
82+
|`python2.2.2-cuda12.2.2-ros2humble` | `--with-ros --with-cuda`|
83+
|`python2.2.2-cuda12.2.2` | `--with-cuda`|
8184
|`python2.2.1-ros2humble` | `--with-ros`|
82-
|`python2.2.1` | None|
85+
|`python2.2.2` | None|
8386

8487
The library is already built and installed in the container.
8588
However, if you want to build it again, you can do so following the [Installation from Source](#installation-from-source) instructions (except for the prerequisites).
@@ -131,6 +134,9 @@ pytest
131134

132135
## Building the Core C++ Library
133136

137+
138+
\note This is only necessary if you want to use the C++ library directly.
139+
134140
We will organize files in a **workspace** directory: `${CoverageControl_ws}` (e.g., ~/CoverageControl\_ws).
135141

136142
Add the following lines to your `~/.bashrc` file.

doc/manual/lpac.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ python python/scripts/evaluators/eval.py \
7070
or
7171
```bash
7272
python python/scripts/evaluators/eval_single_dataset.py \
73-
${CoverageControl_ws}/lpac/params/eval_single.toml
73+
${CoverageControl_ws}/lpac/params/eval_single_env.toml
7474
```
7575

7676
The `eval.toml` and `eval_single.toml` files are also provided in the `params` directory of the repository.

doc/manual/quick_start.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,9 @@ See \ref python/scripts/coverage_env/coverage_simple.py and \ref python/scripts/
8787

8888
# C++ Interface
8989

90+
\note The C++ interface is not available in the pip package. You need to build the library from source. See the [Installation](https://kumarrobotics.github.io/CoverageControl/installation.html#installation-from-source) guide for instructions.
91+
92+
9093
Include the `CoverageControl` library, algorithms, and other necessary headers:
9194
```cpp
9295
#include <CoverageControl/parameters.h>

params/coverage_control_params.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@
33
NumRobots = 32
44
NumFeatures = 32
55

6+
NumPolygons = 0
7+
MaxVertices = 10
8+
PolygonRadius = 64
9+
610
# Parameters for the environment
711
[Environment]
812

0 commit comments

Comments
 (0)