[Rock-dev] Error connecting sonar beam of log

Alexander Duda Alexander.Duda at dfki.de
Wed Jun 19 08:32:55 CEST 2013


On 06/19/2013 03:11 AM, Fabian Franzen wrote:
> 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..
I guess your system is running under 32 Bit but the log file was 
recorded on a 64 Bit system.
To convert to a 32 Bit version you can use rock-convert.

Alex

>
> 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
> _______________________________________________
> Rock-dev mailing list
> Rock-dev at dfki.de
> http://www.dfki.de/mailman/cgi-bin/listinfo/rock-dev


-- 
Dipl.-Ing. Alexander Duda
Unterwasserrobotik

DFKI Bremen
Robotics Innovation Center
Robert-Hooke-Straße 5
28359 Bremen, Germany

Phone: +49 (0)421 178-456620
Fax:   +49 (0)421 178-454150
E-Mail: alexander.duda 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