![]() |
CloudTwin
ROS2 Humble
Digital twin for path and trajectory optimisation
|
Functions | |
| def | test_line_validation_rejects_a_wall (tmp_path) |
| def | test_unknown_and_clearance_cells_are_rejected (tmp_path) |
| def | test_world_cell_round_trip_supports_rotated_origins (tmp_path) |
| def | write_map (tmp_path, pixels, resolution=0.1, origin=None) |
Variables | |
| string | SCRIPTS_DIR = Path(__file__).resolve().parents[1] / "scripts" |
Tests for map-aware controlled obstacle geometry.
| def test_random_obstacle_core.test_line_validation_rejects_a_wall | ( | tmp_path | ) |
| def test_random_obstacle_core.test_unknown_and_clearance_cells_are_rejected | ( | tmp_path | ) |
| def test_random_obstacle_core.test_world_cell_round_trip_supports_rotated_origins | ( | tmp_path | ) |
| def test_random_obstacle_core.write_map | ( | tmp_path, | |
| pixels, | |||
resolution = 0.1, |
|||
origin = None |
|||
| ) |
Write a minimal ROS map and return its YAML path.
| string test_random_obstacle_core.SCRIPTS_DIR = Path(__file__).resolve().parents[1] / "scripts" |