Hello everyone. Thank you Juampi & Ben for your answers. This is the final
working code, made with Johan's help:
* | process output thread |*
* thread := [process := (PipeableOSProcess command: 'rostopic echo
/turtle1/cmd_vel __name:=echo2') ] fork. *
* (Delay forSeconds:3) wait.*
* (OSProcess co
Hi Demian,
I am not sure if I understood well your questions, but maybe you can try
something like:
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
MyWriteStream>>nextPutAll: content
Transcript show: content.
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
and then execu
So you mean 'rostopic echo' and 'rostopic pub' ? So its a
publisher/subscriber model with 'echo' as the subscriber ?
(I'll needs others to confirm this is possible but...) the way to go may be
to fork 'rotopic echo' and leave it running, parsing its results into a
queue that some other part of y
It is actually not a native linux command, but rather something belonging
to ROS (Robot Robot Operating System). I did not want to complicate the
question further.. The behaviour is as I described it. This echo command
sits still in the console where it was called, and waits. When some message
is s
I've never known 'echo' to wait for input, and haven't heard of this echo &
pub combination. Do you have some link to a tutorial showing how they are
used?
However just wildly guessing, are you wanting to get output from a long
running command without blocking the Pharo UI?
In that case, what abo
Hello everyone.
I have the following question. I have a specific 'echo ...' command, which
I send to the linux console via " OSProcess command:'echo ... ' ".
This echo command, when executed on the native linux console, stands by
until it receives some message.
Following this, I have to execute a