[openrtm-users 01435] regarding rtprint and rtinject
Tony Kuo
ikuo005 @ aucklanduni.ac.nz
2010年 10月 20日 (水) 05:02:58 JST
Hi OpenRTM ML:
I installed openrtm-python and related package to get rtcshell running.
rtls, rtact, rtdel, rtcwd all are working fine.
But rtprint and rtinject don't work for me.
I got some error print out. If anyone knows what's happening
please let me know.
(error message from rtprint)
C:\Documents and Settings\xxxx>rtprint ConsoleIn0.rtc:out
comp_args: rtprint_listener0
c:\python26\scripts\rtprint.py: Could not find listener
component.
Exception in thread Thread-2 (most likely raised during
interpreter shutdown):Ex
ception in thread Thread-3 (most likely raised during
interpreter shutdown):
Traceback (most recent call last):Traceback (most recent call
last):
File "C:\Python26\lib\threading.py", line 527, in
__bootstrap_inner File "C:\
Python26\lib\threading.py", line 527, in __bootstrap_inner
File "C:\Python26\lib\threading.py", line 479, in run File
"C:\Python26\lib\t
hreading.py", line 479, in run
My rtinject works but it injects strange data
I inject a number of 3 but 1701661012 was received.
C:\Documents and Settings\xxxxx>rtinject
/SPC105/SPC105.host_cxt/ConsoleOut0.rtc:in 'RTC.TimedLong({time},3)'
Screen Output
------------------------------
Connector Listener: ON_CONNECT
Profile::name: ConsoleOut0.rtc.inject_conn
Profile::id: ConsoleOut0.rtc.temp
Profile::properties:
- dataflow_type: push
- interface_type: corba_cdr
- subscription_type: flush
- data_type: <type 'str'>
- serializer
- cdr
- endian: little,big
- provider:
------------------------------
------------------------------
Data Listener: ON_RECEIVED
Profile::name: ConsoleOut0.rtc.inject_conn
Profile::id: ConsoleOut0.rtc.temp
Data: 1701661012
------------------------------
------------------------------Received:
1701661012Data Listener:
ON_BUFFER_WRITETimeStamp:
58Profile::name: [s] ConsoleOut0.rtc.inject_conn776164434
[ns]Profile::id:
ConsoleOut0.rtc.temp
Data: 1701661012
------------------------------
------------------------------
Connector Listener: ON_DISCONNECT
Profile::name: ConsoleOut0.rtc.inject_conn
Profile::id: ConsoleOut0.rtc.temp
Profile::properties:
- dataflow_type: push
- interface_type: corba_cdr
- subscription_type: flush
- data_type: <type 'str'>
- serializer
- cdr
- endian: little,big
- provider:
Thanks!
Tony
-------------- next part --------------
HTML$B$NE:IU%U%!%$%k$rJ]4I$7$^$7$?(B...
URL: <http://www.openrtm.org/pipermail/openrtm-users/attachments/20101020/4f36fc40/attachment-0001.html>
openrtm-users メーリングリストの案内