OpenRTM / OpenRTP-aist

OpenRTP-aist: RT-Middleware and OMG RTC based component and system development tools implemented by AIST
Other
1 stars 6 forks source link

OpenRTM2.0の環境でPython RTCのidlcompile.shがエラーになる #501

Closed n-kawauchi closed 1 year ago

n-kawauchi commented 1 year ago

Describe the bug

Reproducibility 100%

Environment

n-ando commented 1 year ago

/jp.go.aist.rtm.rtcbuilder.python/src/jp/go/aist/rtm/rtcbuilder/python/template/python/idlcompile.sh.vsl を以下のように変更。

#/bin/bash

RTM_CONFIG="rtm2-config"
if type "rtm-config" > /dev/null 2>&1; then
    RTM_CONFIG_CMD="rtm-config"
fi
if type "rtm-config2" > /dev/null 2>&1; then
    RTM_CONFIG_CMD="rtm-config2"
fi
if type "rtm2-config" > /dev/null 2>&1; then
    RTM_CONFIG_CMD="rtm2-config"
fi
if test "x$RTM_CONFIG_CMD" = "x" ; then
    echo "rtm-config/rtm-config2/rtm2-config command not found."
    exit 1
fi
IDL_PATH=`$RTM_CONFIG_CMD --rtm-idldir`
echo omniidl -bpython -I$IDL_PATH #foreach($IdlFile in ${allIdlFileParamBuild})idl/${IdlFile.IdlFile} #end