ApolloAuto / apollo

An open autonomous driving platform
Apache License 2.0
25.25k stars 9.72k forks source link

cyber communicate in two pc or on run in docker and other one run outside docker #15450

Open heartshape21 opened 4 months ago

heartshape21 commented 4 months ago

We want to use apollo cyberRT in serversral pc; AT first I tried to change the export CYBER_IP in two pc ,and source setup.bash; but it not worked. I'm sure I have followed the past issue well ,but I cannot communicate in two pc;

but the way, don't we need to modify the docker config ? or open the docker port ..etc; I use the aem to start the docker and don't know how to change the docker config in aem;

please give me some addvice,thanks

daohu527 commented 4 months ago

There are 2 conditions that need to be met here

  1. 2 physical machines are in the same network segment
  2. Modify the cyber IP configuration
heartshape21 commented 4 months ago

There are 2 conditions that need to be met here

  1. 2 physical machines are in the same network segment
  2. Modify the cyber IP configuration

YES, they are in same network segment ,and I have modified the CYBER_IP then did the export CYBER_IP=XX.XX.XX.XX in both side; but I cannot get the message form remote pc. So, can I achieve remote communication by running the apollo in aem docker? should I do some change about docker?