View Single Post
  #2   Spotlight this post!  
Unread 19-02-2016, 10:03
Hjelstrom's Avatar
Hjelstrom Hjelstrom is offline
Mentor
FRC #0987 (High Rollers)
Team Role: Mentor
 
Join Date: Mar 2008
Rookie Year: 2005
Location: Las Vegas
Posts: 146
Hjelstrom has a reputation beyond reputeHjelstrom has a reputation beyond reputeHjelstrom has a reputation beyond reputeHjelstrom has a reputation beyond reputeHjelstrom has a reputation beyond reputeHjelstrom has a reputation beyond reputeHjelstrom has a reputation beyond reputeHjelstrom has a reputation beyond reputeHjelstrom has a reputation beyond reputeHjelstrom has a reputation beyond reputeHjelstrom has a reputation beyond repute
Re: Rotating Camera Feed in Smart Dashboard

Quote:
Originally Posted by Gamma + View Post
Unfortunately, our camera had to be mounted upside down on the robot due to inconvenient frame geometry/ mounting plates. As a result the camera feed on the Smart Dashboard appears upside down. Is it possible to rotate the feed on the dashboard? In the code? We program in java. Thanks.
I don't have the solution for you but I can tell you that in previous years we implemented a Java class for the smart dashboard which inherited from the video widget that comes with smart dashboard. If you did that you might be able to do the flip in an overridden render method. We did thing like draw a cross hair over the image. We might do the same again this year but it looks like smart dashboard has changed a lot since then and we haven't gotten to it.