![]() |
CloudTwin
ROS2 Humble
Digital twin for path and trajectory optimisation
|
Public Member Functions | |
| Point2D | cell_to_world (self, int row, int col) |
| int | height (self) |
| bool | is_valid_world (self, Point2D point) |
| bool | line_is_valid (self, Point2D start, Point2D end) |
| "OccupancyMap" | load (cls, str yaml_path, float clearance) |
| int | width (self) |
| Optional[Cell] | world_to_cell (self, float x, float y) |
ROS occupancy map with a clearance-aware valid-cell mask.
| Point2D random_obstacle_core.OccupancyMap.cell_to_world | ( | self, | |
| int | row, | ||
| int | col | ||
| ) |
Convert an image row/column to the centre of a map cell.
| int random_obstacle_core.OccupancyMap.height | ( | self | ) |
| bool random_obstacle_core.OccupancyMap.is_valid_world | ( | self, | |
| Point2D | point | ||
| ) |
Return whether a world point lies in the clearance-aware mask.
Sample a segment densely enough that it cannot skip a map cell.
| "OccupancyMap" random_obstacle_core.OccupancyMap.load | ( | cls, | |
| str | yaml_path, | ||
| float | clearance | ||
| ) |
Load a ROS map YAML and build a mask clear of walls/unknown cells.
| int random_obstacle_core.OccupancyMap.width | ( | self | ) |
| Optional[Cell] random_obstacle_core.OccupancyMap.world_to_cell | ( | self, | |
| float | x, | ||
| float | y | ||
| ) |
Convert map coordinates to an image row/column.