CloudTwin  ROS2 Humble
Digital twin for path and trajectory optimisation
Classes | Namespaces | Functions | Variables
test_random_obstacle_spawner.py File Reference

Classes

class  test_random_obstacle_spawner.CancelTimer
 
class  test_random_obstacle_spawner.ControlledEmergencyStateSpawner
 
class  test_random_obstacle_spawner.ControlledPatrolStateSpawner
 
class  test_random_obstacle_spawner.FakeCycleSpawner
 
class  test_random_obstacle_spawner.MotionSpawner
 
class  test_random_obstacle_spawner.OpenMap
 
class  test_random_obstacle_spawner.RecordingLogger
 

Namespaces

 test_random_obstacle_spawner
 

Functions

def test_random_obstacle_spawner.dense_segment_is_valid (grid, start, end)
 
def test_random_obstacle_spawner.hospital_map ()
 
def test_random_obstacle_spawner.minimum_emergency_distance (phase)
 
def test_random_obstacle_spawner.path_length (start, waypoints)
 
def test_random_obstacle_spawner.position_on_path (start, waypoints, elapsed, speed=1.0)
 
def test_random_obstacle_spawner.route_path_length (route)
 
def test_random_obstacle_spawner.route_position_at (route, elapsed)
 
def test_random_obstacle_spawner.sample_route_points (start, waypoints)
 
def test_random_obstacle_spawner.sampled_routes_min_distance (routes)
 
def test_random_obstacle_spawner.shared_track_min_distance (routes)
 
def test_random_obstacle_spawner.test_close_humans_can_move_apart ()
 
def test_random_obstacle_spawner.test_close_humans_cannot_move_closer ()
 
def test_random_obstacle_spawner.test_controlled_emergency_has_eight_spaced_gathering_points ()
 
def test_random_obstacle_spawner.test_controlled_emergency_routes_are_valid_on_hospital_map ()
 
def test_random_obstacle_spawner.test_controlled_emergency_routes_keep_distance_over_time ()
 
def test_random_obstacle_spawner.test_controlled_emergency_trigger_assigns_fixed_routes ()
 
def test_random_obstacle_spawner.test_controlled_emergency_waiting_human_uses_fixed_return_route ()
 
def test_random_obstacle_spawner.test_controlled_patrol_counts_are_fixed ()
 
def test_random_obstacle_spawner.test_controlled_patrol_routes_are_spaced ()
 
def test_random_obstacle_spawner.test_controlled_patrol_routes_are_valid_on_hospital_map ()
 
def test_random_obstacle_spawner.test_controlled_patrol_state_restarts_loop ()
 
def test_random_obstacle_spawner.test_cycle_schedules_next_emergency_after_dispersal ()
 
def test_random_obstacle_spawner.test_cycle_waits_until_dispersal_is_complete ()
 
def test_random_obstacle_spawner.test_disabled_loop_does_not_schedule_another_emergency ()
 
def test_random_obstacle_spawner.test_human_inside_robot_keepout_can_move_away ()
 
def test_random_obstacle_spawner.test_motion_rejects_robot_keepout ()
 
def test_random_obstacle_spawner.test_spawn_timeout_starts_with_successful_partial_batch ()
 
def test_random_obstacle_spawner.test_spawn_timeout_without_successful_spawns_fails ()
 
def test_random_obstacle_spawner.test_waiting_emergency_human_holds_position_when_grouped ()
 
def test_random_obstacle_spawner.test_walking_humans_can_enter_soft_spacing ()
 

Variables

 test_random_obstacle_spawner.controlled_emergency_speed
 
 test_random_obstacle_spawner.emergency_cycle
 
 test_random_obstacle_spawner.emergency_cycle_active
 
 test_random_obstacle_spawner.emergency_duration
 
 test_random_obstacle_spawner.logger
 
 test_random_obstacle_spawner.movement_started
 
 test_random_obstacle_spawner.next_emergency_time
 
 test_random_obstacle_spawner.people
 
string test_random_obstacle_spawner.SCRIPTS_DIR = Path(__file__).resolve().parents[1] / "scripts"
 
 test_random_obstacle_spawner.spawn_response_timeout
 
 test_random_obstacle_spawner.spawn_timeout_timer
 
 test_random_obstacle_spawner.started