Skip to content

AirSim with ROS WSL2 Connection Error #3095

Description

I've been trying to connect my WSL2 ROS instance to AirSim on Windows. The settings.json I am using is front_stereo_and_center_mono.json from airsim_tutorial_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:

Exception raised by the API:
rpclib: function 'simGetGroundTruthEnvironment' (called with 1 arg(s)) threw an exception. The exception contained this information: Vehicle Sim-API for 'SimpleFlight' is not available. This could either because this is not a simulation or this vehicle does not exist.

Currently, I am using Ubuntu 20.04 in WSL2 and have confirmed that the ros packages work on another linux computer running only Ubuntu 20.04.

Has anyone ran into this issue and resolved it?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions