Skip to content

AirSim with ROS WSL2 Connection Error: rpc::rpc_error #3667

Description

I've been trying to connect my WSL2 ROS instance to AirSim on Windows.

Following the instructions in the docs: https://microsoft.github.io/AirSim/airsim_ros_pkgs/, when I run the command roslaunch airsim_ros_pkgs airsim_node.launch output:=screen host:=$WSL_HOST_IP it gets connected, but starts outputting this error:

Client Ver:1 (Min Req:1), Server Ver:1 (Min Req:1)
terminate called after throwing an instance of 'rpc::rpc_error'
  what():  rpc::rpc_error during call

[airsim_node-2] process has died [pid 491, exit code -6, cmd /home/ferusel/AirSim/ros/devel/lib/airsim_ros_pkgs/airsim_node __name:=airsim_node __log:=/home/ferusel/.ros/log/e7912b0a-af2d-11eb-b571-00155d953a9d/airsim_node-2.log].
log file: /home/ferusel/.ros/log/e7912b0a-af2d-11eb-b571-00155d953a9d/airsim_node-2*.log]

I am currently using WSL2 running Ubuntu 18.04, UnrealEngine4 version

These are the settings in my settings.json:

{
  "SeeDocsAt": "https://github.com/Microsoft/AirSim/blob/master/docs/settings.md",
  "SettingsVersion": 1.2,
  "LocalHostIp": "172.17.144.1",
  "CameraDefaults": {
    "CaptureSettings": [
      {
        "ImageType": 0,
        "Width": 720,
        "Height": 576,
        "FOV_Degrees": 90,
        "AutoExposureSpeed": 100,
        "MotionBlurAmount": 0
      }
    ]
  },
  "Recording": {
    "RecordInterval": 0.01
  }
}

If it helps, this was the closest error I think I could find: #3095

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug-reportfor issues filed as bug reportsros

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions