Closed RyodoTanaka closed 7 years ago
家の環境でコンパイルしていたらもしかしたら解決したかもしれません... 家の環境では,エラーとして
CMake Error at /opt/ros/indigo/share/catkin/cmake/catkinConfig.cmake:83 (find_package):
Could not find a package configuration file provided by "constrained_ik"
with any of the following names:
constrained_ikConfig.cmake
constrained_ik-config.cmake
Add the installation prefix of "constrained_ik" to CMAKE_PREFIX_PATH or set
"constrained_ik_DIR" to a directory containing one of the above files. If
"constrained_ik" provides a separate development package or SDK, be sure it
has been installed.
Call Stack (most recent call first):
CMakeLists.txt:9 (find_package)
となったので,
$ sudo apt-get install ros-indigo-constrained-ik
をした後にコンパイルしたらエラーがでなくなりました.
内容的にも同じパッケージで詰まっているので,関係あるような気がします.
ちなみに,rosdep
で解決しようとしてもできなかったので,依存関係を完全に定義していないようです.
また,ビルドコマンドはcatkin build
を使いました.
catkin_make
なら起きないエラーかもしれません.(確認していないので未確定)
@Nishida-Lab/industrial_robot_team
https://github.com/Nishida-Lab/industrial_moveit/pull/1
上記のPRで修正しました.
具体的には,constrained_ik
パッケージのクラスの名前とメソッド名に変更があったのでそれに対応させました.
変更箇所については,
https://github.com/Nishida-Lab/industrial_moveit/commit/0ece6cc042c2b08628eaaaf397ca468d79fee44c
上記をご覧ください.
@Nishida-Lab/industrial_robot_team 解決したので閉じます.
[オリジナルのindustrial_moveit[(https://github.com/Nishida-Lab/industrial_moveit/tree/delete_moveit_experimental)をsrc以下に追加してコンパイルすると以下のエラーが起こる.
現状ではコンパイルエラーを直す対処法がわからない... STOMPを使わないのであれば、オリジナルのindustrial_moveitでなくても良いので,とりあえずはコンパイル対象から外すことで対処している.