[Rock-dev] plotting in rock

Alexander Duda Alexander.Duda at dfki.de
Fri Mar 2 09:51:29 CET 2012


On Thu, 2012-03-01 at 20:59 +0100, Chris Mueller wrote:
> Is there also an interface for vizkit, which we could use in ruby
> scripts for automatic starting the
> plots on a port? 

task = Vizkit::TaskProxy.new("my_task_name")
Vizkit.display task.my_port_name,:subfield => "field",:widget=>"Plot2d"

> I have currently two types of applications where i would like to use
> it:
> - directly plotting a given data (e.g. altitude from pressure sensor)
> - extracting data from a port and feeding the plot widget (e.g.
> getting a laserscan and feed the plot widgets
> always with scan from angle x)
Vizkit.display task.laser_scan,:subfield
=>["ranges",index] ,:widget=>"Plot2d"

> That would be great. 
> 
> And what is currently the future for the current plotting widget
> located in the rock_widget_collection, which i 
> guess is using qwt?
This was never pushed to be used because it has some major drawbacks.
Most likely it is going to be removed.

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