How kennethyangle/guidance_ws works
This repository implements monocular-vision velocity estimation for multicopters, with AirSim simulation and ROS flight-experiment support. The principal workflow is to provide camera and sensor data to an optical-flow estimator, then use velocity-estimation nodes to produce motion estimates; users can run the simulation, record and replay data, or launch the flight setup. The graph includes the documented simulation and flight branches and the sampled estimator variants. Several simulation helpers and launch configurations are represented by their enclosing directories because their source was not sampled.
Main entry points: shell Record and replay · airsim_environment AirSim environment · main.cpp Velocity fusion · keyboard_controller.py Keyboard interface
Components 21
Simulation and data
- AirSim environment
src/airsim_environment - Simulation helpers
src/airsim_environment/src - Record and replay
src/airsim_environment/shell - Result visualization
src/airsim_environment/src/result.py
Vehicle control
- Keyboard interface
src/airsim_keyboard_controller/src/keyboard_controller.py - Drone command node
src/airsim_keyboard_controller/src/drone_controller.py
Optical flow
- Phase correlation flow
src/rfly_phase/main.cpp - ORB feature flow
src/rfly_orb/main.cpp - Pyramid flow
src/rfly_pyramids/main.cpp - ORB pyramid flow
src/rfly_orb_pyramids/main.cpp - Combined pyramid variant
src/rfly_orb_pyramids/complete code/main.cpp - ORB-only variant
src/rfly_orb_pyramids/orb only/main.cpp - Pyramid-only variant
src/rfly_orb_pyramids/pyramids only/main.cpp
Velocity estimation
- Velocity fusion
src/rfly_navigation/main.cpp - Navigation estimator
src/rfly_navigation2/main.cpp - Guidance estimator
src/rfly_navigation2/main_guidance.cpp - Estimation utilities
src/airsim_environment/src
Flight setup
- Flight launch profiles
src/rfly_launch/launch
Other components
- Operator
- AirSim simulator
- Guidance ROS sensors
Connections 23
- Operator → AirSim environment: starts simulation
README.md - AirSim environment → AirSim simulator: runs with
README.md - Operator → Keyboard interface: controls drone
README.md - Keyboard interface → Drone command node: sends commands
src/airsim_keyboard_controller/src/keyboard_controller.py - Drone command node → AirSim simulator: publishes commands
- Operator → Record and replay: records or replays
README.md - Record and replay → Simulation helpers: runs utilities
- Record and replay → Result visualization: views results
README.md - AirSim simulator → AirSim environment: provides simulation
- Guidance ROS sensors → Phase correlation flow: provides images
- Guidance ROS sensors → ORB feature flow: provides images
src/rfly_orb/main.cpp - Guidance ROS sensors → Pyramid flow: provides images
src/rfly_pyramids/main.cpp - Guidance ROS sensors → ORB pyramid flow: provides images
src/rfly_orb_pyramids/main.cpp - Guidance ROS sensors → Combined pyramid variant: provides images
src/rfly_orb_pyramids/complete code/main.cpp - Guidance ROS sensors → ORB-only variant: provides images
src/rfly_orb_pyramids/orb only/main.cpp - Guidance ROS sensors → Pyramid-only variant: provides images
src/rfly_orb_pyramids/pyramids only/main.cpp - Guidance ROS sensors → Velocity fusion: provides sensor data
src/rfly_navigation/main.cpp - Phase correlation flow → Velocity fusion: publishes flow input
- Operator → Flight launch profiles: starts flight setup
README.md - Flight launch profiles → Guidance estimator: launches estimator
- Velocity fusion → Operator: publishes velocity estimate
- Navigation estimator → Operator: produces estimates
- Guidance estimator → Operator: produces estimates