Mettre à jour chemins pour renommage wireclaw → wireclaw-jetson
This commit is contained in:
@ -45,7 +45,7 @@ un LLM les interprète et génère des commandes MAVLink vers ArduPilot.
|
|||||||
|
|
||||||
## Règles importantes
|
## Règles importantes
|
||||||
- Ne jamais modifier `.env` ni `credentials.h` (secrets WiFi/API)
|
- Ne jamais modifier `.env` ni `credentials.h` (secrets WiFi/API)
|
||||||
- Toujours tester via `~/wireclaw/start.sh` avant de commiter
|
- Toujours tester via `~/wireclaw-jetson/start.sh` avant de commiter
|
||||||
- Les commandes MAVLink passent toutes par `execute_command()` dans wireclaw_core.py
|
- Les commandes MAVLink passent toutes par `execute_command()` dans wireclaw_core.py
|
||||||
- L'état armement est synchronisé en temps réel via `monitor_armed()` (tâche de fond)
|
- L'état armement est synchronisé en temps réel via `monitor_armed()` (tâche de fond)
|
||||||
- `MAV_CMD_DO_ORBIT` (commande 34) non supportée en SITL → fallback waypoints circulaires 16 points
|
- `MAV_CMD_DO_ORBIT` (commande 34) non supportée en SITL → fallback waypoints circulaires 16 points
|
||||||
@ -54,7 +54,7 @@ un LLM les interprète et génère des commandes MAVLink vers ArduPilot.
|
|||||||
## Commandes de session
|
## Commandes de session
|
||||||
```bash
|
```bash
|
||||||
# Démarrer tout
|
# Démarrer tout
|
||||||
~/wireclaw/start.sh
|
~/wireclaw-jetson/start.sh
|
||||||
|
|
||||||
# Vérifier SITL actif
|
# Vérifier SITL actif
|
||||||
ps aux | grep -E "arducopter|mavproxy" | grep -v grep
|
ps aux | grep -E "arducopter|mavproxy" | grep -v grep
|
||||||
@ -66,7 +66,7 @@ nmcli dev status | grep wifi
|
|||||||
pkill -f hermes
|
pkill -f hermes
|
||||||
|
|
||||||
# Lancer la réception caméra Pi Zero (quand Pi Zero actif)
|
# Lancer la réception caméra Pi Zero (quand Pi Zero actif)
|
||||||
python3 ~/wireclaw/receive_cam.py
|
python3 ~/wireclaw-jetson/receive_cam.py
|
||||||
|
|
||||||
# Vérifier MJPEG stream caméra
|
# Vérifier MJPEG stream caméra
|
||||||
curl -s --max-time 2 http://localhost:5601/ | head -1
|
curl -s --max-time 2 http://localhost:5601/ | head -1
|
||||||
|
|||||||
4
start.sh
4
start.sh
@ -24,7 +24,7 @@ echo "Lancement ArduCopter..."
|
|||||||
--model + \
|
--model + \
|
||||||
--speedup 1 \
|
--speedup 1 \
|
||||||
--sim-address=127.0.0.1 \
|
--sim-address=127.0.0.1 \
|
||||||
--defaults /home/nicoboy/wireclaw/sitl_params.parm \
|
--defaults /home/nicoboy/wireclaw-jetson/sitl_params.parm \
|
||||||
> /tmp/arducopter.log 2>&1 &
|
> /tmp/arducopter.log 2>&1 &
|
||||||
sleep 3
|
sleep 3
|
||||||
|
|
||||||
@ -65,5 +65,5 @@ sleep 2
|
|||||||
|
|
||||||
# 5. Lancer WireClaw
|
# 5. Lancer WireClaw
|
||||||
echo "Lancement WireClaw..."
|
echo "Lancement WireClaw..."
|
||||||
cd ~/wireclaw
|
cd ~/wireclaw-jetson
|
||||||
/home/nicoboy/.local/bin/uvicorn web_server:app --host 0.0.0.0 --port 8765
|
/home/nicoboy/.local/bin/uvicorn web_server:app --host 0.0.0.0 --port 8765
|
||||||
|
|||||||
Reference in New Issue
Block a user