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.
To resolve the dependencies with camera_info_manager_py, run: rosdep install --from-paths /path/to/your/catkin_ws/src --ignore-src
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
The calib folder contains calibrations for standard OpenMV lenses:
- Standard lens (included with the camera)
- Ultra-wide angle lens
The calibrations were obtained using the ROS camera_calibration package.
The OpenMV Cam ROS package is released under the MIT License.