install script updates 2
This commit is contained in:
@@ -25,7 +25,7 @@ Wait until the drone appears in the 3D view!
|
||||
### Terminal 2: Start ArduCopter SITL
|
||||
|
||||
```bash
|
||||
source ~/venv-ardupilot/bin/activate
|
||||
source ~/.ardupilot_env
|
||||
sim_vehicle.py -v ArduCopter -f gazebo-iris --model JSON --console
|
||||
```
|
||||
|
||||
@@ -36,8 +36,8 @@ You should see:
|
||||
### Terminal 3: Run Controller
|
||||
|
||||
```bash
|
||||
source ~/venv-ardupilot/bin/activate
|
||||
cd ~/RDC_Simulation
|
||||
source activate.sh
|
||||
python scripts/run_ardupilot.py --pattern square
|
||||
```
|
||||
|
||||
|
||||
@@ -8,8 +8,8 @@ The `DroneController` class (`src/drone_controller.py`) provides a simple interf
|
||||
|
||||
```bash
|
||||
# Activate environment first
|
||||
source ~/venv-ardupilot/bin/activate
|
||||
cd ~/RDC_Simulation
|
||||
source activate.sh
|
||||
|
||||
# Run flight patterns
|
||||
python scripts/run_ardupilot.py --pattern square
|
||||
|
||||
@@ -91,8 +91,8 @@ macOS doesn't support Gazebo Harmonic. Options:
|
||||
## Verify Installation
|
||||
|
||||
```bash
|
||||
# Check ArduPilot virtual environment
|
||||
source ~/venv-ardupilot/bin/activate
|
||||
# Check ArduPilot environment
|
||||
source ~/.ardupilot_env
|
||||
python -c "import em; print('empy: OK')"
|
||||
which sim_vehicle.py
|
||||
|
||||
@@ -114,15 +114,15 @@ Wait for the drone to appear!
|
||||
|
||||
### Terminal 2 - SITL
|
||||
```bash
|
||||
source ~/venv-ardupilot/bin/activate
|
||||
source ~/.ardupilot_env
|
||||
sim_vehicle.py -v ArduCopter -f gazebo-iris --model JSON --console
|
||||
```
|
||||
Wait for "JSON received:" messages.
|
||||
|
||||
### Terminal 3 - Controller
|
||||
```bash
|
||||
source ~/venv-ardupilot/bin/activate
|
||||
cd ~/RDC_Simulation
|
||||
source activate.sh
|
||||
python scripts/run_ardupilot.py --pattern square
|
||||
```
|
||||
|
||||
@@ -131,7 +131,7 @@ python scripts/run_ardupilot.py --pattern square
|
||||
### "empy not found"
|
||||
|
||||
```bash
|
||||
source ~/venv-ardupilot/bin/activate
|
||||
source ~/.ardupilot_env
|
||||
pip install empy==3.3.4
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user