libsweep-rs

This is a Rust wrapper for the Sweep SDK for interacting with the Scanse Sweep LIDAR unit.

Instructions

You should see output like:

sweep_is_abi_compatible returned true sweep_get_version returned 65538 constructing device Motor speed: 5 Sample rate: 500 start scanning Angle 202062, Distance 23, Signal Strength: 199 Angle 204625, Distance 24, Signal Strength: 191 Angle 208125, Distance 22, Signal Strength: 175 Angle 220375, Distance 650, Signal Strength: 167 Angle 222937, Distance 380, Signal Strength: 191 Angle 225125, Distance 373, Signal Strength: 199 stop scanning test tests::ffi_calls_work ... ok