-
Notifications
You must be signed in to change notification settings - Fork 8
Traefik and teleoperation
Stefano Bernagozzi edited this page Jul 15, 2022
·
3 revisions
cd ~/tmp/traefik_5G
docker-compose up -d
- then split the terminator opened in 3:
- in the first one:
YARP_PORTNUMBER_r1=11000 yarp repeat /r1
- in the second one:
YARP_PORTNUMBER_r2=11001 yarp repeat /r2
- in the third:
yarp connect /freeFloorViewer/floorEnhanced:o /r1; yarp connect /navigationGui/map:o /r2; yarp connect /webview/headClick:o /freeFloorViewer/clicked_head:i; yarp connect /webview/mapClick:o /navigationGui/yarpviewTarget:i; yarp connect /webview/navClick:o /freeFloorViewer/clicked_pos:i
then if you go to https://webgui.docker:33000 you should see the website
- download https://github.com/elandini84/yarp-web-teleop
- launch the server
python3 server.py