Open ancabilloni opened 3 years ago
How did you solve the problem,would you please give me some advice?
How did you solve the problem,would you please give me some advice?
@1591662691 I couldn't get it to work, so I stopped trying after a couple days.
so could you please tell me your solution,thankyou ------------------ 原始邮件 ------------------ 发件人: "lgsvl/PythonAPI" @.>; 发送时间: 2021年5月10日(星期一) 中午12:18 @.>; @.**@.>; 主题: Re: [lgsvl/PythonAPI] Remote pc running Python API does not connect to LGSVL Sim (#31)
How did you solve the problem,would you please give me some advice?
I couldn't get it to work, so I moved on from trying this.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.
@1591662691 I don't have any solution. I ended up just using PythonAPI and LGSVL on the same machine. And it's pretty straight forward, you just need to connect to localhost or 127.0.0.1.
thankyou very much ,and i have figured it out on the same machine,it needs to launch some essential mouldles .
------------------ 原始邮件 ------------------ 发件人: "lgsvl/PythonAPI" @.>; 发送时间: 2021年5月12日(星期三) 凌晨2:18 @.>; @.**@.>; 主题: Re: [lgsvl/PythonAPI] Remote pc running Python API does not connect to LGSVL Sim (#31)
@1591662691 I don't have any solution. I ended up just using PythonAPI and LGSVL on the same machine. And it's pretty straight forward, you just need to connect to localhost or 127.0.0.1.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe.
edit config.yml at svlsimulator-linux64-2021.3
change api_hostname: "localhost"
to api_hostname: "*"
# set host ip export LGSVL__SIMULATOR_HOST=192.168.1.x ./01-connecting-to-simulator.py
Hi, I'm following this tutorial https://www.lgsvlsimulator.com/docs/api-how-to-run-scenario/ and trying to run the API through a remote machine.
Sim machine runs Windows 10. API machine runs Linux. I could ping both machines back and forth. But I cannot run the Python API from remote machine. The code is basically stopped where the it tries to establish sim connection before
print ("pass")
line. The ip "195.0.0.35" is the Windows machine IP. The two machines are connected through ethernet directly.I also added new rule for Inbound Rules and Outbound Rules on Windows 10 machine to allow TCP connection on port 8181. But that still didn't help. Can you provide some insight on this issue?
Here is the code