[Rock-dev] roby: nil can't be coerced into Fixnum (TypeError)

Alexander Duda Alexander.Duda at dfki.de
Tue Apr 5 11:35:43 CEST 2011


On Tue, 2011-04-05 at 10:54 +0200, Sylvain Joyeux wrote:
> The problem (and the proper fix) is described here:
> 
>    http://rock.opendfki.de/ticket/16
> 
> If the workaround does not work for you, please tell me (I assume it 
> does as Matthias had the same problem last week and I pointed him to
the 
> same solution).
> 
> Indeed, using a periodic activity to the task would work as well (it
has 
> more or less the same effect than specifying the period on the device)


setting the period for the device has no effect. That's why I used the
periodic activity.

 device(Dev::Camera, :as => "bottom_camera").
    period(0.1).
    device_id("33186").
    configure do |task|
        task.mode = 'Master'
    end

Alex


-- 
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