start-jsk / rtmros_choreonoid

using chreonoid for simulator with hrpsys and other ros system
9 stars 43 forks source link

set cmake_build_type of iob as Release to maintain performance in Ubu… #297

Closed shintarokkk closed 5 years ago

shintarokkk commented 5 years ago

…ntu 16.04

Ubuntu16.04においてRobotHardware_choreonoidの周期が遅くなってしまう問題 https://github.com/start-jsk/rtmros_choreonoid/issues/296 の対応策としてiobのビルドタイプをReleaseに固定しました。

kyawawa commented 5 years ago

RelWithDebInfoが良いのかは分かりませんが,

if(NOT CMAKE_BUILD_TYPE) 
    set(CMAKE_BUILD_TYPE Release)
endif()

のようにしておかないといざDebugにしようとした時困るのではないでしょうか

shintarokkk commented 5 years ago

ありがとうございます。修正しておきました。

YoheiKakiuchi commented 5 years ago

やり方忘れるから、これも書いておいて

# catkin bt --cmake-args -DCMAKE_BUILD_TYPE={Release, Debug}
shintarokkk commented 5 years ago

コメント追記しました。