sherpa-eu / unreal_vision_bridge

Unreal to ROS bridge for UnrealVision
GNU General Public License v3.0
0 stars 1 forks source link

How to use it? #1

Open DominikAUT opened 4 years ago

DominikAUT commented 4 years ago

Hy, I added the URoboVision plugin and the RGB camera and set the port 9090. After that I started a TCP server in ROS with the command: "roslaunch rosbridge_server rosbridge_tcp.launch" It also starts at port 9090. Still I don't get any pictures. Where do I have to insert the "unreal_vision_bridge"?

Sanic commented 4 years ago

Hi,

this is a ROS package that provides a single node that connects to the URoboVision Plugin via TCP. It's not using rosbridge for that purpose. Start UE4 and then start this ROS node.

Please check that you also pass the correct IP to that node (ref. https://github.com/sherpa-eu/unreal_vision_bridge/blob/master/src/unreal_vision_bridge.cpp#L185)

DominikAUT commented 4 years ago

Thank you for your prompt reply

DominikAUT commented 4 years ago

Sorry I tried different things. I have installed the Unreal Engine on Windows and ROS on Ubuntu. There are two different IP adresses. In the ROS Package there are also two different IPs one in the launch file and the other in the cpp file. I have tried all four options but I am not getting any pictures. Are there any game instance to change in Unreal? Thanks for support

Sanic commented 4 years ago

Hi, please check if you have the bind to any IP setting in URoboVision and activate that. After that, try to use telnet on the client machine that wants to connect URoboVision. Example: telnet your.ip.address.here 10000

You should get the connection accepted if URoboVision is correctly set up and reachable via the network.

DominikAUT commented 4 years ago

Thank you so much for your great support. I get the thing done. Unfortunately, an error message came up after a few hours. I googled and found that there is a problem with the PCL header timestamp. After reinstalling the Catkin_ws the problem was solved, but it reappears after a while. Do you happen to know how to fix the problem permanently?

Error_Vision_Bridge

Sanic commented 4 years ago

Sorry, but i haven't heard of that.

DominikAUT commented 4 years ago

This is a huge problem, it feels like it works 100 times and suddenly this error occurs. I am desperate. Maybe it's the virtual box. I installed the Unreal Engine on Windows and ROS on Ubuntu