Communication between OpenMV and ROS

Discussion related to "under the hood" OpenMV topics.
ford_prefect
Posts: 1
Joined: Sun Jan 06, 2019 12:24 pm

Communication between OpenMV and ROS

Postby ford_prefect » Sun Jan 06, 2019 12:44 pm

Hi there!

I'm fairly new to using the OpenMV cam (just starting), and I'd like to use it as part of a project which I will be working on.

In my desired setup for the project, I have an OpenMV cam and another MCU (still not quite certain which one), which will be running ROS.

My question is, is there a way to achieve communication between the OpenMV cam and ROS? Has it been done before, and if so, is there a guide/tutorial on how to do it?

I am not trying to actually run ROS on the cam itself. All computation will be done on the cam (as per usual), and the results will be forwarded to the other unit running ROS.
User avatar
kwagyeman
Posts: 2606
Joined: Sun May 24, 2015 2:10 pm

Re: Communication between OpenMV and ROS

Postby kwagyeman » Sun Jan 06, 2019 3:58 pm

Hi, you'd need to write a ROS node that receives serial data from a serial port and publishes the messages in ROS. In python code this isn't really a lot of lines.

Keep in mind the OpenMV Cam isn't a fixed function sensor where there's an obvious way to do this. You can design whatever application you want on the camera that sends serial data to a ROS node.
Nyamekye,
fabianschilling
Posts: 3
Joined: Tue Nov 27, 2018 5:33 am

Re: Communication between OpenMV and ROS

Postby fabianschilling » Fri Jan 11, 2019 11:11 am

Hi, you may be interested in my https://github.com/fabianschilling/openmv_cam ROS package. I happen to have the exact same use case so I wrote a very minimal package that provides a OpenMV -> ROS interface.
User avatar
kwagyeman
Posts: 2606
Joined: Sun May 24, 2015 2:10 pm

Re: Communication between OpenMV and ROS

Postby kwagyeman » Fri Jan 11, 2019 12:03 pm

Would you like this to be distributed with OpenMV IDE? It will get more usage then.
Nyamekye,

Return to “Technical Discussion”

Who is online

Users browsing this forum: Bing [Bot] and 4 guests