[Rock-dev] [rock] #225: pocolog: the stream aligner sometimes mistakes samples from a stream for samples in another stream
rock
noreply at opendfki.de
Fri Nov 23 16:51:16 CET 2012
#225: pocolog: the stream aligner sometimes mistakes samples from a stream for
samples in another stream
----------------------------+-----------------------------------
Reporter: sylvain.joyeux | Owner: rock-dev-mailing-list
Type: defect | Status: new
Priority: major | Milestone:
Component: base | Keywords:
----------------------------+-----------------------------------
The attached tgz contains a script that triggers the bug (test.rb) and a
set of logfiles. Simply run
ruby test.rb log/
I've added some sanity checks in pocolog to get a proper error message (we
were getting before a weird error in typelib unmarshalling).
Anyways, the error is:
/home/doudou/dev/rock/rock-toolchain-
master/tools/pocolog/lib/pocolog/data_reader.rb:243:in `seek': index
returned index=807 and pos=111690 as position for seek(807) but it seems
to be a sample in stream /eslam.transformer_status while we were expecting
/eslam.pose_samples (Pocolog::InternalError)
from /home/doudou/dev/rock/rock-toolchain-
master/tools/pocolog/lib/pocolog/stream_aligner.rb:453:in `step'
from /home/doudou/dev/rock/rock-toolchain-
master/tools/orocos.rb/lib/orocos/log/replay.rb:455:in `step'
from /home/doudou/dev/rock/rock-toolchain-
master/tools/orocos.rb/lib/orocos/log/replay.rb:536:in `run'
from /home/doudou/tmp/pocolog_crash/crash/analyse.rb:74:in
`trajectory_error'
from test.rb:4:in `<main>'
To me, it looks like pocolog's stream aligner gives a position of a block
to the wrong stream object.
--
Ticket URL: <https://rock.opendfki.de/ticket/225>
rock <https://rock.opendfki.de>
rock: the robot construction kit
More information about the Rock-dev
mailing list