Issue link (if present): -
Issue description: I have the OAK camera installed on my robot upside down (rotated 180 degrees). The depthai api gives a couple of options for rotating the image. All I did was output them to a ROS parameter and enabled the user to set a parameter that will rotate the image if necessary.
Related PRs -
Changes
ROS distro: Humble
List of changes:
-Add a map from string to CameraImageOrientation
-Add a parameter for camera image orientation and set the image orientation based on this parameter both in color camera and mono camera
Testing
Hardware used: OAK D-W, UpBoard 4000
Depthai library version: 2.22.0
Visuals from testing
Add screenshots/gifs/videos from RVIZ or other visualizers demonstrating the effect of the changes when applicable.
Overview
Author: Jan Hernas
Issue
Issue link (if present): - Issue description: I have the OAK camera installed on my robot upside down (rotated 180 degrees). The depthai api gives a couple of options for rotating the image. All I did was output them to a ROS parameter and enabled the user to set a parameter that will rotate the image if necessary. Related PRs -
Changes
ROS distro: Humble List of changes: -Add a map from string to CameraImageOrientation -Add a parameter for camera image orientation and set the image orientation based on this parameter both in color camera and mono camera
Testing
Hardware used: OAK D-W, UpBoard 4000 Depthai library version: 2.22.0
Visuals from testing
Add screenshots/gifs/videos from RVIZ or other visualizers demonstrating the effect of the changes when applicable.![Screenshot from 2023-08-08 11-35-09](https://github.com/luxonis/depthai-ros/assets/40989249/b782ee73-7b41-4548-9916-16472e73a326)