Files
RDC_Simulation/docs/rover_controller.md
2026-01-04 00:24:46 +00:00

62 lines
1.4 KiB
Markdown

# Rover Controller
The RoverController creates a moving landing pad target.
## Usage
```bash
# Stationary (default)
python standalone_simulation.py --pattern stationary
# Moving
python standalone_simulation.py --pattern circular --speed 0.3
```
## Options
| Option | Default | Description |
|--------|---------|-------------|
| `--pattern, -p` | stationary | Movement pattern |
| `--speed, -s` | 0.5 | Speed in m/s |
| `--amplitude, -a` | 2.0 | Radius in meters |
## Patterns
| Pattern | Description |
|---------|-------------|
| stationary | Stays at origin |
| linear | Oscillates along X-axis |
| circular | Circular path |
| square | Square with sharp turns |
| random | Random positions |
## Difficulty Levels
| Level | Pattern | Speed |
|-------|---------|-------|
| Beginner | stationary | 0.0 |
| Easy | linear | 0.2 |
| Medium | circular | 0.3 |
| Hard | random | 0.3 |
| Expert | square | 0.5 |
## Progressive Testing
```bash
# 1. Static target
python standalone_simulation.py --pattern stationary
# 2. Slow circular
python standalone_simulation.py --pattern circular --speed 0.2
# 3. Faster circular
python standalone_simulation.py --pattern circular --speed 0.4
# 4. Random
python standalone_simulation.py --pattern random --speed 0.3
```
## Note
The drone cannot access rover position directly (GPS-denied). It must detect the landing pad visually via the camera.