English 中文(简体)
LRF(激光测距仪)传感器数据帮助
原标题:LRF (laser rangefinder) sensor data help

我是一个使用传感器和播放器的初学者,我很难理解生成的数据。如果你能帮助我,我将不胜感激。

每次运行player+playerv程序时,都会生成一个.log文件。生成了数千行数据。

如果我们在文本编辑器中打开其中一个日志文件,它会有以下标题。

格式:

  • Messages are newline-separated
  • 每条消息的通用标头为:

    时间主机-机器人接口索引类型子类型

    (双)(uint)

其中一行是(这只是一行):

1306011115.200 16777343 6665护林员00 001 001 0511 0.000 0.000 0.0000 0.000 0.0000.000 0.588 0.562 0.559 0.546 0.540 0.539 0.536 0.532 0.529 0.529 0.536 0.536 0.534 0.534 0.527 0.526 0.526 0.527 0.535 0.535 0.537 0.543 0.549 0.576 0.589 0.593 0.598 0.593 0.592 0.579 0.569 0.563 0.563 0.558 0.563 0.565 0.5660.566 0.568 0.594 0.609 0.609 0.617 0.617 0.625 0.628 0.632 0.638 0.641 0.645 0.652 0.654 0.690 0.697 0.703 0.0000.0000.0000.0000.000.0000.0000.0000.000 0.000 0.0000.0000.0000.007 0.0000.0000.0000.00 0.0000.0000.0000.001 0.0000.0000.0000.03 0.0000.0000.0001.339 1.324 1.315 1.306 1.302 1.299 1.289 1.289 1.279 1.276 1.276 1.260 1.257 1.256 1.251 1.2511.250 1.250 1.248 1.250 1.253 1.261 1.263 1.264 1.275 1.280 1.310 1.330 1.332 1.337 1.352 1.357 1.357 0.917 0.904 0.904 0.880 0.869 0.853 0.828 0.821 0.812 0.805 0.789 0.780 0.771 0.764 0.753 0.750 0.747 0.735 0.731 0.724 0.717 0.715 0.715 0.709 0.707 0.705 0.705 0.699 0.702 0.699 0.706 0.708 0.712 0.720 0.732 0.733 0.735 0.7400.746 0.000 0.000 0.775 0.775 0.796 0.809 0.811 0.820 0.853 0.007 0.0000.0000.0000.0000.000.0000.0000.0000.0001.135 1.135 1.132 1.132 1.130 1.128 1.128 1.125 1.125 1.117 1.117 1.129 0.000 0.007 0.000 0.0000.0000.0000.0000.000

你能解释一下这些数据代表什么吗。我的意思是,每一行都对应于特定时刻生成的数据吗?而且,“0”是否表示没有障碍。

谢谢你抽出时间。我感谢你的帮助

最佳回答

RTFM;D

常规日志格式(标题)

Ranger日志数据格式

The zeroes probably denotes that no reading could be made at that angle. You coul also use the APIs provided by Player to read the log, e.g. LogProxy and RangerProxy if you re using the C++ client library.

问题回答

暂无回答




相关问题
How to group items by date range in XSLT?

I have a bunch of data that looks a little like this: <item> <colour>Red</colour> <date_created>2009-10-10 12:01:55</date_created> <date_sold>2009-10-20 22:...

How does the Python s range function work?

If I write for i in range(5): print i Then it gives 0, 1, 2, 3, 4 Does that mean Python assigned 0, 1, 2, 3, 4 to i at the same time? However if I wrote: for i in range(5): a=i+1 Then ...

How to search for a value being in a known range in mySQL

Let s say I have a query like this: SELECT * FROM table_name WHERE venue = "1" OR venue = "10" That s great, works fine. But let s say I have a list of 50 venue numbers. Is there an easy way to do ...

C#: Range intersection when endpoints are null (infinity)

Ok, I have these intersection methods to work with ranges, and they work well as long as the range endpoints are not null: public static bool Intersects<T>(this Range<T> first, Range<T&...

热门标签