簡體   English   中英

如何從不同的網絡將Choregraphe / Python腳本連接到遠程Pepper機器人?

[英]How to connect Choregraphe/Python script to remote Pepper robot from different network?

機械手連接到出站流量受限的網絡。 僅允許來自一個特定IP地址(我們的IP,例如111.111.111.111 )的入站流量。 禁止所有傳出流量。 存在與外部IP(例如222.222.222.222 )相對應的設置和dhcp。 我們想從IP 111.111.111.111連接到Pepper。 可以通過ssh nao@222.222.222.222和密碼通過SSH連接,但是我們無法通過Choregraphe或Python腳本進行連接。 這非常重要,因為我們希望能夠與機器人遠程連接以上傳不同的Choregraphe應用程序。

當我們嘗試使用Python腳本進行連接時,這是錯誤: [W] 18872 qimessaging.transportsocket: connect: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond ... RuntimeError: Failed to connect to service ALBehaviorManager on machine 1296211e-1921-3131-909b-69afa37ааа28. All endpoints are unavailable. [W] 18872 qimessaging.transportsocket: connect: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond ... RuntimeError: Failed to connect to service ALBehaviorManager on machine 1296211e-1921-3131-909b-69afa37ааа28. All endpoints are unavailable. 一定時間后,編排會掛起並崩潰。

你能給我一些建議嗎?

默認情況下,NAOqi連接通過端口9559,因此您可以檢查該端口是否被阻止。

如果無法通過端口9559連接,則可以進行端口轉發。 但是我認為這是一個與網絡更多相關的問題。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM