Skip to content

Commit 26b99cc

Browse files
author
Helena Jäger
committed
changed README
1 parent 1b04e65 commit 26b99cc

File tree

1 file changed

+17
-1
lines changed

1 file changed

+17
-1
lines changed

README.md

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,17 @@
1-
# bitbots_pathplanning_rust
1+
# bitbots_pathplanning_rust
2+
3+
A best-effort A*-on-visibility-graph implementation for pathplanning in obstacles maps where obstacles and the robot itself are assumed to be round.
4+
5+
It exports three classes
6+
7+
## `RoundObstacle`
8+
9+
Represents a round obstacle with public fields `center: (float, float)` and `radius: float`. Can be created with the constructor `RoundObstacle(center, radius)`
10+
11+
## `ObstacleMapConfig`
12+
13+
Represents all configuration values for how obstacles should be treated with public fields `dilate: float` - the value by which the radii of the obstacles should be dilated (this should be set to approximately your own radius) - and `num_vertices` - the number of vertices the polygons approximating the round obstacles should have. Can be created with the constructor `ObstacleMapConfig(dilate, num_vertices)`
14+
15+
## `ObstacleMap`
16+
17+
Represents a set of obstacles on a plane with a given config. This has two fields: `config: ObstacleMapConfig` and `obstacles: [RoundObstacle]`. Can be created with the constructor `ObstacleMap(config, obstacles)`

0 commit comments

Comments
 (0)