0

我想在 200-250 Hz 左右记录陀螺仪数据和伺服输出。我关注了这个https://www.youtube.com/watch?v=p0WAPgaa7Rs视频,我确实得到了陀螺仪和伺服输出数据。但是当我将它们转换为 CSV 文件并仔细查看时,它们以不同的时间戳记录,并且值之间的时间差从 1 毫秒到 12 毫秒不等。有没有办法用相同的时间戳记录它们?并获得特定时间戳的读数?

陀螺数据样本 |timestamp|x|y|z|

|8080012|0.015552861|-0.011291803|-0.0028229507|

|8081261|0.013901701|-0.010492855|-0.0065513765|

|8083754|0.015233281|-0.012144014|-0.0073503247|

|8091236|0.015180019|-0.010705908|-0.004101268|

|8094977|0.015126755|-0.014700649|-0.00495348|

|8097469|0.0116113825|-0.014061491|-0.004740427|

|8101211|0.018269286|-0.0145408595|-0.005113269|

|8104952|0.016245283|-0.013848438|-0.005592638|

|8108699|0.011451593|-0.014061491|-0.005752428|

|8114931|0.013528858|-0.0139549645|-0.005539375|

|8118671|0.015339808|-0.014807176|-0.00314253|

|8122415|0.016138757|-0.014913702|-0.0053263223|

|8126154|0.018482339|-0.014913702|-0.0020240024|

|8128654|0.014487596|-0.0127831735|-0.0040480047|

伺服输出数据样本

|8089031|912|912|912|912|

|8090294|913|913|913|913|

|8092775|913|913|913|913|

|8100254|916|916|916|916|

|8104009|917|917|917|917|

|8106544|918|918|918|918|

|8110226|920|920|920|920|

|8114029|921|921|921|921|

|8117714|922|922|922|922|

|8123950|924|924|924|924|

|8127685|926|926|926|926|

|8131421|927|927|927|927|

|8135189|928|928|928|928|

|8137663|929|929|929|929|

4

0 回答 0