-Jeremy Rand
Senior Programmer, Team SNARC (2012-2013), Norman Advanced (2010-2011), Norman HS (2008-2009), Norman North (2005-2007), Whittier MS (2003-2004)
2012-2013 VP of Tech, 2011 President, Botball YAC (2009-2013)
Mentor, Alcott and Whittier MS
Sorry for the double post, but I'm getting a new error with 4.0.5. It is compiling, but linking is failing with the following error
c:/program files (x86)/kiss platform 4.0.5/mingw/bin/../lib/gcc/mingw32/4.6.2/../../../libmingw32.a(main.o): In function `main':
C:\MinGW\msys\1.0\src\mingwrtmain.c:73: undefined reference to `WinMain@16'
collect2: ld returned 1 exit status
EDIT: Are in libraries like cvBlob installed on the kovan or do I have to get them onto the robot some other way? If not how should I do blob detection?
If I want to use some external lib how can I load it onto the kovan so that it compiles in?
Are you sure you have a main method? Could you post the code?
Perform a binary filter of the image in your hsv range and detect contours. Here's how it's done in libkovan: channel_p.cpp
That if statement is just to check if the low hue is greater than the high hue (with is possible with red hues). It basically shifts the entire matrix up and performs the filtering on the new range.
Now that I think about it, I don't know if I added opencv linking to user programs or not. I'll check tomorrow.
Braden McDorman
Developer of the KIPR Link, KISS IDE, KIPR's 2D Simulator, and CBCJVM.
Reach me at bmcdorman(cat)kipr(dog)org where (cat)=@ and (dog)=. if you need assistance of any kind.
@ruler I fixed your embed; use < cpp > rather than < code > to avoid the weird formatting.
-Jeremy Rand
Senior Programmer, Team SNARC (2012-2013), Norman Advanced (2010-2011), Norman HS (2008-2009), Norman North (2005-2007), Whittier MS (2003-2004)
2012-2013 VP of Tech, 2011 President, Botball YAC (2009-2013)
Mentor, Alcott and Whittier MS
Braden any ideas?
How can I send projects to the robot and have them compile? Would I just have to ssh in and run the commands manually? In that case is make installed?
Thank you. This is a great help to me for getting stuff running for our team.
No problem. Hope everything works!
-Jeremy Rand
Senior Programmer, Team SNARC (2012-2013), Norman Advanced (2010-2011), Norman HS (2008-2009), Norman North (2005-2007), Whittier MS (2003-2004)
2012-2013 VP of Tech, 2011 President, Botball YAC (2009-2013)
Mentor, Alcott and Whittier MS
Once everything is tested I'll be sure to tell you if it does. If I'm happy enough with it I may even put it up on github.
Sorry for the double post, but I'm getting a new error with 4.0.5. It is compiling, but linking is failing with the following error
c:/program files (x86)/kiss platform 4.0.5/mingw/bin/../lib/gcc/mingw32/4.6.2/../../../libmingw32.a(main.o): In function `main':
C:\MinGW\msys\1.0\src\mingwrtmain.c:73: undefined reference to `WinMain@16'
collect2: ld returned 1 exit status
EDIT: Are in libraries like cvBlob installed on the kovan or do I have to get them onto the robot some other way? If not how should I do blob detection?
If I want to use some external lib how can I load it onto the kovan so that it compiles in?
Are you sure you have a main method? Could you post the code?
Perform a binary filter of the image in your hsv range and detect contours. Here's how it's done in libkovan: channel_p.cpp
That if statement is just to check if the low hue is greater than the high hue (with is possible with red hues). It basically shifts the entire matrix up and performs the filtering on the new range.
Now that I think about it, I don't know if I added opencv linking to user programs or not. I'll check tomorrow.
Braden McDorman
Developer of the KIPR Link, KISS IDE, KIPR's 2D Simulator, and CBCJVM.
Reach me at bmcdorman(cat)kipr(dog)org where (cat)=@ and (dog)=. if you need assistance of any kind.
I am getting a new error now. I'm not sure what it means to be honest
error: Failed to extract KISS Archive.
If I want to compile programs with a custom command(for linking or something like that) would I have to ssh in and do that or is there a built-in way?
Could you post your source code? Are you talking to the simulator or Link? What's the OS?
Braden McDorman
Developer of the KIPR Link, KISS IDE, KIPR's 2D Simulator, and CBCJVM.
Reach me at bmcdorman(cat)kipr(dog)org where (cat)=@ and (dog)=. if you need assistance of any kind.
I'm on windows 7 and this is my source code. Sorry for it being so messy. I was just trying out an idea I had.
I am trying to compile and send it to the simulator to run.
@ruler I fixed your embed; use < cpp > rather than < code > to avoid the weird formatting.
-Jeremy Rand
Senior Programmer, Team SNARC (2012-2013), Norman Advanced (2010-2011), Norman HS (2008-2009), Norman North (2005-2007), Whittier MS (2003-2004)
2012-2013 VP of Tech, 2011 President, Botball YAC (2009-2013)
Mentor, Alcott and Whittier MS
Braden any ideas?
How can I send projects to the robot and have them compile? Would I just have to ssh in and run the commands manually? In that case is make installed?