[Rock-dev] simple base script to print task state on console

Leif Christensen leif.christensen at dfki.de
Wed Mar 15 12:03:33 CET 2017


Hi,

do you think a small simple script to continuously display the current
state of a task on the command line would come in handy in base/scripts?

I use such a script in a non-gui environment (no rock-display). Output
is quite similar to Orocos.watch(), using Orocos::Async to also display
a non-reachable-state.

https://gist.github.com/leifole/1b4a39eb48cd94b1ffd20722400f556f

Best,
Leif

-- 
 Leif Christensen

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

 Phone: +49 (0)421 17845-4149
 Fax:   +49 (0)421 17845-4150
 E-Mail: leif.christensen 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
 -----------------------------------------------------------------------


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: OpenPGP digital signature
Url : http://www.dfki.de/pipermail/rock-dev/attachments/20170315/aa035dc6/attachment.pgp 


More information about the Rock-dev mailing list