How uppishdonkey/dronepathplanningpt2 works
This repository contains scripts for drone navigation and path-planning experiments in CoppeliaSim. The main test1 workflow scans the course with LiDAR, builds an obstacle grid, plans collision-aware routes for multiple drones, simulates their flight, and records results for plotting. Separate scripts provide standalone A* navigation and a noise-sensitivity experiment. The excerpts show the main data handoffs and shared simulator utilities; the README gives no further capability detail, and some modules are indexed but not excerpted.
Main entry points: scan_map.py LiDAR mapping and SLAM · fly_drone.py Flight simulation · plan_path.py Multi-drone path planner · sim_tools.py Simulator tools
Components 21
Course and simulation
- Course settings
shared/environment.py - Scene setup
shared/setup_environment.py - Simulator tools
shared/sim_tools.py - Domain types
shared/aliases.py
Mapping and flight
- LiDAR mapping and SLAM
test1/scan_map.py - Obstacle grid builder
test1/build_map.py - Multi-drone path planner
test1/plan_path.py - Flight simulation
test1/fly_drone.py - Grid and clearance helpers
shared/helpers.py - Test data paths
test1/files.py - Point cloud and SLAM data
test1/data - Obstacle map
test1/data - Planned paths
test1/data - Flight results
test1/results
Experiments and analysis
- Path visualization
test1/plots.py - Standalone A* navigation
astar_navigation.py - Drone movement script
move_drone.py - Noise experiment
noise_experiment.py - Noise results
results/noise_results.csv
Other components
- Experiment operator
- CoppeliaSim
Connections 33
- Experiment operator → Scene setup: runs scene setup
- Scene setup → Simulator tools: uses simulator tools
shared/setup_environment.py - Scene setup → Course settings: reads settings
shared/setup_environment.py - Simulator tools → CoppeliaSim: controls simulation
shared/sim_tools.py - Simulator tools → Domain types: uses types
shared/sim_tools.py - LiDAR mapping and SLAM → Simulator tools: reads LiDAR
test1/scan_map.py - LiDAR mapping and SLAM → Course settings: uses course settings
test1/scan_map.py - LiDAR mapping and SLAM → Domain types: uses types
test1/scan_map.py - LiDAR mapping and SLAM → Test data paths: uses data paths
test1/scan_map.py - LiDAR mapping and SLAM → Point cloud and SLAM data: writes scans
test1/scan_map.py - Obstacle grid builder → Point cloud and SLAM data: reads scan data
test1/build_map.py - Obstacle grid builder → Obstacle map: writes grid
test1/build_map.py - Obstacle grid builder → Grid and clearance helpers: uses grid helpers
test1/build_map.py - Multi-drone path planner → Obstacle map: reads grid
test1/plan_path.py - Multi-drone path planner → Grid and clearance helpers: uses path helpers
test1/plan_path.py - Multi-drone path planner → Course settings: reads starts and targets
test1/plan_path.py - Multi-drone path planner → Planned paths: writes routes
test1/plan_path.py - Flight simulation → Planned paths: reads routes
test1/fly_drone.py - Flight simulation → Simulator tools: moves drones
test1/fly_drone.py - Flight simulation → Grid and clearance helpers: checks clearance
test1/fly_drone.py - Flight simulation → Course settings: uses course settings
test1/fly_drone.py - Flight simulation → Flight results: writes outcomes
test1/fly_drone.py - Path visualization → Planned paths: reads planned routes
test1/plots.py - Path visualization → Flight results: reads flown routes
test1/plots.py - Noise experiment → Noise results: writes experiment results
noise_experiment.py - Experiment operator → LiDAR mapping and SLAM: runs mapping
- Experiment operator → Obstacle grid builder: runs grid build
- Experiment operator → Multi-drone path planner: runs planning
- Experiment operator → Flight simulation: runs flight
- Experiment operator → Path visualization: runs plotting
- Experiment operator → Standalone A* navigation: runs navigation
- Experiment operator → Drone movement script: runs movement
- Experiment operator → Noise experiment: runs experiment