
Engineering
September 12, 2026
SensorLink: An ESP32 camera for your Jetson
Pair a Wendy Lite camera with a Jetson or Raspberry Pi and use its video in your app through standard Linux camera APIs.
Wendy Labs · Wendy Labs Team
Wendy Labs · Wendy Labs Team · November 08, 2026

A distance sensor is sitting on your desk. Your robot is still a simulation. You want to know whether the application can read the sensor, handle a malformed packet, and react when an obstacle gets close.
You can test those questions before assembling the robot. Wendy lets a physical serial device supply bytes to an application inside a WendyOS VM. The application can use those observations in an experiment while the robot, scene, or response remains simulated.
The useful part is choosing which piece to make real. You can investigate the sensor and its driver today, then test the mechanics when the hardware is ready.
Consider a bench experiment with a serial rangefinder. Your application reads distance measurements and tells a simulated controller when to stop. Moving a sheet of cardboard in front of the sensor changes the input without moving a physical robot.
This tests the actual sensor's output format, update behavior, and handling of missing or invalid readings. It also gives you a way to inspect your application's response to a real measurement.
It does not establish the physical robot's stopping distance. The sensor is real, but the simulated motion and contact behavior still need validation on hardware. Keeping that distinction explicit makes the experiment easier to interpret.
Wendy supports one host serial port per VM on macOS, Windows, and Linux. You save the host port and the device's required baud rate, then start the VM in the foreground.
For an existing stopped VM, the commands look like this. Replace the example port and baud with your sensor's settings:
wendy vm serial sensor-lab --port /dev/cu.usbmodem1101 --baud 1000000
wendy vm serial sensor-lab
wendy vm start sensor-labThe second command prints the saved mapping. Saving it does not open the port; Wendy checks availability when the VM starts.
On Windows, a port might be named COM12. On Linux, a stable path under /dev/serial/by-id/ avoids relying on a device number that can change after reconnecting it. On macOS, use the cu. device path.
Inside the guest, the forwarded adapter normally appears as /dev/ttyUSB0. Check the actual path, then give your application access through its serial entitlement:
{ "type": "serial", "device": "ttyUSB0" }Keep the VM launcher open and deploy your application from another terminal using --device vm:sensor-lab. A mapped serial device requires a foreground VM start because the launcher owns the bridge.
The bridge forwards binary bytes in both directions. Your application still needs the sensor's protocol parser, validation rules, and behavior for stale measurements.
The host line uses the configured baud with eight data bits, no parity, and one stop bit. Hardware handshaking is disabled, as are DTR and RTS. Changing serial settings inside the guest does not reconfigure the host adapter.
These details matter for devices that depend on control lines or a different framing configuration. Check the device's requirements before treating a saved mapping as a working connection.
The host holds the port exclusively while the VM runs. If the driver reports a cable disconnect or serial I/O failure, Wendy stops QEMU and reports the error. Reconnect the device and restart the VM; there is no silent reconnect. That also means a deliberate unplug test examines the VM's failure path, rather than merely producing an empty reading inside the application.
Serial forwarding gets observations into the guest. Connecting those observations to an experiment remains application work.
For the rangefinder example, define a small input contract: distance, units, measurement time when available, and a validity state. Let the controller consume that contract whether the measurement came from a simulated sensor or the serial parser.
Record which source produced each observation. A physical measurement arrives on real time, while a simulation may pause or run slower than real time. Your application needs an explicit rule for observations received during a pause and for readings that are too old to use.
Start with a display of the measurements. Once the values and timing make sense, connect them to the simulated response. This separates protocol problems from controller problems.
Wendy also supports remote cameras through SensorLink. A compatible Wendy Lite source can send video to a supported WendyOS receiver, where the agent exposes it through a virtual Linux camera. An application can then use a familiar camera API such as OpenCV.
That makes a physical receiver useful for testing perception against real lighting, blur, and network interruptions. You can design an application connection that passes its detections into a separate simulated experiment.
The built-in WendyOS VM does not expose a physical camera or microphone through general peripheral passthrough. Its serial bridge is a specific capability. Likewise, SensorLink pairing does not automatically replace a MuJoCo camera with a physical feed. You must implement and verify the connection between the perception application and the experiment.
Managed Unitree simulator profiles also keep their ROS bus isolated inside the guest. Keep that isolation and use an explicit application interface for an external input, rather than bridging the simulated robot's DDS network onto a physical robot network.
Begin with one sensor and one observable response. Can the parser recover from an invalid packet? Does the application reject old measurements? Does a detection produce the expected simulated decision?
Write down which parts of the experiment are physical and which are simulated, then keep the observations needed to explain a failure. A successful run gives you evidence about that particular connection and behavior. The next hardware test can focus on what the experiment could not measure.
Read about SensorLink camera pairing for the video path, or continue with moving an application from simulation to a physical device.
Get started
Use WendyOS on your hardware or add Wendy Agent to an existing Linux or Apple Silicon Mac. Connect sensors, run your code, and carry what you learn into the next release.