Groups
Groups
Sign in
Groups
Groups
ROS Japan Users Group
Conversations
About
Send feedback
Help
opencvのバージョン2,3の競合
224 views
Skip to first unread message
椿本樹矢
unread,
Oct 11, 2016, 3:31:13 AM
10/11/16
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to ROS JAPAN Users Group
もともとの環境に入っているopencvがバージョン3で、新たに始めるプロジェクトでIndigoを使う際にopencv2を使う必要があります。
同じ環境の中に2つのバージョンを持ちながら切り替えるベストな方法はないでしょうか?
Moirai
unread,
Oct 13, 2016, 8:32:31 PM
10/13/16
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to ROS JAPAN Users Group
基本的にはopencv3を使いたければkinetic/16.
04を使い、ロボットやドライバ等の問題で16.
04では動かず14.04が必須であればindigo + opencv2を使い、
競合する場合はどちらかを諦めるのが良いと思います。
https://github.com/ros-perception/opencv_apps/blob/indigo/.travis.sh#L59-L62
を参考にrosのなかのopencv2をつかっているパッケージ
を再コンパイルし直すか、
あるいは、自分が作るパッケージだけがopencv3であれば、
http://answers.ros.org/question/214043/use-ros-indigo-opencv3-alongside-248/?answer=221841#post-id-221841
のようにしてパッケージが作れるかと思います.
ご参考になりましたら幸いです。
Reply all
Reply to author
Forward
0 new messages