Go to Post sometimes you have to dig through the trash and clean off the layers of dirt and grime in order to find diamonds in the rough. - Travis Hoffman [more]
Home
Go Back   Chief Delphi > Technical > Programming > C/C++
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 16-01-2013, 18:22
SoyStuff SoyStuff is offline
Registered User
FRC #1257
 
Join Date: Jan 2012
Location: Brooklyn
Posts: 29
SoyStuff is a jewel in the roughSoyStuff is a jewel in the roughSoyStuff is a jewel in the rough
Sample Vision Code Misbehaving

When we wrote our vision code for this year, we were feeling pretty confident. Then, when we used it for the first time, it caused us to lose communication with the robot. We spent a day trying to get it working, and eventually we just tried pushing the 2013 Vision sample code (yes, with the lines to initialize the Axis camera and get an image uncommented). This caused us to lose communication, as well. For the record, we're using C++. Any thoughts as to what might be wrong?
Reply With Quote
  #2   Spotlight this post!  
Unread 18-01-2013, 11:14
mprasolov's Avatar
mprasolov mprasolov is offline
Jack of all trades
AKA: Misha Prasolov
FRC #2823 (The Automatons)
Team Role: Student
 
Join Date: Nov 2012
Rookie Year: 2012
Location: Saint Paul, MN
Posts: 36
mprasolov is an unknown quantity at this point
Re: Sample Vision Code Misbehaving

We were getting the same problem, and this was on a cRIO I with the camera. We then tried on a cRIO II with an image we placed on the cRIO using FTP, instead of using the Axis camera. It produced the files on the root of the cRIO and (using the code in the Driverstation LCD example program) we were able to print the distance and other info to the driver station. Try this, we are working on this too. If we figure out how to get it to work with the Camera, we will post.
Reply With Quote
Reply


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 14:22.

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