[Rock-dev] Problem on log replay

Alexander Duda Alexander.Duda at dfki.de
Tue Aug 2 13:49:03 CEST 2011


You have to set up a buffer for the connection. The default update frequency for vizkit is 8 Hz

port.connect_to :type => :buffer, :size => 1000 do  |data,_|
	data
end

Alex


Am 02.08.2011 um 13:38 schrieb Patrick Merz Paranhos:

> So I ran into a problem replaying a log. 
>  
> I have a simple Task that receives motor data (freq 0.001s).  
> Makes a simple calculation and output the data.  
>  
> The data is being feed to the task without a problem. 
> I write the data to the port in the correct frequency.   
>  
> But the ruby scripts can't access the output port in the correct frequency.  
> Which makes it loose data. So I am collecting data at 1/10 of the frequency I wrote.  
>  
> To make it work I reduced the replay speed to 0.01. Than I don't loose data.
>  
> Also I receive the following msg: 
>  
> Bus::open: Can not get ibus-daemon's address.
> IBusInputContext::createInputContext: no connection to ibus-daemon 
>  
>  
> Any ideas ? 
>  
> _______________________________________________
> 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

_______________________________________________
Projektleiter-hb mailing list
Projektleiter-hb at dfki.de
http://www.dfki.de/mailman/cgi-bin/listinfo/projektleiter-hb




More information about the Rock-dev mailing list