[openrtm-beginners:00598] Re: OpenRTM pass value between two components.

Ando Noriaki n-ando @ aist.go.jp
2016年 5月 12日 (木) 22:22:25 JST


You need to subscribe ML.

Best regards,
Noriaki

2016年5月12日木曜日、<venushkadharmasiri @ gmail.com>さんは書きました:

> i'm developing simple components. I have Component A (
> outport::RTC::GPSData)
> Component B (InPort::RTC::GPSData) I need to pass simple value to A->B ( A
> to
> B). To do that i used follwing code. Got following errors when i activate
> the
> componantB. Could you please help me. 'ControllerComp.exe' (Win32): Loaded
> 'C:\Windows\SysWOW64\sechost.dll'. Cannot find or open the PDB file.
> First-chance exception at 0x7541DAD8 in ControllerComp.exe: Microsoft C++
> exception: omni::giopStream::CommFailure at memory location 0x0018EBC8.
> First-chance exception at 0x7541DAD8 in ControllerComp.exe: Microsoft C++
> exception: CORBA::TRANSIENT at memory location 0x0018E20C. First-chance
> exception at 0x7541DAD8 in ControllerComp.exe: Microsoft C++ exception:
> NumberingPolicy::ObjectNotFound at memory location 0x0018EE5F. First-chance
> exception at 0x7541DAD8 in ControllerComp.exe: Microsoft C++ exception:
> CORBA::MARSHAL at memory location 0x010CEDCC. Componant A (BSone)
> RTC::ReturnCode_t Bone::onExecute(RTC::UniqueId ec_id) { GPSData Data;
> Data.latitude = 123.0; m_gps_data_out.latitude = Data.latitude;
> m_gps_data_outOut.write(); } Componant B (Controller) RTC::ReturnCode_t
> Controller::onExecute(RTC::UniqueId ec_id) { if (m_b_one_inIn.isNew()) {
> m_b_one_inIn.read(); printf("%f \n", m_b_one_in.latitude); //ERROR } }
> Could
> you please help me to write 123.0 value in Component B. PS: For your
> reference i attached System diagram. Best, Ven.
>
> _______________________________________________
> openrtm-beginners mailing list
> openrtm-beginners @ openrtm.org
> http://www.openrtm.org/mailman/listinfo/openrtm-beginners
>


-- 
--
安藤慶昭@国立研究開発法人 産業技術総合研究所
ロボットイノベーション研究センター
ロボットソフトウェアプラットフォーム研究チーム長
(兼務)首都大学東京 客員教授,  博士(工学)
〒305-8568 つくば市梅園1-1-1 中央第2
e-mail: n-ando @ aist.go.jp, web: http://staff.aist.go.jp/n-ando
OpenRTM-aist: http://www.openrtm.org

Noriaki Ando, Ph.D.
    Team Leader, Robot Software Platform Research Team,
    Robot Innovation Research Center, AIST
    Visiting Prof., Tokyo Metropolitan University
    AIST Tsukuba Central 2, Tsukuba, Ibaraki 305-8568 JAPAN
    e-mail: n-ando @ aist.go.jp, web: http://staff.aist.go.jp/n-ando
    OpenRTM-aist: http://www.openrtm.org
-------------- next part --------------
HTML$B$NE:IU%U%!%$%k$rJ]4I$7$^$7$?(B...
URL: <http://www.openrtm.org/pipermail/openrtm-beginners/attachments/20160512/59c7631e/attachment.html>


More information about the openrtm-beginners mailing list