1

I am a beginner at using sensors and Player and i have trouble understanding the data generated. I would be very thankful if you could help me.

One .log file is generated every time we run the player + playerv programs. And Thousands of lines of data is generated.

If we open one of the log files in a text editor, it has the following header.

Format:

  • Messages are newline-separated
  • Common header to each message is:

    time host robot interface index type subtype

    (double) (uint) (uint) (string) (uint) (uint) (uint)

And one of the lines is (It's just one line):

1306011115.200 16777343 6665 ranger 00 001 001 0511 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.588 0.562 0.559 0.546 0.540 0.539 0.536 0.532 0.532 0.529 0.529 0.529 0.536 0.536 0.536 0.534 0.534 0.534 0.527 0.526 0.526 0.526 0.526 0.527 0.527 0.535 0.535 0.537 0.537 0.543 0.549 0.576 0.589 0.593 0.598 0.593 0.593 0.592 0.579 0.569 0.565 0.563 0.563 0.558 0.563 0.565 0.566 0.566 0.568 0.594 0.609 0.609 0.617 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.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.007 0.000 0.977 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.007 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 1.339 1.324 1.315 1.306 1.302 1.299 1.289 1.289 1.289 1.289 1.276 1.260 1.257 1.256 1.251 1.251 1.250 1.250 1.248 1.250 1.250 1.253 1.261 1.263 1.264 1.275 1.280 1.300 1.310 1.330 1.332 1.337 1.352 1.357 1.357 1.352 0.917 0.904 0.904 0.904 0.904 0.880 0.880 0.869 0.853 0.828 0.821 0.812 0.805 0.789 0.780 0.776 0.771 0.764 0.753 0.750 0.747 0.735 0.731 0.724 0.717 0.715 0.715 0.715 0.709 0.709 0.707 0.705 0.705 0.699 0.702 0.702 0.699 0.702 0.706 0.708 0.712 0.720 0.732 0.733 0.735 0.740 0.746 0.000 0.000 0.000 0.775 0.775 0.775 0.796 0.809 0.811 0.820 0.853 0.007 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.009 0.009 0.009 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.548 0.548 0.548 0.547 0.543 0.551 0.543 0.543 0.543 0.543 0.542 0.542 0.542 0.542 0.544 0.544 0.544 0.548 0.543 0.543 0.540 0.543 0.543 0.548 1.104 1.122 1.129 1.129 1.129 1.129 1.129 1.136 1.135 1.135 1.132 1.132 1.132 1.130 1.128 1.128 1.128 1.125 1.125 1.117 1.117 1.129 1.129 0.000 0.007 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000

Can you please explain what this data represent. I mean does each line correspond to the data generated at a particular instant? and also, does "0" represent no obstacle.

Thank you for your time. I appreciate your help

Wasi
  • 1,258
  • 4
  • 14
  • 33

1 Answers1

1

RTFM ;D

General log format (header)

Ranger log data format

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.

Staffan
  • 1,769
  • 13
  • 15