Currently I'm working on a robotics project. I'm using two different sensors for the project and they are connected to my PC via an ethernet switch. However, these two sensors demand two different static IPs to be set for the computer. I mean,
- for Sensor 1, I have to set the static IP of the computer as 192.168.1.102
- for Sensor 2, I have to set the static IP of the computer as 192.168.1.2
However, since my computer has only one ethernet interface, I can only set one of them at a time and cannot get data from both sensors.
Sensors are sending UDP packages to their relevant ROS drivers/packages. And I do not have access to sensors firmwares, so I cannot change the default IP addresses of the sensors.
I do not know much about networking. I hope the problem definition is clear.
Is there a software or hardware trick that I can use and get two sensors work at the same time?
I'm running Ubuntu 16.04 and ROS Kinetic.