Go to Post So we are able to run a very competitive and active robotics program. Sustainability, alas, is a month-to-month issue for us and is dictated by the space situation. This is okay today. Tomorrow could be different. We live like this. - Clem1640 [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 02-02-2012, 15:37
Dusk Star's Avatar
Dusk Star Dusk Star is offline
team Chief Delphi junkie
AKA: Andrew
FRC #2611 (Jacktown Vectors)
Team Role: Programmer
 
Join Date: Jan 2012
Rookie Year: 2008
Location: Jackson, MI
Posts: 63
Dusk Star is an unknown quantity at this point
Colorimage.cpp error

We have started testing with our vision code, and our robot is returning an error- specifically, it says that we have error 1074396120 at line 37 of C:/Windriver/workspace/WPILib/Vision/Colorimage.cpp

We have not changed this file at all

We are programming in Windriver C++, and would really appreciate some thoughts on what might be causing this.
Reply With Quote
  #2   Spotlight this post!  
Unread 03-02-2012, 13:00
DjScribbles DjScribbles is offline
Programming Mentor
AKA: Joe S
FRC #2474 (Team Excel)
Team Role: Mentor
 
Join Date: Oct 2011
Rookie Year: 2012
Location: Niles MI
Posts: 284
DjScribbles is a splendid one to beholdDjScribbles is a splendid one to beholdDjScribbles is a splendid one to beholdDjScribbles is a splendid one to beholdDjScribbles is a splendid one to beholdDjScribbles is a splendid one to beholdDjScribbles is a splendid one to beholdDjScribbles is a splendid one to behold
Re: Colorimage.cpp error

To get any good advice you'll want to attach code showing where in your code you are using ColorImage. Some basic advice, make sure you are deleting images that you are getting from the camera, and the images you get back from the threshold function.

Each time you get an image from the camera, and perform a threshold (producing a binary image) you'll be left with 1 color image and 1 binary image, if you don't store pointers to these objects and delete them when you are done with them, you will quickly eat up your memory and things will start failing.

This post has some more detailed info:
http://www.chiefdelphi.com/forums/sh...15&postcount=3


If this doesn't help you, please post your code.
Reply With Quote
  #3   Spotlight this post!  
Unread 03-02-2012, 13:57
bob.wolff68's Avatar
bob.wolff68 bob.wolff68 is offline
Da' Mentor Man
FRC #1967
Team Role: Mentor
 
Join Date: Jan 2012
Rookie Year: 2007
Location: United States
Posts: 157
bob.wolff68 is just really nicebob.wolff68 is just really nicebob.wolff68 is just really nicebob.wolff68 is just really nicebob.wolff68 is just really nice
Re: Colorimage.cpp error

Please see thread @ http://www.chiefdelphi.com/forums/sh...d.php?t=101718 as I think it may be the same discussion to have...

bob
__________________
~~~~~~~~~~~~~~~~~~~
Bob Wolff - Software from the old-school
Mentor / C / C++ guy
Team 1967 - The Janksters - San Jose, CA
Reply With Quote
  #4   Spotlight this post!  
Unread 03-02-2012, 15:27
Dusk Star's Avatar
Dusk Star Dusk Star is offline
team Chief Delphi junkie
AKA: Andrew
FRC #2611 (Jacktown Vectors)
Team Role: Programmer
 
Join Date: Jan 2012
Rookie Year: 2008
Location: Jackson, MI
Posts: 63
Dusk Star is an unknown quantity at this point
Re: Colorimage.cpp error

Thank you! We will look into that!
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 03:00.

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