ROSIntegration icon indicating copy to clipboard operation
ROSIntegration copied to clipboard

Added Websocket Support

Open JKaniarz opened this issue 3 years ago • 0 comments

  • Added WebsocketConnection object.
  • Added LWS parameters to engine.ini (otherwise websocket messages get throttled to 30hz)
  • Changed UImpl to have a rosbridge2cpp::ROSBridge pointer and updated all references.
  • Added ROSBridgeServerProtocol variable to UROSIntegrationGameInstance & AROSBridgeParamOverride
  • Changed the Init() function call chain to pass protocol variable along

Tested on UE4 4.27, ROS1 Melodic (Python 2) on Ubuntu 18.04, using rosbridge_suite 0.11.10

Note: websocket_external_port must be set on the rosbridge server: roslaunch rosbridge_server rosbridge_websocket.launch websocket_external_port:=80

JKaniarz avatar Aug 10 '22 18:08 JKaniarz