You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In file included from /opt/ros/melodic/include/openrtm-1.2/rtm/InPort.h:39:0,
from /opt/ros/melodic/include/openrtm-1.2/rtm/DataInPort.h:23,
from /home/leus/catkin_ws/master/src/hrpsys/rtc/ImageData2CameraImage/ImageData2CameraImage.h:18,
from /home/leus/catkin_ws/master/src/hrpsys/rtc/ImageData2CameraImage/ImageData2CameraImage.cpp:10:
/opt/ros/melodic/include/openrtm-1.2/rtm/Timestamp.h: In instantiation of ‘RTC::Timestamp<DataType>::ReturnCode RTC::Timestamp<DataType>::operator()(RTC::ConnectorInfo&, DataType&) [with DataType = Img::ImageData; RTC::Timestamp<DataType>::ReturnCode = RTC::ConnectorListenerStatus::Enum]’:
/home/leus/catkin_ws/master/src/hrpsys/rtc/ImageData2CameraImage/ImageData2CameraImage.cpp:168:2: required from here
/opt/ros/melodic/include/openrtm-1.2/rtm/Timestamp.h:40:12: error: ‘struct Img::ImageData’ has no member named ‘tm’
data.tm.sec = tm.sec();
~~~~~^~
/opt/ros/melodic/include/openrtm-1.2/rtm/Timestamp.h:41:12: error: ‘struct Img::ImageData’ has no member named ‘tm’
data.tm.nsec = tm.usec() * 1000;
お世話になっております,東大稲葉研 石黒と申します
こちらでOpenRTM-aist 1.1.2まで動作していたRTC等があるのですが,
1.2.0への移行に躓いておりまして質問させていただきました
1.2.0から追加されたinclude/openrtm-1.2/rtm/Timestamp.hの
の部分がどのデータ型に対してもRTC::Time tmメンバにアクセスしているように見え,
例えば以下のようなコンパイルエラーが出るようになりました.
※fkanehiro/hrpsys-base#1284
1.2からの仕様だとすると以下のようなtmメンバを持たないデータ型をidlで定義してデータポート通信に使うことはできなくなったのでしょうか?
※https://github.com/fkanehiro/hrpsys-base/blob/master/idl/Img.idl
おそらく呼び出し場所は以下のようなポートのコンストラクタ等です
※https://github.com/fkanehiro/hrpsys-base/blob/5cbb5490f55c7017f7ff789c3d9de531ba92e1b6/rtc/ImageData2CameraImage/ImageData2CameraImage.cpp#L35
The text was updated successfully, but these errors were encountered: