用户体验设计师,在这里学习AndroidStudio,
我一直在尝试从展示应用程序中获取 52hz 的 IMU9 数据,不幸的是我没有成功。我遵循有关如何订阅不同采样率的文档,这表明这样做
mdsSubscriptionIMU = Mds.builder().build(this).subscribe(URI_EVENTLISTENER, FormatHelper.formatContractToJson(MovesenseConnectedDevices.getConnectedDevice(0) .getSerial(), SELECTED_PATH +"52"), new MdsNotificationListener() {
我应该给我一个 52 赫兹的数据流,但是当我在日志上监控时,我总是像这样每秒得到 13 次更新
I/System.out: timestamp: 958536.0//// ACC X: 0.01914326474070549//// SELECTED_PATH : Meas/IMU9/52
I/System.out: timestamp: 958613.0//// ACC X: -0.01914326474070549//// SELECTED_PATH : Meas/IMU9/52
I/System.out: timestamp: 958690.0//// ACC X: 0.028714897111058235//// SELECTED_PATH : Meas/IMU9/52
I/System.out: timestamp: 958766.0//// ACC X: -0.009571632370352745//// SELECTED_PATH : Meas/IMU9/52
I/System.out: timestamp: 958843.0//// ACC X: 0.009571632370352745//// SELECTED_PATH : Meas/IMU9/52
I/System.out: timestamp: 958920.0//// ACC X: -0.04307234659790993//// SELECTED_PATH : Meas/IMU9/52
I/System.out: timestamp: 958997.0//// ACC X: -0.055036887526512146//// SELECTED_PATH : Meas/IMU9/52
I/System.out: timestamp: 959074.0//// ACC X: -0.014357448555529118//// SELECTED_PATH : Meas/IMU9/52
I/System.out: timestamp: 959151.0//// ACC X: -0.011964540928602219//// SELECTED_PATH : Meas/IMU9/52
I/System.out: timestamp: 959227.0//// ACC X: 0.0502510704100132//// SELECTED_PATH : Meas/IMU9/52
任何人都可以就如何改变采样率提供一些建议吗?