[Rock-dev] Error connecting sonar beam of log

Fabian Franzen ffranzen at informatik.uni-bremen.de
Wed Jun 19 03:11:36 CEST 2013


Hi,

I'm getting the following error when i connect the sonar port of a
logfile to a task of mine in a ruby script. I couldn't find the error
myself, in my opinion the sonar_beam type has not been changed for some
time and the log and the bootstrap which produced the log is not very
old (1 day old logfile, the bootstrap is maybe one month old). So in my
opinion, the type should be exactly the same...

Here is the error message of my script:

/home/fabian/avalon/install/lib/ruby/1.9.1/typelib.rb:238:in
`from_ruby': cannot convert #</base/samples/SonarBeam: 0x21bfc450
ptr=0x1c258c60> to /base/samples/SonarBeam: the types have the same name
but different definitions (ArgumentError)
    from
/home/fabian/avalon/tools/orocos.rb/lib/orocos/ruby_task_context.rb:147:in
`write'
    from
/home/fabian/avalon/tools/orocos.rb/lib/orocos/ruby_task_context.rb:174:in
`write'
    from
/home/fabian/avalon/tools/orocos.rb/lib/orocos/log/task_context.rb:164:in `update'
    from
/home/fabian/avalon/tools/orocos.rb/lib/orocos/log/task_context.rb:337:in `block
in write'
    from
/home/fabian/avalon/tools/orocos.rb/lib/orocos/log/task_context.rb:336:in `each'
    from
/home/fabian/avalon/tools/orocos.rb/lib/orocos/log/task_context.rb:336:in `write'
    from
/home/fabian/avalon/tools/orocos.rb/lib/orocos/log/replay.rb:514:in `step'
    from
/home/fabian/avalon/tools/orocos.rb/lib/orocos/log/replay.rb:366:in `align'
    from
/home/fabian/avalon/tools/orocos.rb/lib/orocos/log/replay.rb:472:in `step'
    from
/home/fabian/avalon/tools/orocos.rb/lib/orocos/log/replay.rb:556:in `run'
    from scripts/test_signal_processing.rb:16:in `block in <main>'
    from
/home/fabian/avalon/tools/orocos.rb/lib/orocos/process.rb:398:in `block
in run'
    from
/home/fabian/avalon/tools/orocos.rb/lib/orocos/process.rb:832:in `guard'
    from
/home/fabian/avalon/tools/orocos.rb/lib/orocos/process.rb:397:in `run'
    from /home/fabian/avalon/tools/orocos.rb/lib/orocos/process.rb:74:in
`run'
    from scripts/test_signal_processing.rb:12:in `<main>'

Any ideas? (I am using the master bootstrap btw.)

Regards,
Fabian


More information about the Rock-dev mailing list