Merged
Conversation
n-ando
previously approved these changes
Jan 24, 2022
n-kawauchi
approved these changes
Sep 19, 2024
n-kawauchi
left a comment
There was a problem hiding this comment.
最新masterソースへマージし、ビルド(python -m build)して生成されたwhlファイルでインストールした環境で動作OKを確認した。
OpenRTM_aist_Python-2.0.2-py3-none-any.whl
確認はWindows11上に作成したPython3.10のvenv環境を使用。確認手順は以下の通り。
> python -m venv env10
(env10) D:\env10>ls
Include Lib OpenRTM_aist_Python-2.0.2-py3-none-any.whl Scripts pyvenv.cfg
OpenRTM-Pythonをenv10環境へインストールし、sys.pathを確認しておく。
(env10) D:\env10>pip install --no-index --prefix=d:\env10 OpenRTM_aist_Python-2.0.2-py3-none-any.whl
(env10) D:\env10>python -m site
sys.path = [
'D:\\env10',
'C:\\Python310\\python310.zip',
'C:\\Python310\\DLLs',
'C:\\Python310\\lib',
'C:\\Python310',
'D:\\env10\\lib\\site-packages',
'D:\\env10\\lib\\site-packages\\OpenRTM_aist',
'D:\\env10\\lib\\site-packages\\OpenRTM_aist\\utils',
'D:\\env10\\lib\\site-packages\\OpenRTM_aist\\RTM_IDL',
]
examplesディレクトリはどこにあってもよいが、便宜上env10ディレクトリ下へ移動しておく。
(env10) D:\env10>mv Lib\site-packages\OpenRTM_aist\examples .
(env10) D:\env10>ls
Include Lib OpenRTM_aist_Python-2.0.2-py3-none-any.whl Scripts examples pyvenv.cfg
omniorb-pyをインストール
(env10) D:\env10>pip install omniorb-py
managerコマンドの場所を確認しておく。whlでインストールした場合、Scripts下に配置されている。
(env10) D:\env10\Scripts>ls rtc*
rtcd2_python rtcprof2_python
Scripts下に下記内容のrtc.confを置く。
corba.nameservers: localhost
naming.formats: %h.host_cxt/%n.rtc
logger.enable: YES
logger.log_level: PARANOID
manager.modules.load_path:
manager.modules.Python.load_paths:${RTM_ROOT}/examples/SimpleIO
上記rtc.conf内のRTM_ROOTを設定してからPythonのRTC daemonを実行する。
(env10) D:\env10\Scripts>set RTM_ROOT=D:/env10
(env10) D:\env10\Scripts>rtcd2_python -d
RTSEでmanagerのLoadable Modulesで下記パスが表示されていることを確認した。
D:\env10\examples\SimpleIO\ConsoleIn.py
D:\env10\examples\SimpleIO\ConsoleOut.py
n-ando
approved these changes
Sep 24, 2024
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Identify the Bug
Description of the Change
以下と同じ。
Verification