[Rock-dev] Replay Scripts bug
Jakob Schwendner
jakob.schwendner at dfki.de
Mon Sep 19 10:15:36 CEST 2011
Hi Alex,
I've extended the align function so that it does perform the alignment
on the sample time, by looking if the sample has a time field. This is
done by using the :use_sample_time option to the align method. Why it's
not aligning properly I don't know. Your printout is from the c++ side,
right? Start from the ruby side, and add a filter hook for each of the
streams that dumps the time.
Jakob
On 09/16/2011 04:09 PM, Alexander Duda wrote:
> The aligning is not done for the time stamps of the samples. The
> aligning is using the points in time when the samples were logged to the
> disk.
>
> I guess you can use the aggregator for your use case.
>
> Alex
>
>
> On Fri, 2011-09-16 at 16:00 +0200, Patrick Merz Paranhos wrote:
>> Hey guys I ran into a small bug in the replay script.
>>
>>
>>
>> I am aligning the samples by the time
>>
>>
>>
>> log_replay.align( :use_sample_time )
>>
>>
>>
>> but inside my update hook they are not aligned.
>>
>>
>>
>> This is the print out of the update hook with the Odometry and Xsens
>> sample.
>>
>> Both are in the same frequency.
>>
>>
>>
>>
>>
>> Each blank space means a new call of the update hook
>> $O is the odometry time
>> #X is the xsens time
>>
>> $O 1316098282.782.294
>> #X 1316098282.900.756
>>
>> $O 1316098282.787.998
>> #X 1316098282.906.456
>>
>> $O 1316098282.803.695
>> #X 1316098282.922.165
>>
>> $O 1316098282.809.406
>> $O 1316098282.815.116
>> #X 1316098282.927.880
>> #X 1316098282.943.583
>>
>> $O 1316098282.830.822
>> $O 1316098282.836.536
>> #X 1316098282.949.290
>> #X 1316098282.954.982
>>
>> $O 1316098282.852.240
>> #X 1316098282.970.691
>>
>> $O 1316098282.857.940
>> #X 1316098282.976.394
>>
>> $O 1316098282.873.642
>> #X 1316098282.992.103
>>
>> $O 1316098282.879.353
>> $O 1316098282.885.050
>> #X 1316098282.997.807
>>
>> #X 1316098283.013.503
>>
>> $O 1316098282.900.756
>> $O 1316098282.906.456
>> #X 1316098283.019.215
>> #X 1316098283.034.927
>>
>> _______________________________________________
>> Rock-dev mailing list
>> Rock-dev at dfki.de
>> http://www.dfki.de/mailman/cgi-bin/listinfo/rock-dev
--
Jakob Schwendner, M.Sc.
Researcher
DFKI Bremen
Robotics Innovation Center
Robert-Hooke-Straße 5
28359 Bremen, Germany
Phone: +49 (0)421 17845-4120
Fax: +49 (0)421 17845-4150
E-Mail: jakob.schwendner at dfki.de
Weitere Informationen: http://www.dfki.de/robotik
-----------------------------------------------------------------------
Deutsches Forschungszentrum fuer Kuenstliche Intelligenz GmbH
Firmensitz: Trippstadter Straße 122, D-67663 Kaiserslautern
Geschaeftsfuehrung: Prof. Dr. Dr. h.c. mult. Wolfgang Wahlster
(Vorsitzender) Dr. Walter Olthoff
Vorsitzender des Aufsichtsrats: Prof. Dr. h.c. Hans A. Aukes
Amtsgericht Kaiserslautern, HRB 2313
Sitz der Gesellschaft: Kaiserslautern (HRB 2313)
USt-Id.Nr.: DE 148646973
Steuernummer: 19/673/0060/3
-----------------------------------------------------------------------
More information about the Rock-dev
mailing list