Simulator

The Simulator link is used when using the AUTD Simulator.

Before using this link, you need to start the AUTD Simulator.

Install

cargo add autd3-link-simulator --features blocking
target_link_libraries(<TARGET> PRIVATE autd3::link::simulator)

Included in the main library.

Included in the main library.

Included in the main library.

APIs

In the constructor of Simulator, specify the IP address and port number of the AUTD Simulator.

use autd3_link_simulator::Simulator;

fn main() -> Result<(), Box<dyn std::error::Error>> {
let _ = 
Simulator::new("127.0.0.1:8080".parse()?);
Ok(())
}
#include "autd3/link/simulator.hpp"

int main() {
using namespace autd3;
link::Simulator("127.0.0.1:8080");
return 0; }
using System.Net;
using AUTD3Sharp.Link;

new Simulator(new IPEndPoint(IPAddress.Parse("127.0.0.1"), 8080));
from pyautd3.link.simulator import Simulator

Simulator("127.0.0.1:8080")