Go to Post You know, one year we need to stake out the AndyMark building for several weeks before Kickoff so we can see what the game pieces will be. Hidden webcam? :rolleyes: - DonRotolo [more]
Home
Go Back   Chief Delphi > Technical > Kit & Additional Hardware
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #5   Spotlight this post!  
Unread 23-09-2015, 10:31
Ari423's Avatar
Ari423 Ari423 is offline
LabVIEW aficionado and robot addict
AKA: The guy with the yellow hat
FRC #5987 (Galaxia)
Team Role: Mentor
 
Join Date: Mar 2015
Rookie Year: 2012
Location: Haifa, Israel
Posts: 646
Ari423 has much to be proud ofAri423 has much to be proud ofAri423 has much to be proud ofAri423 has much to be proud ofAri423 has much to be proud ofAri423 has much to be proud ofAri423 has much to be proud ofAri423 has much to be proud ofAri423 has much to be proud of
Re: Help with Axis Cameras

Quote:
Originally Posted by EmileH View Post
The USB cameras are a bit finicky, if your team uses the SmartDashboard (Java/C++) to view robot data and such, you will need to add a patched camera widget to the dashboard in order to view the camera feed if you are using the Simple Vision example code. The problem with using the stock camera viewer and the Simple Vision code is that the CameraServer (used in Simple Vision) does not send the mJPEG data with Huffman tables and causes an error on the Driver Station, preventing you from seeing your video feed. One way to solve this would be to use the Intermediate Vision example class, however it takes a lot of the RoboRIO CPU to decode and then re-encode the video for viewing on the dashboard, but adds the Huffman tables in the process. If you want to save your RoboRIO some CPU load, and insert the Huffman tables in on the DS computer, use this camera widget.
So you can use the USB camera with the Simple Vision example class (which uses the WPILib CameraServer) and view the image on the DS with the patched widget.

There's a really well-written guide on setting up an Axis Camera here: https://wpilib.screenstepslive.com/s...an-axis-camera
I would argue that if this your first year on an FRC team and you are the only programmer without a mentor (guessing because you asked CD not them) you should probably stick with LabVIEW for at least your first year. I was in practically the same boat as you with a little more experience and I can tell you nothing goes smoothly the first year. Even simple tasks like driving become challenging when you have no experience. Your goal for your first year should be to get the robot working, not to do anything fancy with it. I think for beginner robot programmers LabVIEW is much more forgiving of syntax mistakes and easier to do basic things than C++ or Java (even if you have non-robot programming experience in those languages). With that said, if you do choose to use LabVIEW, USB cameras are easier to use and should be fine for your purposes. The code is written into the sample robot project so all you have to do is plug in the camera and click USB camera (either HW or SW) on the sample dashboard. If you choose to use LabVIEW and need any help, PM me and I will be glad to help.
__________________
2017-present: Mentor FRC 5987
2017-present: CSA for FIRST in Israel
2012-2016: Member FRC 423
2013: Programmer
2014: Head Programmer, Wiring
2015: Head Programmer, Wiring
2016: Captain, Head Programmer, Wiring, Manipulator, Chassis, CAD, Business, Outreach (basically everything)


 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 02:10.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi