How sihasiha123/nav works
This Isaac Lab navigation extension defines a quadrotor reinforcement-learning task. The main workflow is to launch training or evaluation, build goal-relative observations and rewards for navigation, produce velocity actions, and convert those actions into simulated thrust and torque. Task configuration, reset state, obstacle motion, and termination logic support that loop; a custom PPO agent and optional Omniverse example UI provide additional capabilities. Connections reflect the README and SOURCE INDEX references; unsampled task wiring is not assumed.
Main entry points: nav_env_cfg.py Navigation environment · observations.py Observations · rewards.py Reward · terminations.py Termination
Components 20
Navigation task
- Task registration
source/nav/nav/tasks/__init__.py - Navigation environment
source/nav/nav/tasks/manager_based/nav/nav_env_cfg.py - Quadcopter asset
source/nav/nav/assets/quadcopter.py - Reset and task state
source/nav/nav/tasks/manager_based/nav/mdp/events.py - Observations
source/nav/nav/tasks/manager_based/nav/mdp/observations.py - Reward
source/nav/nav/tasks/manager_based/nav/mdp/rewards.py - Termination
source/nav/nav/tasks/manager_based/nav/mdp/terminations.py - Obstacle motion
source/nav/nav/tasks/manager_based/nav/mdp/dynamic.py
Flight control
- Action adapter
source/nav/nav/tasks/manager_based/nav/mdp/actions.py - Velocity controller
source/nav/nav/controllers/velocity_controller.py - Velocity config
source/nav/nav/controllers/velocity_controller_cfg.py - LV controller
source/nav/nav/controllers/controller.py - LV config
source/nav/nav/controllers/controller_cfg.py
RL workflow
- Train runner
scripts/train.py - Evaluation runner
scripts/eval.py - Custom PPO
source/nav/nav/tasks/manager_based/nav/agents/ppo.py - Agent utilities
source/nav/nav/tasks/manager_based/nav/agents/common.py
Extension UI
- Example UI
source/nav/nav/ui_extension_example.py
Other components
- Engineer
- Isaac Lab
Connections 30
- Engineer → Train runner: launches training
README.md - Engineer → Evaluation runner: launches evaluation
README.md - Train runner → Task registration: imports tasks
scripts/train.py - Evaluation runner → Task registration: imports tasks
scripts/eval.py - Train runner → Custom PPO: imports agent
scripts/train.py - Train runner → Agent utilities: imports utilities
scripts/train.py - Evaluation runner → Custom PPO: imports agent
scripts/eval.py - Evaluation runner → Agent utilities: imports utilities
scripts/eval.py - Custom PPO → Agent utilities: uses utilities
source/nav/nav/tasks/manager_based/nav/agents/ppo.py - Navigation environment → Quadcopter asset: configures asset
source/nav/nav/tasks/manager_based/nav/nav_env_cfg.py - Navigation environment → Observations: configures MDP
source/nav/nav/tasks/manager_based/nav/nav_env_cfg.py - Navigation environment → Reward: configures MDP
source/nav/nav/tasks/manager_based/nav/nav_env_cfg.py - Navigation environment → Reset and task state: configures MDP
source/nav/nav/tasks/manager_based/nav/nav_env_cfg.py - Navigation environment → Termination: configures MDP
source/nav/nav/tasks/manager_based/nav/nav_env_cfg.py - Navigation environment → Obstacle motion: configures MDP
source/nav/nav/tasks/manager_based/nav/nav_env_cfg.py - Navigation environment → Action adapter: configures MDP
source/nav/nav/tasks/manager_based/nav/nav_env_cfg.py - Observations → Reset and task state: reads task state
source/nav/nav/tasks/manager_based/nav/mdp/observations.py - Observations → Obstacle motion: reads obstacle manager
source/nav/nav/tasks/manager_based/nav/mdp/observations.py - Reward → Reset and task state: reads task state
source/nav/nav/tasks/manager_based/nav/mdp/rewards.py - Reward → Observations: uses lidar helpers
source/nav/nav/tasks/manager_based/nav/mdp/rewards.py - Reward → Obstacle motion: reads obstacle manager
source/nav/nav/tasks/manager_based/nav/mdp/rewards.py - Termination → Reset and task state: reads task state
source/nav/nav/tasks/manager_based/nav/mdp/terminations.py - Termination → Observations: uses observation helpers
source/nav/nav/tasks/manager_based/nav/mdp/terminations.py - Termination → Obstacle motion: reads obstacle manager
source/nav/nav/tasks/manager_based/nav/mdp/terminations.py - Action adapter → Velocity controller: uses controller
source/nav/nav/tasks/manager_based/nav/mdp/actions.py - Velocity controller → LV controller: computes wrench
source/nav/nav/controllers/velocity_controller.py - Velocity controller → Velocity config: reads configuration
source/nav/nav/controllers/velocity_controller.py - Velocity config → LV config: configures controller
source/nav/nav/controllers/velocity_controller_cfg.py - LV config → LV controller: selects controller
source/nav/nav/controllers/controller_cfg.py - Isaac Lab → Example UI: enables extension
README.md