Skip to content

edwardburns1/openmv_cam

 
 

Repository files navigation

OpenMV Cam ROS package

This package provides an interface between the OpenMV Cam and ROS.

Images are acquired by the camera and sent via USB to the ROS node which relays them as ROS image messages.

Resolving Dependencies

To resolve the dependencies with camera_info_manager_py, run: rosdep install --from-paths /path/to/your/catkin_ws/src --ignore-src

Getting started

Connect the camera and copy the main.py file, either using the OpenMV IDE or directly using the mounted storage device. Remember to reset the camera via the IDE or eject the storage device to prevent data loss.

Launch the node as follows:

roslaunch openmv_cam openmv_cam.launch

By default, the node uses the following parameters:

roslaunch openmv_cam openmv_cam.launch \
    device:=/dev/ttyACM0 \
    image:=image_raw \
    camera:=camera_info \
    calibration:=$(rospack find openmv_cam)/calib/standard_lens.yaml

Calibrations

The calib folder contains calibrations for standard OpenMV lenses:

The calibrations were obtained using the ROS camera_calibration package.

License

The OpenMV Cam ROS package is released under the MIT License.

About

OpenMV Cam ROS package

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 96.4%
  • CMake 3.6%