Open ishiguroJSK opened 4 years ago
解決した気がします. https://discourse.choreonoid.org/t/rtshell-marshal-invalidenumvalue/97/13 https://choreonoid.org/ja/manuals/latest/openrtm/install.html#id6 OpenRTM1.1.2とChoreonoidの既知のバグで,ヘッダをすげ替えて対処できるとのこと. すげ替えて再ビルドしてgoPosだのRvizだのざっと確認できました.
あとでREADME更新しておきます
WRSの側ではshared memory経由でchoreonoidとつなぐ感じにしていて、そっちだとchoreonoid側のRTMを気にしなくても良いのと、多分少し速いはず。 あと、最新のchoreonoidはopenrtmを分離している。 https://discourse.choreonoid.org/t/openrtm/363
最近は,実機もgazeboもchoreonoidも全部SHMでアクセスすれば,依存も保守も楽になっていいんじゃないかと思い始めました.そもそも実機がSHMですし.
@ishiguroJSK
解決した気がします. https://discourse.choreonoid.org/t/rtshell-marshal-invalidenumvalue/97/13 https://choreonoid.org/ja/manuals/latest/openrtm/install.html#id6 OpenRTM1.1.2とChoreonoidの既知のバグで,ヘッダをすげ替えて対処できるとのこと.
これは、OpenRTM1.2では治っているのでしょうか。 もしOpenRTM1.2をテストして動きそうなら、そちらをreleaseしてもらうよう、 https://github.com/tork-a/openrtm_aist-release でお願いするべきかと思います。
もしOpenRTM1.2をテストして動きそうなら
これをやろうとして立ち止まってしまったんだけど,思ったより難しい気がする
AIST側のレポジトリにしかないv1.2.0をtork-a側のレポジトリにgit pullしないとROSパッケージとしてOpenRTMv1.2.0を使えないと思いそれっぽくgit pullしてみたけどなんか違う気がする,
$ git pull aist tags/v1.2.0 --allow-unrelated-histories
From https://github.com/OpenRTM/OpenRTM-aist
* tag v1.2.0 -> FETCH_HEAD
Auto-merging win32/OpenRTM-aist/utils/rtc-template/Makefile.am
CONFLICT (add/add): Merge conflict in win32/OpenRTM-aist/utils/rtc-template/Makefile.am
Auto-merging win32/OpenRTM-aist/utils/Makefile.am
CONFLICT (add/add): Merge conflict in win32/OpenRTM-aist/utils/Makefile.am
Auto-merging win32/OpenRTM-aist/rtm_config.vsprops
CONFLICT (add/add): Merge conflict in win32/OpenRTM-aist/rtm_config.vsprops
Auto-merging win32/OpenRTM-aist/rtm_config.props
CONFLICT (add/add): Merge conflict in win32/OpenRTM-aist/rtm_config.props
(略)
ros-melodic-openrtm_aistじゃなくて,openrtm_aistのdebパッケージ拾ってきてdpkg -iしたけども, (今aptレポジトリから落とせないらしいhttp://www1.meijo-u.ac.jp/~kohara/cms/openrtm-aist-1-2-0_install_temp)
https://www.openrtm.org/redmine/issues/3688のdataport.timestamp_policy とか 1.2.0で追加された/usr/include/openrtm-1.2/rtm/Timestamp.hのせいか,
virtual ReturnCode operator()(ConnectorInfo& info, DataType& data)
{
if (info.properties["timestamp_policy"] != m_tstype)
{
return NO_CHANGE;
}
coil::TimeValue tm(coil::gettimeofday());
data.tm.sec = tm.sec();
data.tm.nsec = tm.usec() * 1000;
return DATA_CHANGED;
}
色んな所でタイムスタンプに関するエラーが出る.
make[2]: *** [rtc/VirtualCamera/CMakeFiles/VirtualCameraComp.dir/VirtualCamera.cpp.o] Error 1
make[2]: *** 未完了のジョブを待っています....
In file included from /usr/include/openrtm-1.2/rtm/InPort.h:39:0,
from /usr/include/openrtm-1.2/rtm/DataInPort.h:23,
from /home/leus/catkin_ws/master/src/hrpsys/rtc/Simulator/Simulator.h:18,
from /home/leus/catkin_ws/master/src/hrpsys/rtc/Simulator/Simulator.cpp:12:
/usr/include/openrtm-1.2/rtm/Timestamp.h: In instantiation of ‘RTC::Timestamp<DataType>::ReturnCode RTC::Timestamp<DataType>::operator()(RTC::ConnectorInfo&, DataType&) [with DataType = OpenHRP::SceneState; RTC::Timestamp<DataType>::ReturnCode = RTC::ConnectorListenerStatus::Enum]’:
/home/leus/catkin_ws/master/src/hrpsys/rtc/Simulator/Simulator.cpp:347:2: required from here
/usr/include/openrtm-1.2/rtm/Timestamp.h:40:12: error: ‘struct OpenHRP::SceneState’ has no member named ‘tm’; did you mean ‘time’?
data.tm.sec = tm.sec();
~~~~~^~
time
/usr/include/openrtm-1.2/rtm/Timestamp.h:41:12: error: ‘struct OpenHRP::SceneState’ has no member named ‘tm’; did you mean ‘time’?
data.tm.nsec = tm.usec() * 1000;
関連するRTCとかをビルド対象から外せばhrpsys自体はビルド完走するけど, hrpsys_ros_bridgeでなんか出る
Errors << hrpsys_ros_bridge:make /home/leus/catkin_ws/master/logs/hrpsys_ros_bridge/build.make.000.log
/usr/bin/ld: /tmp/ccctgGQg.o: relocation R_X86_64_PC32 against symbol `_ZN7OpenHRP25VirtualForceSensorService4_nilEv' can not be used when making a shared object。 -fPIC を付けて再コンパイルしてください。
/usr/bin/ld: 最終リンクに失敗しました: 不正な値です
collect2: error: ld returned 1 exit status
make[2]: *** [/home/leus/catkin_ws/master/devel/.private/hrpsys_ros_bridge/lib/libVirtualForceSensorServiceStub.so] Error 1
make[1]: *** [CMakeFiles/RTMBUILD_hrpsys_ros_bridge_VirtualForceSensorService_genrpc.dir/all] Error 2
/usr/bin/ld: /tmp/ccu6mJLn.o: relocation make[1]: *** 未完了のジョブを待っています....
R_X86_64_PC32 against symbol `_ZN7OpenHRP19TorqueFilterService4_nilEv' can not be used when making a shared object。 -fPIC を付けて再コンパイルしてください。
/usr/bin/ld: 最終リンクに失敗しました: 不正な値です
collect2: error: ld returned 1 exit status
make[2]: *** [/home/leus/catkin_ws/master/devel/.private/hrpsys_ros_bridge/lib/libTorqueFilterServiceStub.so] Error 1
make[1]: *** [CMakeFiles/RTMBUILD_hrpsys_ros_bridge_TorqueFilterService_genrpc.dir/all] Error 2
/usr/bin/ld: /tmp/ccgATVmg.o: relocation R_X86_64_PC32 against symbol `_ZN7OpenHRP16WavPlayerService4_nilEv' can not be used when making a shared object。 -fPIC を付けて再コンパイルしてください。
/usr/bin/ld: 最終リンクに失敗しました: 不正な値です
collect2: error: ld returned 1 exit status
make[2]: *** [/home/leus/catkin_ws/master/devel/.private/hrpsys_ros_bridge/lib/libWavPlayerServiceStub.so] Error 1
make[1]: *** [CMakeFiles/RTMBUILD_hrpsys_ros_bridge_WavPlayerService_genrpc.dir/all] Error 2
/usr/bin/ld: /tmp/ccFgFQFg.o: relocation R_X86_64_PC32 against symbol `_ZrSjR9cdrStream' can not be used when making a shared object。 -fPIC を付けて再コンパイルしてください。
/usr/bin/ld: 最終リンクに失敗しました: 不正な値です
collect2: error: ld returned 1 exit status
make[2]: *** [/home/leus/catkin_ws/master/devel/.private/hrpsys_ros_bridge/lib/libpointcloudStub.so] Error 1
make[1]: *** [CMakeFiles/RTMBUILD_hrpsys_ros_bridge_pointcloud_genrpc.dir/all] Error 2
make: *** [all] Error 2
わからない
そもそもros-melodic-openrtm-aistをv1.2.0に上げて手元で試す正しい方法ってあるんでしょうか? tork-aではそれに等しいことをしているはず?
1.1.2と1.2.1の差分を明示的に指定してpatchを作り、release/melodic/openrtm_aistに当ててみても、同じようなところでこけますね。
$ git clone https://github.com/OpenRTM/OpenRTM-aist.git
Cloning into 'OpenRTM-aist'...
remote: Enumerating objects: 1, done.
remote: Counting objects: 100% (1/1), done.
remote: Total 47491 (delta 0), reused 0 (delta 0), pack-reused 47490
Receiving objects: 100% (47491/47491), 11.89 MiB | 5.98 MiB/s, done.
Resolving deltas: 100% (35772/35772), done.
$ cd OpenRTM-aist/
$ git diff svn/RELEASE_1_1_2 v1.2.1 > ~/openrtm.patch
$ cd ~/ros/jsk_demo_ws/src/rtm-ros-robotics/
$ git clone https://github.com/tork-a/openrtm_aist-release.git openrtm_aist
Cloning into 'openrtm_aist'...
remote: Enumerating objects: 6587, done.
remote: Total 6587 (delta 0), reused 0 (delta 0), pack-reused 6587
Receiving objects: 100% (6587/6587), 3.27 MiB | 2.89 MiB/s, done.
Resolving deltas: 100% (2493/2493), done.
$ cd openrtm_aist/
$ git checkout release/melodic/openrtm_aist
Branch 'release/melodic/openrtm_aist' set up to track remote branch 'release/melodic/openrtm_aist' from 'origin'.
Switched to a new branch 'release/melodic/openrtm_aist'
$ patch -p1 < ~/openrtm.patch
patching file COPYRIGHT
patching file INSTALL.jp
patching file Makefile.am
patching file README
patching file README.jp
patching file README.jp.md
patching file README.md
patching file autogen.sh
patching file build/Makefile.am
patching file build/autogen
patching file build/cmakeconfgen.py
patching file build/codegen.py
patching file build/ezt.py
patching file build/makedeffile.py
patching file build/makevcproj.py
patching file build/makewrapper.py
patching file build/makewxs.py
patching file build/pickupprojs.py
patching file build/pkg_install_debian.sh
patching file build/pkg_install_fedora.sh
patching file build/pkg_install_raspbian.sh
patching file build/pkg_install_ubuntu.sh
patching file build/setuptest.py
patching file build/slntool.py
patching file build/uuid.py
patching file build/vcprojtool.py
patching file build/vcxprojtool.py
patching file build/vsprops2cmake.py
patching file build/yat.py
patching file configure.ac
patching file docs/DevelopersGuide/Tools.tex
patching file docs/DevelopersGuide/Tutorial.tex
patching file docs/Makefile.am
patching file docs/doxygen_classref.conf.in
patching file docs/doxygen_idlref.conf
patching file docs/doxygen_idlref.conf.in
patching file etc/component.conf
patching file etc/rtc.conf.sample
patching file examples/AutoTest/Makefile.am
patching file examples/Composite/Makefile.am
patching file examples/ConfigSample/Makefile.am
patching file examples/ExtTrigger/ConnectorComp.cpp
patching file examples/ExtTrigger/Makefile.am
patching file examples/ExtTrigger/run.sh
patching file examples/Makefile.am
patching file examples/SeqIO/Makefile.am
patching file examples/SeqIO/SeqIn.h
patching file examples/SeqIO/SeqOut.h
patching file examples/SimpleIO/ConnectorComp.cpp
patching file examples/SimpleIO/ConsoleIn.h
patching file examples/SimpleIO/ConsoleOut.h
patching file examples/SimpleIO/Makefile.am
patching file examples/SimpleService/Makefile.am
patching file examples/Throughput/CMakeLists.txt
patching file examples/Throughput/Makefile.am
patching file examples/Throughput/Throughput.cpp
patching file examples/Throughput/Throughput.h
patching file examples/Throughput/ThroughputComp.cpp
patching file examples/Throughput/cdr_samecomp.sh
patching file examples/Throughput/cdr_sameproc.sh
patching file examples/Throughput/direct.sh
patching file examples/Throughput/rtc.conf
patching file examples/Throughput/run.sh
patching file examples/rtc.vcproj.yaml
patching file examples/rtcdll.vcproj.yaml
patching file packages/deb/control.1
patching file packages/deb/debian/changelog
patching file packages/deb/debian/control
patching file packages/deb/debian/control.not-multiarch
patching file packages/deb/debian/rules
patching file packages/rpm/OpenRTM-aist.spec.in
patching file src/ext/CMakeLists.txt
patching file src/ext/Makefile.am
patching file src/ext/ec/Makefile.am
patching file src/ext/ec/artlinux/ArtExecutionContext.cpp
patching file src/ext/ec/artlinux/ArtExecutionContext.h
patching file src/ext/ec/artlinux/Makefile.am
patching file src/ext/ec/artlinux/example/ARTSample.cpp
patching file src/ext/ec/artlinux/example/ARTSample.h
patching file src/ext/ec/artlinux/example/ARTSample.yaml
patching file src/ext/ec/artlinux/example/ARTSampleComp.cpp
patching file src/ext/ec/artlinux/example/Makefile.ARTSample
patching file src/ext/ec/artlinux/example/Makefile.am
patching file src/ext/ec/artlinux/example/README.ARTSample
patching file src/ext/ec/artlinux/example/rtc.conf
patching file src/ext/ec/artlinux/example/rtc.conf1
patching file src/ext/ec/logical_time/LogicalTimeTriggeredEC.cpp
patching file src/ext/ec/logical_time/LogicalTimeTriggeredEC.h
patching file src/ext/ec/logical_time/LogicalTimeTriggeredEC.idl
patching file src/ext/ec/logical_time/Makefile.am
patching file src/ext/ec/logical_time/example/LTTSample.conf
patching file src/ext/ec/logical_time/example/LTTSample.cpp
patching file src/ext/ec/logical_time/example/LTTSample.h
patching file src/ext/ec/logical_time/example/LTTSampleComp.cpp
patching file src/ext/ec/logical_time/example/Makefile.am
patching file src/ext/ec/logical_time/example/TickApp.py
patching file src/ext/ec/logical_time/example/rtc.conf
patching file src/ext/ec/logical_time/example/run.sh
patching file src/ext/ec/rtpreempt/Makefile.am
patching file src/ext/ec/rtpreempt/RTPreemptEC.cpp
patching file src/ext/ec/rtpreempt/RTPreemptEC.h
patching file src/ext/local_service/Makefile.am
patching file src/ext/local_service/nameservice_file/FileNameservice.cpp
patching file src/ext/local_service/nameservice_file/FileNameservice.h
patching file src/ext/local_service/nameservice_file/Makefile.am
patching file src/ext/local_service/nameservice_file/test/FileNameservice_test.cpp
patching file src/ext/logger/Makefile.am
patching file src/ext/logger/fluentbit_stream/FluentBit.cpp
patching file src/ext/logger/fluentbit_stream/FluentBit.h
patching file src/ext/logger/fluentbit_stream/Makefile.am
patching file src/ext/logger/fluentbit_stream/fluentbit.conf
patching file src/ext/sdo/CMakeLists.txt
patching file src/ext/sdo/Makefile.am
patching file src/ext/sdo/logger/CMakeLists.txt
patching file src/ext/sdo/logger/Logger.idl
patching file src/ext/sdo/logger/Makefile.am
patching file src/ext/sdo/observer/ComponentObserver.idl
patching file src/ext/sdo/observer/ComponentObserverConsumer.cpp
patching file src/ext/sdo/observer/ComponentObserverConsumer.h
patching file src/ext/sdo/observer/Makefile.am
patching file src/ext/sdo/observer/test/consin_obs.sh
patching file src/ext/sdo/observer/test/consout_obs.sh
patching file src/ext/sdo/observer/test/idl/ComponentObserver.idl
patching file src/ext/sdo/observer/test/idl/Makefile
patching file src/ext/sdo/observer/test/idl/SDOPackage.idl
patching file src/ext/sdo/observer/test/observer.py
patching file src/ext/sdo/observer/test/rtc.conf
patching file src/ext/sdo/observer/test/test.sh
patching file src/ext/ssl/CMakeLists.txt
patching file src/ext/ssl/Makefile.am
patching file src/ext/ssl/SSLTransport.cpp
patching file src/ext/ssl/SSLTransport.vcproj.yaml
patching file src/ext/ssl/root.crt
patching file src/ext/ssl/rtc.conf
patching file src/ext/ssl/server.pem
patching file src/lib/coil/ace/Makefile.am
patching file src/lib/coil/ace/coil/Makefile.am
patching file src/lib/coil/build/autogen
patching file src/lib/coil/build/slntool.py
patching file src/lib/coil/build/vcprojtool.py
patching file src/lib/coil/build/yat.py
patching file src/lib/coil/common/ClockManager.cpp
patching file src/lib/coil/common/ClockManager.h
patching file src/lib/coil/common/Factory.h
patching file src/lib/coil/common/Logger.h
patching file src/lib/coil/common/Makefile.am
patching file src/lib/coil/common/NonCopyable.h
patching file src/lib/coil/common/crc.cpp
patching file src/lib/coil/common/stringutil.cpp
patching file src/lib/coil/common/stringutil.h
patching file src/lib/coil/configure.ac
patching file src/lib/coil/posix/coil/Affinity.cpp
patching file src/lib/coil/posix/coil/Affinity.h
patching file src/lib/coil/posix/coil/File.h
patching file src/lib/coil/posix/coil/Makefile.am
patching file src/lib/coil/posix/coil/Process.cpp
patching file src/lib/coil/posix/coil/Process.h
patching file src/lib/coil/posix/coil/SharedMemory.cpp
patching file src/lib/coil/posix/coil/SharedMemory.h
patching file src/lib/coil/posix/coil/UUID.cpp
patching file src/lib/coil/posix/coil/UUID.h
patching file src/lib/coil/tests/AsyncInvoker/Makefile.am
patching file src/lib/coil/tests/Condition/Makefile.am
patching file src/lib/coil/tests/DynamicLib/Makefile.am
patching file src/lib/coil/tests/Factory/Makefile.am
patching file src/lib/coil/tests/File/Makefile.am
patching file src/lib/coil/tests/Guard/Makefile.am
patching file src/lib/coil/tests/Listener/Makefile.am
patching file src/lib/coil/tests/Logger/Makefile.am
patching file src/lib/coil/tests/Makefile.am
patching file src/lib/coil/tests/Mutex/Makefile.am
patching file src/lib/coil/tests/OS/Makefile.am
patching file src/lib/coil/tests/PeriodicTask/Makefile.am
patching file src/lib/coil/tests/Properties/Makefile.am
patching file src/lib/coil/tests/Signal/Makefile.am
patching file src/lib/coil/tests/Singleton/Makefile.am
patching file src/lib/coil/tests/Task/Makefile.am
patching file src/lib/coil/tests/Task/TaskTests.cpp
patching file src/lib/coil/tests/Time/Makefile.am
patching file src/lib/coil/tests/TimeMeasure/Makefile.am
patching file src/lib/coil/tests/TimeValue/Makefile.am
patching file src/lib/coil/tests/Timer/Makefile.am
patching file src/lib/coil/tests/UUID/Makefile.am
patching file src/lib/coil/tests/stringutil/Makefile.am
patching file src/lib/coil/tests/stringutil/stringutilTests.cpp
patching file src/lib/coil/win32/Makefile.am
patching file src/lib/coil/win32/coil/Affinity.cpp
patching file src/lib/coil/win32/coil/Affinity.h
patching file src/lib/coil/win32/coil/File.h
patching file src/lib/coil/win32/coil/Makefile.am
patching file src/lib/coil/win32/coil/OS.h
patching file src/lib/coil/win32/coil/Process.cpp
patching file src/lib/coil/win32/coil/Process.h
patching file src/lib/coil/win32/coil/SharedMemory.cpp
patching file src/lib/coil/win32/coil/SharedMemory.h
patching file src/lib/doil/utils/omniidl_be/doil/yat.py
patching file src/lib/doil/utils/omniidl_be/tests/ConfigurationProxy/Makefile.am
patching file src/lib/doil/utils/omniidl_be/tests/ExecutionContextProxy/Makefile.am
patching file src/lib/doil/utils/omniidl_be/tests/OrganizationProxy/Makefile.am
patching file src/lib/doil/utils/omniidl_be/tests/PortServiceProxy/Makefile.am
patching file src/lib/doil/utils/omniidl_be/tests/unitTest/yat.py
patching file src/lib/rtc/corba/idl/Makefile.am
patching file src/lib/rtm/BufferBase.h
patching file src/lib/rtm/CORBA_IORUtil.cpp
patching file src/lib/rtm/CORBA_IORUtil.h
patching file src/lib/rtm/CORBA_RTCUtil.cpp
patching file src/lib/rtm/CORBA_RTCUtil.h
patching file src/lib/rtm/CORBA_SeqUtil.h
patching file src/lib/rtm/ConfigAdmin.cpp
patching file src/lib/rtm/ConfigAdmin.h
patching file src/lib/rtm/ConfigurationListener.h
patching file src/lib/rtm/ConnectorListener.cpp
patching file src/lib/rtm/ConnectorListener.h
patching file src/lib/rtm/CorbaNaming.cpp
patching file src/lib/rtm/CorbaNaming.h
patching file src/lib/rtm/CorbaPort.cpp
patching file src/lib/rtm/CorbaPort.h
patching file src/lib/rtm/DefaultConfiguration.h
patching file src/lib/rtm/DirectInPortBase.h
patching file src/lib/rtm/DirectOutPortBase.h
patching file src/lib/rtm/DirectPortBase.h
patching file src/lib/rtm/ExecutionContextBase.cpp
patching file src/lib/rtm/ExecutionContextBase.h
patching file src/lib/rtm/ExecutionContextProfile.cpp
patching file src/lib/rtm/ExecutionContextProfile.h
patching file src/lib/rtm/ExecutionContextWorker.cpp
patching file src/lib/rtm/ExecutionContextWorker.h
patching file src/lib/rtm/ExtTrigExecutionContext.cpp
patching file src/lib/rtm/ExtTrigExecutionContext.h
patching file src/lib/rtm/Factory.cpp
patching file src/lib/rtm/Factory.h
patching file src/lib/rtm/FactoryInit.cpp
patching file src/lib/rtm/InPort.h
patching file src/lib/rtm/InPortBase.cpp
patching file src/lib/rtm/InPortBase.h
patching file src/lib/rtm/InPortConnector.cpp
patching file src/lib/rtm/InPortConnector.h
patching file src/lib/rtm/InPortConsumer.h
patching file src/lib/rtm/InPortCorbaCdrConsumer.cpp
patching file src/lib/rtm/InPortCorbaCdrConsumer.h
patching file src/lib/rtm/InPortCorbaCdrProvider.cpp
patching file src/lib/rtm/InPortCorbaCdrProvider.h
patching file src/lib/rtm/InPortDirectConsumer.cpp
patching file src/lib/rtm/InPortDirectConsumer.h
patching file src/lib/rtm/InPortDirectProvider.cpp
patching file src/lib/rtm/InPortDirectProvider.h
patching file src/lib/rtm/InPortProvider.cpp
patching file src/lib/rtm/InPortProvider.h
patching file src/lib/rtm/InPortPullConnector.cpp
patching file src/lib/rtm/InPortPushConnector.cpp
patching file src/lib/rtm/InPortPushConnector.h
patching file src/lib/rtm/InPortSHMConsumer.cpp
patching file src/lib/rtm/InPortSHMConsumer.h
patching file src/lib/rtm/InPortSHMProvider.cpp
patching file src/lib/rtm/InPortSHMProvider.h
patching file src/lib/rtm/ListenerHolder.h
patching file src/lib/rtm/LocalServiceAdmin.cpp
patching file src/lib/rtm/LocalServiceAdmin.h
patching file src/lib/rtm/LocalServiceBase.h
patching file src/lib/rtm/LogstreamBase.h
patching file src/lib/rtm/LogstreamFile.cpp
patching file src/lib/rtm/LogstreamFile.h
patching file src/lib/rtm/Makefile.am
patching file src/lib/rtm/Manager.cpp
patching file src/lib/rtm/Manager.h
patching file src/lib/rtm/ManagerActionListener.cpp
patching file src/lib/rtm/ManagerActionListener.h
patching file src/lib/rtm/ManagerConfig.cpp
patching file src/lib/rtm/ManagerConfig.h
patching file src/lib/rtm/ManagerServant.cpp
patching file src/lib/rtm/ManagerServant.h
patching file src/lib/rtm/ModuleManager.cpp
patching file src/lib/rtm/ModuleManager.h
patching file src/lib/rtm/NVUtil.cpp
patching file src/lib/rtm/NVUtil.h
patching file src/lib/rtm/NamingManager.cpp
patching file src/lib/rtm/NamingManager.h
patching file src/lib/rtm/NamingServiceNumberingPolicy.cpp
patching file src/lib/rtm/NamingServiceNumberingPolicy.h
patching file src/lib/rtm/NodeNumberingPolicy.cpp
patching file src/lib/rtm/NodeNumberingPolicy.h
patching file src/lib/rtm/NumberingPolicy.cpp
patching file src/lib/rtm/NumberingPolicy.h
patching file src/lib/rtm/NumberingPolicyBase.cpp
patching file src/lib/rtm/NumberingPolicyBase.h
patching file src/lib/rtm/OpenHRPExecutionContext.cpp
patching file src/lib/rtm/OpenHRPExecutionContext.h
patching file src/lib/rtm/OutPort.h
patching file src/lib/rtm/OutPortBase.cpp
patching file src/lib/rtm/OutPortBase.h
patching file src/lib/rtm/OutPortConnector.cpp
patching file src/lib/rtm/OutPortConnector.h
patching file src/lib/rtm/OutPortConsumer.h
patching file src/lib/rtm/OutPortCorbaCdrConsumer.cpp
patching file src/lib/rtm/OutPortCorbaCdrConsumer.h
patching file src/lib/rtm/OutPortCorbaCdrProvider.cpp
patching file src/lib/rtm/OutPortCorbaCdrProvider.h
patching file src/lib/rtm/OutPortDirectConsumer.cpp
patching file src/lib/rtm/OutPortDirectConsumer.h
patching file src/lib/rtm/OutPortDirectProvider.cpp
patching file src/lib/rtm/OutPortDirectProvider.h
patching file src/lib/rtm/OutPortProvider.cpp
patching file src/lib/rtm/OutPortProvider.h
patching file src/lib/rtm/OutPortPullConnector.cpp
patching file src/lib/rtm/OutPortPullConnector.h
patching file src/lib/rtm/OutPortPushConnector.cpp
patching file src/lib/rtm/OutPortPushConnector.h
patching file src/lib/rtm/OutPortSHMConsumer.cpp
patching file src/lib/rtm/OutPortSHMConsumer.h
patching file src/lib/rtm/OutPortSHMProvider.cpp
patching file src/lib/rtm/OutPortSHMProvider.h
patching file src/lib/rtm/PeriodicECSharedComposite.cpp
patching file src/lib/rtm/PeriodicECSharedComposite.h
patching file src/lib/rtm/PeriodicExecutionContext.cpp
patching file src/lib/rtm/PeriodicExecutionContext.h
patching file src/lib/rtm/PortAdmin.cpp
patching file src/lib/rtm/PortBase.cpp
patching file src/lib/rtm/PortBase.h
patching file src/lib/rtm/PortCallback.h
patching file src/lib/rtm/PublisherBase.h
patching file src/lib/rtm/PublisherFlush.cpp
patching file src/lib/rtm/PublisherFlush.h
patching file src/lib/rtm/PublisherNew.cpp
patching file src/lib/rtm/PublisherNew.h
patching file src/lib/rtm/PublisherPeriodic.cpp
patching file src/lib/rtm/PublisherPeriodic.h
patching file src/lib/rtm/RTObject.cpp
patching file src/lib/rtm/RTObject.h
patching file src/lib/rtm/RTObjectStateMachine.cpp
patching file src/lib/rtm/RTObjectStateMachine.h
patching file src/lib/rtm/RingBuffer.h
patching file src/lib/rtm/SdoServiceAdmin.cpp
patching file src/lib/rtm/SdoServiceAdmin.h
patching file src/lib/rtm/SdoServiceConsumerBase.h
patching file src/lib/rtm/SdoServiceProviderBase.h
patching file src/lib/rtm/SharedMemoryPort.cpp
patching file src/lib/rtm/SharedMemoryPort.h
patching file src/lib/rtm/SimulatorExecutionContext.cpp
patching file src/lib/rtm/SimulatorExecutionContext.h
patching file src/lib/rtm/StateMachine.h
patching file src/lib/rtm/SystemLogger.cpp
patching file src/lib/rtm/SystemLogger.h
patching file src/lib/rtm/Timestamp.h
patching file src/lib/rtm/ext/Makefile.am
patching file src/lib/rtm/ext/librtmCamera.vcproj.yaml
patching file src/lib/rtm/ext/librtmManipulator.vcproj.yaml
patching file src/lib/rtm/idl/Makefile.am
patching file src/lib/rtm/idl/Manager.idl
patching file src/lib/rtm/idl/SDOPackage.idl
patching file src/lib/rtm/idl/SharedMemory.idl
patching file src/lib/rtm/idl/device_interfaces/AIO.idl
patching file src/lib/rtm/idl/device_interfaces/ActArray.idl
patching file src/lib/rtm/idl/device_interfaces/Bumper.idl
patching file src/lib/rtm/idl/device_interfaces/Camera.idl
patching file src/lib/rtm/idl/device_interfaces/DIO.idl
patching file src/lib/rtm/idl/device_interfaces/Fiducial.idl
patching file src/lib/rtm/idl/device_interfaces/GPS.idl
patching file src/lib/rtm/idl/device_interfaces/Gripper.idl
patching file src/lib/rtm/idl/device_interfaces/IMU.idl
patching file src/lib/rtm/idl/device_interfaces/INS.idl
patching file src/lib/rtm/idl/device_interfaces/Limb.idl
patching file src/lib/rtm/idl/device_interfaces/Makefile.am
patching file src/lib/rtm/idl/device_interfaces/Map.idl
patching file src/lib/rtm/idl/device_interfaces/Multicamera.idl
patching file src/lib/rtm/idl/device_interfaces/PanTilt.idl
patching file src/lib/rtm/idl/device_interfaces/Paths.idl
patching file src/lib/rtm/idl/device_interfaces/PointCloud.idl
patching file src/lib/rtm/idl/device_interfaces/Position.idl
patching file src/lib/rtm/idl/device_interfaces/RFID.idl
patching file src/lib/rtm/idl/device_interfaces/Ranger.idl
patching file src/lib/rtm/idl/libRTCSkel.vcproj.yaml
patching file src/lib/rtm/idl/test/Makefile
patching file src/lib/rtm/libRTC.vcproj.yaml
patching file src/lib/rtm/tests/CORBA_IORUtil/Makefile.am
patching file src/lib/rtm/tests/CORBA_SeqUtil/Makefile.am
patching file src/lib/rtm/tests/ConfigAdmin/ConfigAdminTests.cpp
patching file src/lib/rtm/tests/ConfigAdmin/Makefile.am
patching file src/lib/rtm/tests/ConnectorListener/Makefile.am
patching file src/lib/rtm/tests/CorbaConsumer/Makefile.am
patching file src/lib/rtm/tests/CorbaNaming/Makefile.am
patching file src/lib/rtm/tests/CorbaPort/Makefile.am
patching file src/lib/rtm/tests/DataInOutPort/Makefile.am
patching file src/lib/rtm/tests/ECFactory/ECFactoryTests.cpp
patching file src/lib/rtm/tests/ECFactory/Makefile.am
patching file src/lib/rtm/tests/ExtTrigExecutionContext/Makefile.am
patching file src/lib/rtm/tests/Factory/Makefile.am
patching file src/lib/rtm/tests/InPort/InPortTests.cpp
patching file src/lib/rtm/tests/InPort/Makefile.am
patching file src/lib/rtm/tests/InPortBase/InPortBaseTests.cpp
patching file src/lib/rtm/tests/InPortBase/Makefile.am
patching file src/lib/rtm/tests/InPortConnector/InPortConnectorTests.cpp
patching file src/lib/rtm/tests/InPortConnector/Makefile.am
patching file src/lib/rtm/tests/InPortCorbaCdrConsumer/Makefile.am
patching file src/lib/rtm/tests/InPortCorbaCdrProvider/Makefile.am
patching file src/lib/rtm/tests/InPortProvider/InPortProviderTests.cpp
patching file src/lib/rtm/tests/InPortProvider/Makefile.am
patching file src/lib/rtm/tests/InPortPullConnector/Makefile.am
patching file src/lib/rtm/tests/InPortPushConnector/Makefile.am
patching file src/lib/rtm/tests/Makefile.am
patching file src/lib/rtm/tests/Manager/DummyModule.cpp
patching file src/lib/rtm/tests/Manager/Makefile.am
patching file src/lib/rtm/tests/Manager/ManagerTests.cpp
patching file src/lib/rtm/tests/ManagerConfig/Makefile.am
patching file src/lib/rtm/tests/ManagerServant/DummyModule1.h
patching file src/lib/rtm/tests/ManagerServant/DummyModule2.h
patching file src/lib/rtm/tests/ManagerServant/Makefile.am
patching file src/lib/rtm/tests/ModuleManager/DummyModule1.h
patching file src/lib/rtm/tests/ModuleManager/Makefile.am
patching file src/lib/rtm/tests/NVUtil/Makefile.am
patching file src/lib/rtm/tests/NamingManager/Makefile.am
patching file src/lib/rtm/tests/NumberingPolicy/Makefile.am
patching file src/lib/rtm/tests/ObjectManager/Makefile.am
patching file src/lib/rtm/tests/OutPort/Makefile.am
patching file src/lib/rtm/tests/OutPort/OutPortTests.cpp
patching file src/lib/rtm/tests/OutPortBase/Makefile.am
patching file src/lib/rtm/tests/OutPortBase/OutPortBaseTests.cpp
patching file src/lib/rtm/tests/OutPortConnector/Makefile.am
patching file src/lib/rtm/tests/OutPortConnector/OutPortConnectorTests.cpp
patching file src/lib/rtm/tests/OutPortCorbaCdrConsumer/Makefile.am
patching file src/lib/rtm/tests/OutPortCorbaCdrProvider/Makefile.am
patching file src/lib/rtm/tests/OutPortProvider/Makefile.am
patching file src/lib/rtm/tests/OutPortProvider/OutPortProviderTests.cpp
patching file src/lib/rtm/tests/OutPortPullConnector/Makefile.am
patching file src/lib/rtm/tests/OutPortPushConnector/Makefile.am
patching file src/lib/rtm/tests/OutPortPushConnector/OutPortPushConnectorTests.cpp
patching file src/lib/rtm/tests/PeriodicECSharedComposite/Makefile.am
patching file src/lib/rtm/tests/PeriodicExecutionContext/Makefile.am
patching file src/lib/rtm/tests/PeriodicExecutionContext/PeriodicExecutionContextTests.cpp
patching file src/lib/rtm/tests/PortAdmin/Makefile.am
patching file src/lib/rtm/tests/PortBase/Makefile.am
patching file src/lib/rtm/tests/PublisherFlush/Makefile.am
patching file src/lib/rtm/tests/PublisherNew/Makefile.am
patching file src/lib/rtm/tests/PublisherPeriodic/Makefile.am
patching file src/lib/rtm/tests/RTCUtil/Makefile.am
patching file src/lib/rtm/tests/RTObject/Makefile.am
patching file src/lib/rtm/tests/RTObject/RTObjectTests.cpp
patching file src/lib/rtm/tests/RTObject/RTObjectTests.idl
patching file src/lib/rtm/tests/RingBuffer/Makefile.am
patching file src/lib/rtm/tests/SdoConfiguration/Makefile.am
patching file src/lib/rtm/tests/SdoOrganization/Makefile.am
patching file src/lib/rtm/tests/SdoService/Makefile.am
patching file src/lib/rtm/tests/StateMachine/Makefile.am
patching file src/lib/rtm/tests/SystemLogger/Makefile.am
patching file src/lib/rtm/tests/rtm_coverage.sh
patching file src/lib/rtm/tests/rtm_tests_changeInfo.py
patching file utils/cmake/FindOpenRTM.cmake
patching file utils/cmake/FindOpenRTM.cmake.org
patching file utils/cmake/Makefile.am
patching file utils/rtc-template/python_gen.py
patching file utils/rtc-template/rtc-template
patching file utils/rtc-template/test-template.py
patching file utils/rtcd/Makefile.am
patching file utils/rtcd/rtcd.yaml
patching file utils/rtcd/systemd/rtcd.conf
patching file utils/rtcd/systemd/rtcd.service
patching file utils/rtcprof/Makefile.am
patching file utils/rtcprof/rtcprof.cpp
patching file utils/rtcprof/rtcprof.yaml
patching file utils/rtm-config/openrtm-aist.pc.in
patching file utils/rtm-config/rtm-config.in
patching file utils/rtm-naming/Makefile.am
patching file utils/rtm-naming/rtm-naming.in
Hunk #1 FAILED at 3.
1 out of 10 hunks FAILED -- saving rejects to file utils/rtm-naming/rtm-naming.in.rej
patching file utils/rtm-skelwrapper/rtm-skelwrapper
Hunk #1 succeeded at 17 with fuzz 1.
patching file utils/rtm-skelwrapper/skel_wrapper.py
Hunk #1 succeeded at 15 with fuzz 1.
patching file win32/OpenRTM-aist/Makefile.am
Hunk #1 succeeded at 4 with fuzz 2.
patching file win32/OpenRTM-aist/OpenRTM-aist.sln.dep
patching file win32/OpenRTM-aist/autobuild_vc10.bat
patching file win32/OpenRTM-aist/autobuild_vc8.bat
Reversed (or previously applied) patch detected! Assume -R? [n] n
Apply anyway? [n] n
Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file win32/OpenRTM-aist/autobuild_vc8.bat.rej
patching file win32/OpenRTM-aist/autobuild_vc9.bat
patching file win32/OpenRTM-aist/bin/Makefile.am
patching file win32/OpenRTM-aist/bin/kill-rtm-naming.bat
patching file win32/OpenRTM-aist/bin/rtm-naming.bat
patching file win32/OpenRTM-aist/build.bat.in
patching file win32/OpenRTM-aist/cmake/Makefile.am
patching file win32/OpenRTM-aist/docs/Makefile.am
patching file win32/OpenRTM-aist/etc/Makefile.am
patching file win32/OpenRTM-aist/examples/ExtTrigger/Makefile.am
patching file win32/OpenRTM-aist/examples/LTTSample/Makefile.am
patching file win32/OpenRTM-aist/examples/LTTSample/rtc.conf
patching file win32/OpenRTM-aist/examples/Makefile.am
Hunk #1 succeeded at 4 with fuzz 2.
patching file win32/OpenRTM-aist/examples/SimpleService/MyServiceConsumervc8.vcproj.in
patching file win32/OpenRTM-aist/examples/SimpleService/MyServiceProvidervc8.vcproj.in
patching file win32/OpenRTM-aist/examples/Throughput/Makefile.am
patching file win32/OpenRTM-aist/examples/USBCamera/Makefile.am
patching file win32/OpenRTM-aist/examples/example.yaml
patching file win32/OpenRTM-aist/examples/lttsample.yaml
patching file win32/OpenRTM-aist/ext/Makefile.am
patching file win32/OpenRTM-aist/ext/ec/Makefile.am
patching file win32/OpenRTM-aist/ext/ec/artlinux/Makefile.am
patching file win32/OpenRTM-aist/ext/ec/logical_time.yaml
patching file win32/OpenRTM-aist/ext/ec/logical_time/Makefile.am
patching file win32/OpenRTM-aist/ext/ec/rtpreempt/Makefile.am
patching file win32/OpenRTM-aist/ext/local_service/Makefile.am
patching file win32/OpenRTM-aist/ext/local_service/nameservice_file.yaml
patching file win32/OpenRTM-aist/ext/local_service/nameservice_file/FileNameserviceDll_vc10.vcxproj
patching file win32/OpenRTM-aist/ext/local_service/nameservice_file/FileNameserviceDll_vc8.vcproj
patching file win32/OpenRTM-aist/ext/local_service/nameservice_file/FileNameserviceDll_vc9.vcproj
patching file win32/OpenRTM-aist/ext/local_service/nameservice_file/Makefile.am
patching file win32/OpenRTM-aist/ext/logger/Makefile.am
patching file win32/OpenRTM-aist/ext/logger/fluentbit_stream/Makefile.am
patching file win32/OpenRTM-aist/ext/sdo/Makefile.am
patching file win32/OpenRTM-aist/ext/sdo/logger/Makefile.am
patching file win32/OpenRTM-aist/ext/sdo/observer/Makefile.am
patching file win32/OpenRTM-aist/ext/ssl/Makefile.am
patching file win32/OpenRTM-aist/installer/Bitmaps/Makefile.am
patching file win32/OpenRTM-aist/installer/Bitmaps/New.ico
Not deleting file win32/OpenRTM-aist/installer/Bitmaps/New.ico as content differs from patch
patching file win32/OpenRTM-aist/installer/Bitmaps/RTC.ico
Not deleting file win32/OpenRTM-aist/installer/Bitmaps/RTC.ico as content differs from patch
patching file win32/OpenRTM-aist/installer/Bitmaps/Up.ico
Not deleting file win32/OpenRTM-aist/installer/Bitmaps/Up.ico as content differs from patch
patching file win32/OpenRTM-aist/installer/Bitmaps/bannrbmp.bmp
Not deleting file win32/OpenRTM-aist/installer/Bitmaps/bannrbmp.bmp as content differs from patch
patching file win32/OpenRTM-aist/installer/Bitmaps/bannrbmp.org.bmp
Not deleting file win32/OpenRTM-aist/installer/Bitmaps/bannrbmp.org.bmp as content differs from patch
patching file win32/OpenRTM-aist/installer/Bitmaps/dlgbmp.bmp
Not deleting file win32/OpenRTM-aist/installer/Bitmaps/dlgbmp.bmp as content differs from patch
patching file win32/OpenRTM-aist/installer/Bitmaps/dlgbmp.org.bmp
Not deleting file win32/OpenRTM-aist/installer/Bitmaps/dlgbmp.org.bmp as content differs from patch
patching file win32/OpenRTM-aist/installer/Bitmaps/exclamic.ico
Not deleting file win32/OpenRTM-aist/installer/Bitmaps/exclamic.ico as content differs from patch
patching file win32/OpenRTM-aist/installer/Bitmaps/info.ico
Not deleting file win32/OpenRTM-aist/installer/Bitmaps/info.ico as content differs from patch
patching file win32/OpenRTM-aist/installer/License.rtf
patching file win32/OpenRTM-aist/installer/Makefile.am
Reversed (or previously applied) patch detected! Assume -R? [n] n
Apply anyway? [n] n
Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file win32/OpenRTM-aist/installer/Makefile.am.rej
patching file win32/OpenRTM-aist/installer/OpenCV-RTC/OpenCV-RTC_inc.wxs.in
patching file win32/OpenRTM-aist/installer/OpenCV-RTC/OpenCVRTC_bin.yaml
patching file win32/OpenRTM-aist/installer/OpenCV-RTC/opencvrtcwxs.py
patching file win32/OpenRTM-aist/installer/OpenCV2.1/OpenCV22_inc.wxs.in
patching file win32/OpenRTM-aist/installer/OpenCV2.1/OpenCV_inc.wxs.in
patching file win32/OpenRTM-aist/installer/OpenCV2.1/opencvwxs.py
patching file win32/OpenRTM-aist/installer/OpenRTM-aist.wxs.in
patching file win32/OpenRTM-aist/installer/OpenRTM-aist.wxs.yaml.in
patching file win32/OpenRTM-aist/installer/OpenRTP/OpenRTP_inc.wxs
patching file win32/OpenRTM-aist/installer/OpenRTP/OpenRTP_inc.wxs.in
patching file win32/OpenRTM-aist/installer/OpenRTP/openrtpwxs.py
patching file win32/OpenRTM-aist/installer/VC10msm_inc.wxs
patching file win32/OpenRTM-aist/installer/VC8msm_inc.wxs
patching file win32/OpenRTM-aist/installer/VC9msm_inc.wxs
patching file win32/OpenRTM-aist/installer/WiLangId.vbs
patching file win32/OpenRTM-aist/installer/WiSubStg.vbs
patching file win32/OpenRTM-aist/installer/WixUI_Mondo_RTM.wxs
patching file win32/OpenRTM-aist/installer/WixUI_cs-cz.wxl
patching file win32/OpenRTM-aist/installer/WixUI_da-dk.wxl
patching file win32/OpenRTM-aist/installer/WixUI_de-de.wxl
patching file win32/OpenRTM-aist/installer/WixUI_en-us.wxl
patching file win32/OpenRTM-aist/installer/WixUI_es-es.wxl
patching file win32/OpenRTM-aist/installer/WixUI_fr-fr.wxl
patching file win32/OpenRTM-aist/installer/WixUI_hu-hu.wxl
patching file win32/OpenRTM-aist/installer/WixUI_it-it.wxl
patching file win32/OpenRTM-aist/installer/WixUI_ja-jp.wxl
patching file win32/OpenRTM-aist/installer/WixUI_ko-kr.wxl
patching file win32/OpenRTM-aist/installer/WixUI_pl-pl.wxl
patching file win32/OpenRTM-aist/installer/WixUI_ru-ru.wxl
patching file win32/OpenRTM-aist/installer/WixUI_uk-ua.wxl
patching file win32/OpenRTM-aist/installer/WixUI_zh-tw.wxl
patching file win32/OpenRTM-aist/installer/autowix.cmd.in
Reversed (or previously applied) patch detected! Assume -R? [n] n
Apply anyway? [n] n
Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file win32/OpenRTM-aist/installer/autowix.cmd.in.rej
patching file win32/OpenRTM-aist/installer/autowix_vc10.cmd
patching file win32/OpenRTM-aist/installer/crean.cmd
patching file win32/OpenRTM-aist/installer/langs.txt
patching file win32/OpenRTM-aist/installer/omniORB/omniORB_inc.wxs.in
patching file win32/OpenRTM-aist/installer/omniORB/omniwxs.py
patching file win32/OpenRTM-aist/prepare_openrtm.sh
patching file win32/OpenRTM-aist/prepare_openrtm_inst.sh
patching file win32/OpenRTM-aist/rtm/idl/Makefile.am
Hunk #1 succeeded at 4 with fuzz 2.
patching file win32/OpenRTM-aist/rtm/idl/device_interfaces/Makefile.am
patching file win32/OpenRTM-aist/rtm/idl/libRTCSkelvc8.vcproj.in
patching file win32/OpenRTM-aist/rtm_config.props
patching file win32/OpenRTM-aist/rtm_config.vsprops
patching file win32/OpenRTM-aist/rtm_config_ssl.props
patching file win32/OpenRTM-aist/rtm_config_ssl.vsprops
patching file win32/OpenRTM-aist/rtm_config_vc9.vsprops
patching file win32/OpenRTM-aist/utils/rtc-template/Makefile.am
@ishiguroJSK openrtm_aist-releaseのrelease/melodic/openrtm_aistにOutPort.hのパッチを当てたものを作成しました。 https://github.com/pazeshun/openrtm_aist-release/tree/patch-to-1.1.2-melodic /optに加えている変更を戻してもらって、上のものをworkspaceに入れてビルドして試してもらえませんでしょうか。
https://github.com/pazeshun/openrtm_aist-release/tree/patch-to-1.1.2-melodic
なぜかは全くわからないのですが、これを使ってworkspaceを作り直すと、 https://github.com/start-jsk/rtmros_hironx/issues/538 が出なくなっています。経過観察中です。
中身のdiffはmutex guard関係だったので,あり得る話だとは思う
忘れないうちにPRにしておきました: https://github.com/tork-a/openrtm_aist-release/pull/7
@pazeshun release repository の使い方は
$ git diff
diff --git a/tracks.yaml b/tracks.yaml
index 061e027..9fc4443 100644
--- a/tracks.yaml
+++ b/tracks.yaml
@@ -127,15 +127,15 @@ tracks:
- git-bloom-generate -y rosrpm --prefix release/:{ros_distro} :{ros_distro} -i
:{release_inc}
devel_branch: null
- last_release: 22628ce
+ last_release: v1.2.0
last_version: 1.1.2
latest_release: 22628ce
name: upstream
patches: melodic
release_inc: '7'
release_repo_url: null
- release_tag: 22628ce
+ release_tag: v1.2.0
ros_distro: melodic
vcs_type: git
vcs_uri: https://github.com/OpenRTM/OpenRTM-aist.git
- version: 1.1.2
+ version: 1.2.0
みたいなものを作って仮にコミットして
$ git-bloom-release melodic
途中でパッチを充てるところでコケるから
(bloom)git am --abort
(bloom)exit 0
$ git checkout debian/ros-melodic-openrtm-aist_1.2.0-1_bionic
$ dpkg-buildpackage -rfakeroot -uc -b
でdebを作るものです. 手元で作った1.2.0 は https://drive.google.com/file/d/1csoaVbc1YB5MgGHvd-mDVJ_PHeAaCkRY/view?usp=sharing においておきます.
@ishiguroJSK OpenRTM 1.2.0 が使えるか,という話だと思うけど,例えばhrpsys-base で以下の当たりを見ると.1.2.0 でやっている人はいそうだから質問してみては? https://github.com/fkanehiro/hrpsys-base/issues/1284 https://github.com/fkanehiro/hrpsys-base/pull/1076
また,コンパイルを通すだけならそんなに難しくないはず,と思ってもう少し粘ってみると良いとおもいます.
/usr/bin/ld: /tmp/ccFgFQFg.o: relocation R_X86_64_PC32 against symbol `_ZrSjR9cdrStream' can not be used when making a shared object。 -fPIC を付けて再コンパイルしてください。
/usr/bin/ld: 最終リンクに失敗しました: 不正な値です
collect2: error: ld returned 1 exit status
make[2]: *** [/home/leus/catkin_ws/master/devel/.private/hrpsys_ros_bridge/lib/libpointcloudStub.so] Error 1
make[1]: *** [CMakeFiles/RTMBUILD_hrpsys_ros_bridge_pointcloud_genrpc.dir/all] Error 2
make: *** [all] Error 2
わからない
-fPIC を付けて下さい,教えてくれているけど,試してみたかな.
1.2.0の導入の仕方が正しいのかも不安だったので,進むのをやめてしまいましたが,もう少し進めてみます.
実際はhrpsys自体は一部を除いてコンパイルできていて,fPICのエラーはhrpsys_ros_bridgeです
ただhrpsys自体も1.2.0対応済みかというと・・・ https://github.com/fkanehiro/hrpsys-base/issues/1278#issuecomment-510686721
@k-okada
-fPIC を付けて下さい,教えてくれているけど,試してみたかな.
(個人的にno-pieなどといろいろ迷走していましたが)普通に-fPICつけたらコンパイルできました. 18.04からgccのPICやPIE周りのデフォルトが変わったことが原因と思われます. https://stackoverflow.com/questions/50213089/linking-error-with-gcc-g-7-3-0-on-ubuntu-18-04
ここから実行時の問題ですが,
hrpsysまでのレイヤーでもほとんどのRTCが起動しない 1.2.0からデータポートに使えるデータ型に仕様変更があり, https://github.com/OpenRTM/OpenRTM-aist/issues/847#issuecomment-616244079 コンパイルエラーが出た箇所のidlとcppを修正したつもりでも, それ以上にほぼすべてのRTCが起動しない
~/catkin_ws/master/src/hrpsys (master) $ roslaunch launch/samplerobot.launch
... logging to /home/leus/.ros/log/df818d72-82c6-11ea-9e12-7c7a914eb678/roslaunch-W540-6882.log
Checking log directory for disk usage. This may take a while.
Press Ctrl-C to interrupt
Done checking log file disk usage. Usage is <1GB.
started roslaunch server http://W540:40683/
SUMMARY
========
PARAMETERS
* /rosdistro: melodic
* /rosversion: 1.14.5
NODES
/
hrpsys (hrpsys/hrpsys-simulator)
modelloader (openhrp3/openhrp-model-loader)
start_omninames (hrpsys/start_omninames.sh)
auto-starting new master
process[master]: started with pid [6892]
ROS_MASTER_URI=http://localhost:11311
setting /run_id to df818d72-82c6-11ea-9e12-7c7a914eb678
process[rosout-1]: started with pid [6912]
started core service [/rosout]
process[start_omninames-2]: started with pid [6919]
omniNames: (0) 2020-04-20 14:22:07.472321: Data file: '/tmp/omniNames-logdir-6919/omninames-W540.dat'.
omniNames: (0) 2020-04-20 14:22:07.472371: Starting omniNames for the first time.
omniNames: (0) 2020-04-20 14:22:07.472490: Wrote initial data file '/tmp/omniNames-logdir-6919/omninames-W540.dat'.
omniNames: (0) 2020-04-20 14:22:07.472532: Read data file '/tmp/omniNames-logdir-6919/omninames-W540.dat' successfully.
omniNames: (0) 2020-04-20 14:22:07.472564: Root context is IOR:010000002b00000049444c3a6f6d672e6f72672f436f734e616d696e672f4e616d696e67436f6e746578744578743a312e300000010000000000000070000000010102000d0000003139322e3136382e31312e3500009d3a0b0000004e616d6553657276696365000300000000000000080000000100000000545441010000001c0000000100000001000100010000000100010509010100010000000901010003545441080000007f319d5e01001b09
omniNames: (0) 2020-04-20 14:22:07.472599: Checkpointing Phase 1: Prepare.
omniNames: (0) 2020-04-20 14:22:07.472649: Checkpointing Phase 2: Commit.
omniNames: (0) 2020-04-20 14:22:07.472692: Checkpointing completed.
process[modelloader-3]: started with pid [6923]
ready
process[hrpsys-4]: started with pid [6928]
#### file: ./rtc6928.log
##### file #####
HGcontroller0: onInitialize()
- port
- port_type: DataInPort
- dataport
- data_type: IDL:RTC/TimedDoubleSeq:1.0
- subscription_type: Any
- dataflow_type: push,pull
- interface_type: corba_cdr,direct,shared_memory
- port
(略)
で
rtls localhost:15005/
SampleRobot(Robot)0.rtc floor(Robot)0.rtc HGcontroller0.rtc ModelLoader W540.host_cxt/
ほとんどのRTCが死んでいる. rtc****.logを見ると
pr 20 05:02:03.129 INFO: manager: 1.2.0
Apr 20 05:02:03.129 INFO: manager: Copyright (C) 2003-2017
Apr 20 05:02:03.129 INFO: manager: Noriaki Ando
Apr 20 05:02:03.129 INFO: manager: Intelligent Systems Research Institute, AIST
Apr 20 05:02:03.129 INFO: manager: Manager starting.
Apr 20 05:02:03.129 INFO: manager: Starting local logging.
Apr 20 05:02:03.139 WARNING: NamingOnCorba: No endpoint for the CORBA naming service (localhost) was found.
Apr 20 05:02:03.139 INFO: NamingManager: NameServer connection succeeded: corba/localhost:15005
Apr 20 05:02:03.141 INFO: ManagerServant: Named manager reference (INS) was successfully created.
Apr 20 05:02:03.141 INFO: ManagerServant: Master manager servant was successfully created.
Apr 20 05:02:03.143 INFO: LocalServiceAdmin: All the local services are enabled.
Apr 20 05:02:03.148 INFO: manager: Component type conf file: /home/leus/catkin_ws/master/devel/share/hrpsys/samples/Sam\
pleRobot/SampleRobot.500.conf loaded.
Apr 20 05:02:03.148 INFO: ec_base: setRate(1000.000000) done
Apr 20 05:02:03.148 INFO: ec_base: setRate(1000000.000000) done
Apr 20 05:02:03.148 INFO: HGcontroller0: 1 execution context was created.
Apr 20 05:02:03.149 INFO: HGcontroller0: Initial active configuration set is default-set.
Apr 20 05:02:03.251 INFO: ec_base: setRate(1000.000000) done
Apr 20 05:02:03.251 INFO: ec_base: setRate(1000000.000000) done
Apr 20 05:02:03.251 INFO: GLbodyRTC0: 1 execution context was created.
Apr 20 05:02:03.251 INFO: GLbodyRTC0: Initial active configuration set is default-set.
Apr 20 05:02:03.255 ERROR: GLbodyRTC0: addOutPort() failed.
Apr 20 05:02:03.255 ERROR: GLbodyRTC0: addOutPort() failed.
Apr 20 05:02:03.255 ERROR: RobotHardwareService: appending provider interface failed
Apr 20 05:02:03.256 ERROR: GLbodyRTC0: addOutPort() failed.
Apr 20 05:02:03.256 ERROR: GLbodyRTC0: addOutPort() failed.
Apr 20 05:02:03.256 ERROR: RobotHardwareService: appending provider interface failed
Apr 20 05:02:03.257 INFO: ec_base: setRate(1000.000000) done
Apr 20 05:02:03.257 INFO: ec_base: setRate(1000000.000000) done
Apr 20 05:02:03.257 INFO: GLbodyRTC1: 1 execution context was created.
Apr 20 05:02:03.257 INFO: GLbodyRTC1: Initial active configuration set is default-set.
Apr 20 05:02:03.266 ERROR: GLbodyRTC1: addOutPort() failed.
Apr 20 05:02:03.266 ERROR: GLbodyRTC1: addOutPort() failed.
Apr 20 05:02:03.266 ERROR: RobotHardwareService: appending provider interface failed
Apr 20 05:02:03.267 ERROR: GLbodyRTC1: addOutPort() failed.
addOutPortがエラーを吐いているあたりいかにもではあるが, HGcontrollerが生きていてSequencePlayerが落ちているのもよく分からない hrpsys_ros_bridgeは18.04になってからfPICつけないとidlの**Stub.soがコンパイルできなかったのに,hrpsysが何も変更していないのも分からない. そもそもOpenRTM-aist-pythonは1.2.0にしなくていいのか?と思い始めている
試してみたら半分くらいしか機能していない.環境は,
choreonoidはrelease-1.7で./misc/script/install-requisites-ubuntu-18.04.sh を走らせて,.bashrcは以下
で
cmake .. -DCMAKE_INSTALL_PREFIX=${CNOID_INSTALL_DIR} -DOPENRTM_DIR=${CNOID_RTM_DIR} -DENABLE_INSTALL_RPATH=ON -DENABLE_CORBA=ON -DBUILD_CORBA_PLUGIN=ON -DBUILD_OPENRTM_PLUGIN=ON -DBUILD_HELLO_WORLD_SAMPLE=ON -DBUILD_SPRING_MODEL_SAMPLE=ON -DUSE_PYTHON3=OFF -DUSE_PYBIND11=OFF -DUSE_BUILTIN_CAMERA_IMAGE_IDL=ON
でmakejsk-footstep-controllerが18.04だとリリースされていないのか,launch内コメントアウトしつつ
reset; pkill -9 choreonoid; rtmlaunch hrpsys_choreonoid_tutorials jaxon_red_choreonoid.launch USE_VISION:=False
とかで起動するとRTMのポート繋げません的なエラーが出ている(全ログ後述)ROSBridgeが落ちているが,hcfからgoPosとかいじれる.STがバグっている気もするが.
18.04ではRTMは1.1.2 (16.04までは1.1.0)
USE_ROBOTHARDWAREな
rtmlaunch hrpsys_choreonoid_tutorials chidori_choreonoid.launch
だと以下.表記は違うが似たようなものな気がする.rtmlaunch hrpsys_ros_bridge_tutorials samplerobot.launch
は概ね問題ないように見えるので,rtmros_choreonoidのiobとかRobotHardwareまわりにRTMのバージョンに依存する何かあるのかなぁと思っていますが,心当たりあったら教えて欲しいです.以下,jaxon_red_choreonoid.launchログ全文