View Single Post
  #3   Spotlight this post!  
Unread 19-02-2016, 10:21
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,748
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
Re: Rotating Camera Feed in Smart Dashboard

Some camera drivers can manipulate the image, and it is camera specific. Flips are more common that rotations, but look through to see what it offers.

I'd avoid doing the rotation on the robot, but send it to the dashboard. You don't mention what type of dashboard, but the default dashboard is the same as the LV dashboard, and the IMAQ functions can rotate it between the read and the display. This is also often where annotations are added. OpenCV can certainly manipulate the image too, so if using SmartDashboard, see if the image display includes a rotation feature, or extend it to add one.

Greg McKaskle