Podglad kamery przez przegladarke (web_video_server + Tailscale)
Obraz z dowolnego topicu ROS ogladany na telefonie/laptopie przez przegladarke
1. Wymagane Podłączenie z Tailscale
podłącz sie do sieci tailscale (telefon/laptop)
2. Podgląd:
Detekcja :
http://100.84.102.43:8080/stream_viewer?topic=/tent_detections/image&type=ros_compressedKamera OAK (surowy obraz):
http://100.84.102.43:8080/stream_viewer?topic=/oak/rgb/image_raw&type=ros_compressedLista wszystkich topicow
http://100.84.102.43:8080/- wybierz
stream_viewer,ros_compressed
detektor publikuje podglad tylko gdy ktos go oglada Zamkniecie karty w przegladarce = zerowy narzut. Nie musisz nic wylaczac.
3. Instalacja (raz)
bash
sudo apt update
sudo apt install ros-humble-web-video-server4. Uruchomienie
uruchamiane juz w ros2 launch drone_bringup suas_detect_jetson.launch.py
lub możliwe uruchomienie w osobnym terminalu:
bash
source /opt/ros/humble/setup.bash
source ~/Dron_symulacja/install/setup.bash
ros2 run web_video_server web_video_server --ros-args \
-p port:=8080 \
-p address:=0.0.0.0Zostaw terminal otwarty. Ctrl+C konczy serwer.