start-jsk / rtmros_choreonoid

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

add yaml file and read it from JAXONCustomizer #292

Closed yuki-shark closed 5 years ago

yuki-shark commented 5 years ago

JAXONCustomizer.cppの内部で設定していた一部パラメータを,外部のyamlファイルから与えられるように変更しました.

とりあえずchidoriだけですが, <robot_name>_choreonoid.launch の内部でconfing fileのpathをenvにセットし, JAXONCustomizer.cpp でenvのpathを取得しconfig fileを読み,センサなどのパラメータを取得するようにしました.

config fileの名前は<ROBOT_NAME>Customizer.yamlにしてあります.

YoheiKakiuchi commented 5 years ago

config fileの名前は.confにしてあります.

これは、<ROBOT_NAME>_customizer.yaml にしませんか

kyawawa commented 5 years ago

@yuki-shark こちらはこれで完了ですか?

yuki-shark commented 5 years ago

@kyawawa はい,完了のつもりです.

YoheiKakiuchi commented 5 years ago

ref: https://github.com/start-jsk/rtmros_choreonoid/issues/291

yuki-shark commented 5 years ago

@YoheiKakiuchi 大丈夫そうであれば,mergeをお願いしたいです.