ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

ros2 wireless alternatives

asked 2022-10-20 20:18:27 -0600

huybeme gravatar image

Hi all,

I am working on a a project with the turtlebot3. Both my laptop and the RPi4 on the tb3 have ROS2 Foxy and Ubuntu 20.04.

The issue I am having is that while I am able to do ROS related projects at home, I cannot do it on a college campus. I have worked with IT to get a dedicated IP address to my devices but multicasting is restricted as it is deemed a security issue.

As an alternative, I tried to get a Wireless Access Point (https://www.netgear.com/business/wifi...) as a point of connecting ROS devices with less limitations (and internet). The problem here is that my laptop will not connect to this WAC unless there is internet access through it although the pi4 is able to connect to it even without internet. Now if I connect the WAC to a router and provide it internet, my laptop will connect to it. The funny thing is that I can then disconnect the WAC from the router and cut its internet connect and my laptop will still be connected to it. In addition to not having internet, I am able to communicate with ROS devices through the WAC which tells me that it is possible to use ROS through the WAC and without internet. Unfortunately, I am not allowed to plug the WAC into the campus internet since it is again deemed a security issue, even for a minute.

To cut to the chase, I was wondering if anyone knows why I am not able to connect to the WAC on my laptop when the WAC does not have internet and is there a bypass for this? I am able to do this through windows but prefer not to run ROS through windows. I have also tried to connect to the WAC via ethernet as well without success and I think for the same reason as it refusing to connect via wifi.

If there is no solution for the question above, are there any suggestions to have wireless communication between ROS devices without a router?

Thanks in advance.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2022-10-24 11:32:53 -0600

ChuiV gravatar image

Regarding connecting to your AP. Have you tried using an ethernet connetion to your router? Have you tried setting a static ip address on your laptop when connecting to your router?

Regarding connections without your router. Fastdds allows you to configure the discovery mechanism in a few ways. One is to use the discovery server. Have you looked at the fastdds documentation on connections over wifi? https://fast-dds.docs.eprosima.com/en...

edit flag offensive delete link more

Comments

Hello there! Thanks for your response. Here are some answers to your questions:

I have tried to connect to the AP with an ethernet cable which no success. It just continues to say "connecting" unless the AP is connected to a router with internet, then it will fully connect.

I just tried to set up a static address onto the router. I followed the instructions to set the router with a static IP and followed these instructions to connect my laptop to the router:

https://linuxize.com/post/how-to-conf...

This actually got my laptop connecting to the AP without having the need to plug the AP into a router. Unfortunately, now my raspberry pi is not connecting to it. It can find it as an available network. Following the instructions on the link above didn't work for my pi as well. In addition, I am not able to connect ...(more)

huybeme gravatar image huybeme  ( 2022-10-28 17:07:55 -0600 )edit

Question Tools

1 follower

Stats

Asked: 2022-10-20 20:18:27 -0600

Seen: 388 times

Last updated: Oct 24 '22