Melodic on ev3dev, cannot install vision_opencv
I have installed ros melodic on RaspberryPi3 running ev3dev system using this tutorial https://github.com/moriarty/ros-ev3/blob/master/brickstrap-build-status.md I need to use opencv2 and cv_bridge so i have trying to install this packages using apt-get:
robot@ev3dev:~$ sudo apt-get install ros-melodic-vision-opencv
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package ros-melodic-vision-opencv
robot@ev3dev:~$ sudo apt-get install ros-melodic-cv-bridge
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package ros-melodic-cv-bridge
and using rosdep:
robot@ev3dev:~$ rosdep install vision_opencv
ERROR: Rosdep cannot find all required resources to answer your query
Missing resource vision_opencv
ROS path [0]=/opt/ros/melodic/share/ros
ROS path [1]=/opt/ros/melodic/share
robot@ev3dev:~$ rosdep install cv_bridge
ERROR: Rosdep cannot find all required resources to answer your query
Missing resource cv_bridge
ROS path [0]=/opt/ros/melodic/share/ros
ROS path [1]=/opt/ros/melodic/share
robot@ev3dev:~$ rosdep install opencv2
ERROR: Rosdep cannot find all required resources to answer your query
Missing resource opencv2
ROS path [0]=/opt/ros/melodic/share/ros
ROS path [1]=/opt/ros/melodic/share
What i should do to install this packages?
Edit: I did different approach. I did these commands on clean ev3dev-stretch-rpi2-generic system under docker:
sudo apt update && sudo apt install ros-robot
sudo apt-get install python-rosdep
sudo rosdep init
rosdep update
rosdep install vision_opencv
ERROR: Rosdep cannot find all required resources to answer your query
Missing resource vision_opencv
ROS path [0]=/usr/share
Same error appears when I am tying to install cv_bridge or opencv...
Asked by Antracyt on 2018-10-06 09:38:34 UTC
Comments
The instructions you link to (moriarty's steps) build everything from source. You cannot use
apt-get
afterwards to install more packages with a setup like that.Asked by gvdhoorn on 2018-10-06 09:44:44 UTC
So there is no way to install additional dependencies on setup like this?
Asked by Antracyt on 2018-10-06 10:24:46 UTC
Well, technically you're not adding dependencies, but new packages.
But that is definitely possible: you'll just have to build those from sources as well. See the
rosinstall_generator
bit in the steps Moriarty outlined.There is nothing EV3 specific about this btw, identical on all platforms.
Asked by gvdhoorn on 2018-10-06 10:56:40 UTC
re: edit &
ros-robot
: please read wiki/UpstreamPackages.Asked by gvdhoorn on 2018-10-07 05:45:12 UTC