-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot Switch to Auto Mode on Second Autoware Instance over LAN with Zenoh Bridge #150
Comments
Or perhaps the issue is caused by using the same zenoh-bridge-ros2dds-conf.json5 file on both machines? I’m not entirely sure, but I’ll investigate further and try to resolve it. |
Hello @Justin-Xiang ! I'm a college student studying autoware-based v2x. Having been through an issue similar to yours, I wrote down my issue right before your issue. I'm running autoware on one machine, and I've experienced an error that the auto button sometimes activates or does not activate after specifying 2d goal pose, and if not, sometimes it's resolved by shutting down the terminal and running it again. My problem is that in the process of running two autoware instruments, when you turn on the second autoware after the first autoware is set up, the two autowares are experiencing issues that collide with each other. If there's anything I set up differently, in the run-autoware-docker.sh file, I added the --network host setting so that the docker container is set to communicate in host mode, is my problem related to this? I'm studying the docker container's network, ros2 dds, zenoh bridge, so I don't know the communication structure. And can I put the ip address of host1 on run-autoware.sh ? The os on my computer are uutntu 22.04 and ROS humble, and I'm using nvidia rtx 3080. And I've been cloning the main branch of GitHub. Could you also share your development environment and settings? Lastly, I'm also looking into it to solve the problem, but if you solve the problem, it would be very helpful if you could share the method with me. If it's possible additionally, could you share the settings related to your container settings sh file and the sh file running autoware and zenoh bridge, or the ROS_DOMAIN_ID / ROS_LOCALHOST_ONLY settings for ROS communication? I wonder if there are any corrections you made in the github data. I will also research more and study to solve the problem. Thank you so much. |
@minseokim521 Hi, I came across your issue but didn’t look into it deeply since you’re using V2X and running everything on a single machine. I haven’t worked with V2X before, but I do have experience running two Autoware instances on a single machine. From my experience, I didn’t make any code modifications—just followed the documentation—and everything worked as expected. You might want to try running it without modifications to see if that makes a difference. Since our development environments seem quite similar, I don’t think hardware resources should be a constraint. Let me know if you have any other questions! |
Found this from zenoh issues: it states: @evshary Could you confirm whether this means the setup I described in this issue is currently not achievable? Additionally, would it be possible to run two zenoh_carla_bridge instances on separate machines while sharing the same Carla simulator? |
I tried your setup before and it should be available. However, the error message is quite weird and worth investigating.
Anyway, I don't think your issue is related to eclipse-zenoh/zenoh-plugin-ros2dds#305 (comment), since we don't need two Autoware to talk to each other directly. |
Hi @evshary Thanks for your response.
Let me know if you need more details-I’d be happy to provide additional information. |
Thank you! It didn't happen on my machine, but I indeed heard someone else face the issue before. I will take a look. Feel free to provide any other information if you find something weird. |
I am running two Autoware instances on two separate machines within the same LAN. The first machine (IP
192.168.1.1
) can successfully switch its vehicle to Auto mode, while the second machine (IP192.168.1.2
) cannot — even though it can successfully plan routes. Additionally, there are error messages in thezenoh_bridge_ros2dds.log
file that I have not encountered before.Setup Details
Machine 1
192.168.1.1
run-bridge-two-vehicles.sh
run-autoware.sh v1
Machine 2
192.168.1.2
run-autoware.sh
:run-autoware.sh v2
Expected Behavior
Actual Behavior
Logs and Error Messages
Below are excerpts from
zenoh_bridge_ros2dds.log
on Machine 2:It seems to be the problem of
zenoh-bridge-ros2dds
. Any insights or guidance would be highly appreciated!The text was updated successfully, but these errors were encountered: