Replies: 3 comments 21 replies
-
hi @rt-2pm2 Don't worry , it is easy to run in 2 pcs。 Happy hacking 心刚 |
Beta Was this translation helpful? Give feedback.
-
I think I found the Autoware component that is causing the AWSim to freeze. I tried to disable the "perception" part and the simulator was able to run at 50 fps. I then tried to re-enable the perception, while tweaking the module: it seems that disabling the "traffic light module" allows the simulator to run at 40-50 fps without freezing. I am still investigating the issue, since it's not clear to me how a module on the Autoware side could cause the freeze of the AWSim. |
Beta Was this translation helpful? Give feedback.
-
I made several tests and it seems that the problem is not the "different" machines, but is dependent on the interface used to connect the nodes. As I said in the problem statement, I was able to run the AWSim-Lab and the Autoware framework on the same x86 machine. However, I was doing this selecting the "loopback" interface, as instructed in the documentation.
I want to point out that the DDS is working: I see the topics and I can run the ddsperf and test the pings on the same machine when I use the physical Ethernet interface in the cyclonedds.xml configuration file. I tried another simpler demo that required the GPU and it fails when I run it on the physical Ethernet interface. I am referring to the "rosbag playback" demo. @liuXinGangChina Have you ever tried running demos, meant to be used with the "loopback", selecting the physical Ethernet interface on the same machine? @xmfcx I saw that you made tests on a distributed configuration, do you have any comments on the issue I am seeing here? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I would like to ask whether someone is able to successfully run Autoware and AWSim Lab on two separate machines.
I followed the documentation for configuring DDS for multiple computers.
My configuration is composed as follow:
The Simulation machine is able to run the AWSim Lab simulator 60fps when no-one is subscribing to its topics. However, launching Autoware on the other machine determines the simulator to nearly freeze (0-1 fps).
I tried to just subscribe to the image_raw topic from the camera with a simple
ros2 topic hz /sensing/camera/traffic_light/image_raw
from the Autoware Machine and I notice a visible drop in the frame rate ( < 10 fps ).Do you have some hints about what could cause the issue? I guess it's a networking problem, since subscribing on the same machine does not impact the framerate. The bandwidth occupied by the camera topic is about half of the 1Gbps LAN.
I saw that someone performed tests in a distributed scenario but they were employing 10Gbps adapter. I was wondering whether that's a requirement for running the simulator on a separate machine.
Thanks in advance for any suggestions.
Beta Was this translation helpful? Give feedback.
All reactions