Fix sensors

Signed-off-by: Vasiliy Doylov <nekodevelopper@gmail.com>
This commit is contained in:
Vasiliy Doylov 2025-03-02 11:01:09 +03:00
parent e9b6b6c7d9
commit d4ea828c36
Signed by: NekoCWD
GPG key ID: B7BE22D44474A582

View file

@ -24,9 +24,9 @@ public class TheCatTools.Window : Adw.ApplicationWindow {
async void start_sensors() { async void start_sensors() {
var gyro = new SSC.SensorAccelerometer.sync(null); var gyro = new SSC.SensorAccelerometer.sync(null);
message("Gyro created"); message("Gyro created");
/*gyro.measurement.connect((x, y, z) => { gyro.measurement.connect((x, y, z) => {
message("Gyro measure %f %f %f m/s", x, y, z); message("Gyro measure %f %f %f m/s", x, y, z);
});*/ });
// gyro.open_sync(null); // gyro.open_sync(null);
} }