ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
1

ROS and Open Vino

asked 2019-04-24 22:19:35 -0500

rukie gravatar image

updated 2019-04-25 01:57:32 -0500

gvdhoorn gravatar image

Hello! I'm interested in running the Neural Compute Stick 2 with ROS, in Python. The first Neural Compute Stick used the NCSDK which provided Python 2.7 support. OpenVINO doesn't seem to have any plans for Python 2.7 support (requirements). I'm not particularly skillful with C code, so I'm curious if anyone else has gotten OpenVINO to work with ROS1+Python.

What are my options here? As I'm running a simulation in Unity and communicating over a ros websocket (like the LG Simulator), would roslibpy be a good option? I think that could be installed with python3 to connect over the rosbridge/websocket.

Note: Confusingly it seems like there might be some 2.7 support per here

edit retag flag offensive close merge delete

Comments

@rukie Depending on what ros distro you are using (and also which packages you are using), you can potentially use Python3 in your setup with ROS 1 and not run into too much trouble. You could also try ROS 2, which requires Python 3.

allenh1 gravatar image allenh1  ( 2019-04-25 09:04:55 -0500 )edit

@allenh1 I'm using ROS Kinetic on Ubuntu 16.04. Which ROS version would have the best Python3 support? I assume Melodic?

I previously stuck with Kinetic because it appears to have best support for online tutorials (and it seems like Indigo is in all the books). Though I'm getting to a point that I'm not so reliant on existing packages and tutorials.

rukie gravatar image rukie  ( 2019-04-25 10:30:05 -0500 )edit
rukie gravatar image rukie  ( 2019-04-25 11:04:29 -0500 )edit

@rukie: the blog documents 3 steps, 1 of which is optional (the rostest one) and gives the exact commands.

gvdhoorn gravatar image gvdhoorn  ( 2019-04-25 13:15:07 -0500 )edit

And I assume all of these apt packages should be ignored?

python3-catkin-pkg python3-catkin-pkg-modules python3-dateutil python3-docutils python3-pygments python3-pyparsing python3-roman python3-rosdep python3-rosdistro python3-rosdistro-modules python3-rospkg python3-rospkg-modules

rukie gravatar image rukie  ( 2019-04-25 15:18:25 -0500 )edit

I'm not sure what you mean by "ignored" here... If you mean "not installed" then no, you probably need them.

allenh1 gravatar image allenh1  ( 2019-04-25 15:25:57 -0500 )edit

@allenh1 If I try to install a python3-catkin-pkg it wants to uninstall all of ros-melodic. I don't understand how those packages might play into a ROS and Python3 environment.

rukie gravatar image rukie  ( 2019-04-25 16:25:49 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
2

answered 2019-12-07 22:11:58 -0500

songshan gravatar image

I have written a easy-to-use ROS wrapper for OpenVINO R3 Inference Engine, with a step-by-step instruction! =) https://github.com/songshan0321/ros_vino

edit flag offensive delete link more

Question Tools

3 followers

Stats

Asked: 2019-04-24 22:19:35 -0500

Seen: 576 times

Last updated: Dec 07 '19