[openrtm-users 03174] OpenRTM-aist Erlang run_sample failed.
Yuki Suga
ysuga @ ysuga.net
2015年 5月 1日 (金) 11:32:11 JST
Hi OpenRTM ML members:
This is Yuki @ SSR.
I am now learning Erlang language, and now trying to use OpenRTM erlang.
I finally built the openrtm-erl package, and tried running run_sample program.
I could not find any documents about the package, I'd like to ask the
first step of openrtm-erl here.
After setting ERL_LIBS for openrtm, I launched "erl" command in
example directory,
and I got following messages when I input "run_sample:run()."
Please teach me how to fix this problems! Please help!
###############################
Erlang/OTP 17 [erts-6.3] [source-f9282c6] [64-bit] [smp:8:8]
[async-threads:10] [hipe] [kernel-poll:false]
Eshell V6.3 (abort with ^G)
1> l(run_sample).
{module,run_sample}
2> run_sample:run().
=INFO REPORT==== 1-May-2015::11:21:12 ===
======= Orber Execution Environment ======
Orber version.................: 3.7.1
Orber domain..................: 127.0.0.1:28090
IIOP port number..............: 28090
IIOP NAT port number..........: 28090
Interface(s)..................: ["127.0.0.1"]
Interface(s) NAT..............: ["127.0.0.1"]
Local Interface (default).....: []
Nodes in domain...............: [nonode @ nohost]
GIOP version (default)........: 1.1
IIOP out timeout..............: infinity msec
IIOP out connection timeout...: infinity msec
IIOP setup connection timeout.: infinity msec
IIOP out ports................: 0
IIOP out ports attempts.......: 1
IIOP out ports random.........: false
IIOP out connections..........: []
IIOP out connections (pending): []
IIOP out keepalive............: false
IIOP in connections...........: []
IIOP in connection timeout....: infinity msec
IIOP in keepalive.............: false
IIOP max fragments............: infinity
IIOP max in requests..........: infinity
IIOP max in connections.......: infinity
IIOP backlog..................: 5
IIOP ACL......................: []
IIOP maximum packet size......: infinity
Object Keys GC interval.......: infinity
Using Interceptors............: false
Using Local Interceptors......: false
Debug Level...................: 0
orbInitRef....................: undefined
orbDefaultInitRef.............: undefined
System Flags Set..............: -
=========================================
L/NoLM: 2015-05-01 11:21:12 rtc_cfg_svr:285:<0.103.0> (rtl_info):
Initialising RTC configuration server <0.103.0>.
L/NoLM: 2015-05-01 11:21:12 rtc_cfg_svr:286:<0.103.0> (rtl_debug):
Configuration is [{"activity_type","DataFlowComponent"},
{"category","Test"},
{"corba",[{"nameservers","127.0.0.1:28090"}]},
{"description","Fake RTC."},
{"exec_cxts",[{"ec1",[{"type","periodic"},{"rate","1.0"}]}]},
{"implementation_id","Ticker"},
{"instance_name","Ticker0"},
{"lang_type","compile"},
{"language","Erlang"},
{"max_instance","1"},
{"type_name","Ticker"},
{"vendor","Me"},
{"version","1.0"}]
L/NoLM: 2015-05-01 11:21:12 rtc_cfg_svr:288:<0.103.0> (rtl_paranoid):
Initialisation complete; state is
{cfg_sets,[{"default",[]}],[],"default"}
L/NoLM: 2015-05-01 11:21:12 dataflow_rtc:130:<0.104.0> (rtl_info):
Initialising dataflow RTC with callback module ticker and config
[{"activity_type",
"DataFlowComponent"},
{"category",
"Test"},
{"corba",
[{"nameservers",
"127.0.0.1:28090"}]},
{"description",
"Fake RTC."},
{"exec_cxts",
[{"ec1",
[{"type",
"periodic"},
{"rate",
"1.0"}]}]},
{"implementation_id",
"Ticker"},
{"instance_name",
"Ticker0"},
{"lang_type",
"compile"},
{"language",
"Erlang"},
{"max_instance",
"1"},
{"type_name",
"Ticker"},
{"vendor",
"Me"},
{"version",
"1.0"}]
L/NoLM: 2015-05-01 11:21:12 corba_obj_mgr:133:<0.106.0> (rtl_debug):
CORBA object manager initialising:
#Fun<SDOPackage_Configuration_impl.start_link.1>, none
L/NoLM: 2015-05-01 11:21:12 port_mgr:314:<0.105.0> (rtl_info): Shut
down by supervisor.
L/NoLM: 2015-05-01 11:21:12 dataflow_rtc:304:<0.104.0> (rtl_info):
Shut down by supervisor.
L/NoLM: 2015-05-01 11:21:12 dataflow_rtc:328:<0.104.0> (rtl_error):
Dataflow RTC terminated while still in state created
** exception exit: {shutdown,{failed_to_start_child,cfg_corba,
{undef,[{'SDOPackage_Configuration',oe_create_link,
[none,[{sup_child,true}]],
[]},
{corba_obj_mgr,init,1,
[{file,"corba_obj_mgr.erl"},{line,135}]},
{gen_server,init_it,6,[{file,"gen_server.erl"},{line,306}]},
{proc_lib,init_p_do_apply,3,
[{file,"proc_lib.erl"},{line,237}]}]}}}
###########################
///////////////////////////////////////////////////////////////////
// Yuki Suga, Ph.D.
// URL: http://www.ysuga.net/?lang=en
// E-mail: ysuga @ ysuga.net
///////////////////////////////////////////////////////////////////
More information about the openrtm-users
mailing list