Hi Geoff:<br>Thank you for your reply. <br>and also Congratulation on the OpenSource Award from Willow Garage. !<br><br>Another thing I want to say was that, <br>these rt commands like rtcwd, rtact, rtcon can sometimes take really long to return. <br>
Sometimes it can take up to 5~7 seconds for one rtcon connection. <br><br>Do you know why is that? <br>I am using windows, and have components distributed over two computers but with only one nameserver. <br>They are all on ethernet wired network. <br>
<br>Thanks<br>Tony<br><br><div class="gmail_quote">On 22 October 2010 15:40, Geoffrey Biggs <span dir="ltr"><<a href="mailto:geoffrey.biggs@aist.go.jp">geoffrey.biggs@aist.go.jp</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div class="im">Hi Tony,<br>
<br>
One of our developers has been able to duplicate the rtprint bug. I'm<br>
currently at IROS, where I don't have a Windows computer, so I will need<br>
to take a look when I get back.<br>
<br>
For rtinject, I've had a report that you need to use double quotes on<br>
Windows, not single quotes. Try this:<br>
<br>
</div><div class="im">> rtinject /SPC105/SPC105.host_cxt/ConsoleOut0.rtc:in<br>
    "RTC.TimedLong({time},3)"<br>
<br>
</div><div class="im">Geoff<br>
<br>
<br>
<br>
On 20/10/10 05:02, Tony Kuo wrote:<br>
</div><div><div></div><div class="h5">> Hi OpenRTM ML:<br>
><br>
> I installed openrtm-python and related package to get rtcshell running.<br>
> rtls, rtact, rtdel, rtcwd all are working fine.<br>
> But rtprint and rtinject don't work for me.<br>
><br>
> I got some error print out. If anyone knows what's happening<br>
> please let me know.<br>
><br>
> (error message from rtprint)<br>
>             C:\Documents and Settings\xxxx>rtprint ConsoleIn0.rtc:out<br>
>             comp_args: rtprint_listener0<br>
>             c:\python26\scripts\rtprint.py: Could not find listener<br>
> component.<br>
>             Exception in thread Thread-2 (most likely raised during<br>
> interpreter shutdown):Ex<br>
>             ception in thread Thread-3 (most likely raised during<br>
> interpreter shutdown):<br>
><br>
>             Traceback (most recent call last):Traceback (most recent<br>
> call last):<br>
><br>
>               File "C:\Python26\lib\threading.py", line 527, in<br>
> __bootstrap_inner  File "C:\<br>
>             Python26\lib\threading.py", line 527, in __bootstrap_inner<br>
><br>
>               File "C:\Python26\lib\threading.py", line 479, in run<br>
> File "C:\Python26\lib\t<br>
>             hreading.py", line 479, in run<br>
><br>
> My rtinject works but it injects strange data<br>
> I inject a number of 3 but 1701661012 was received.<br>
><br>
> C:\Documents and Settings\xxxxx>rtinject<br>
> /SPC105/SPC105.host_cxt/ConsoleOut0.rtc:in 'RTC.TimedLong({time},3)'<br>
><br>
>         Screen Output<br>
>         ------------------------------<br>
>         Connector Listener: ON_CONNECT<br>
>         Profile::name:      ConsoleOut0.rtc.inject_conn<br>
>         Profile::id:        ConsoleOut0.rtc.temp<br>
>         Profile::properties:<br>
>         - dataflow_type: push<br>
>         - interface_type: corba_cdr<br>
>         - subscription_type: flush<br>
>         - data_type: <type 'str'><br>
>         - serializer<br>
>           - cdr<br>
>             - endian: little,big<br>
>         - provider:<br>
><br>
>         ------------------------------<br>
>         ------------------------------<br>
>         Data Listener: ON_RECEIVED<br>
>         Profile::name: ConsoleOut0.rtc.inject_conn<br>
>         Profile::id:   ConsoleOut0.rtc.temp<br>
>         Data:          1701661012<br>
>         ------------------------------<br>
>         ------------------------------Received:<br>
>         1701661012Data Listener:<br>
>         ON_BUFFER_WRITETimeStamp:<br>
>         58Profile::name: [s] ConsoleOut0.rtc.inject_conn776164434<br>
>         [ns]Profile::id:<br>
>         ConsoleOut0.rtc.temp<br>
>         Data:          1701661012<br>
>         ------------------------------<br>
>         ------------------------------<br>
>         Connector Listener: ON_DISCONNECT<br>
>         Profile::name:      ConsoleOut0.rtc.inject_conn<br>
>         Profile::id:        ConsoleOut0.rtc.temp<br>
>         Profile::properties:<br>
>         - dataflow_type: push<br>
>         - interface_type: corba_cdr<br>
>         - subscription_type: flush<br>
>         - data_type: <type 'str'><br>
>         - serializer<br>
>           - cdr<br>
>             - endian: little,big<br>
>         - provider:<br>
> Thanks!<br>
> Tony<br>
><br>
><br>
<br>
</div></div></blockquote></div><br>