airsim 0.2.0

an unofficial Airsim SDK written in Rust
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
use airsim::controller::Car;
use airsim::{airsim::Client, controller::keyboard::Controller};
use async_std::task;
use std::io::Result;

async fn run_car() -> Result<()> {
    let address = "127.0.0.1:41451";
    let controller = Controller::new(Client::connect(address).await?);
    controller.setup().await?;
    controller.run();
    Ok(())
}

fn main() -> Result<()> {
    task::block_on(run_car())
}