Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   FRC Control System (http://www.chiefdelphi.com/forums/forumdisplay.php?f=176)
-   -   Yet Another Axis Camera Live Feed Issue (http://www.chiefdelphi.com/forums/showthread.php?t=80622)

z2daj 19-01-2010 20:08

Yet Another Axis Camera Live Feed Issue
 
Okay, so the programmers here have updated everything humanly possible, and yet the Dashboard - Axis Camera combo refuses to show any type of live feed communication. To make matters a little more perplexing, WindRiver refuses to build the FRC Camera to Dashboard Example code, claiming that "AxisCamera.h", "BaeUtilities.h", and "FRCError.h" exist yet they are clearly visible in the C:\WindRiver\vxworks.6.3xx\target\h\WPILib\Vision directory... I've tried copying the correct files out of the sub-directory but the cRIO refuses to cooperate. Any ideas?

The build errors:
Code:

Build Started in Project 'CameraToDashboardExample':  2010-01-19 20:08:15
Generation of makefiles started.
Generation of makefiles finished (Elapsed Time: 00:00).
Platform: Wind River VxWorks 6.3
Command: make --no-print-directory BUILD_SPEC=PPC603gnu DEBUG_MODE=1 TRACE=1
Working Directory: C:/windriver/workspace/CameraToDashboardExample/PPC603gnu
if [ ! -d "`dirname "CameraToDashboardExample/Debug/Objects/CameraToDashboardExample/CameraToDashboardExample.o"`" ]; then mkdir -p "`dirname "CameraToDashboardExample/Debug/Objects/CameraToDashboardExample/CameraToDashboardExample.o"`"; fi;echo "building CameraToDashboardExample/Debug/Objects/CameraToDashboardExample/CameraToDashboardExample.o"; ccppc -g -mcpu=603 -mstrict-align -mno-implicit-fp -mlongcall -ansi -Wall  -MD -MP  -IC:/WindRiver/vxworks-6.3/target/h/WPILib -IC:/WindRiver/vxworks-6.3/target/h -IC:/WindRiver/vxworks-6.3/target/h/wrn/coreip  -DCPU=PPC603 -DTOOL_FAMILY=gnu -DTOOL=gnu -D_WRS_KERNEL    -o "CameraToDashboardExample/Debug/Objects/CameraToDashboardExample/CameraToDashboardExample.o" -c "C:/windriver/workspace/CameraToDashboardExample/CameraToDashboardExample.cpp"
building CameraToDashboardExample/Debug/Objects/CameraToDashboardExample/CameraToDashboardExample.o
C:/windriver/workspace/CameraToDashboardExample/CameraToDashboardExample.cpp:24:25: AxisCamera.h: No such file or directory
C:/windriver/workspace/CameraToDashboardExample/CameraToDashboardExample.cpp:25:26: BaeUtilities.h: No such file or directory
C:/windriver/workspace/CameraToDashboardExample/CameraToDashboardExample.cpp:26:22: FrcError.h: No such file or directory
In file included from C:/windriver/workspace/CameraToDashboardExample/CameraToDashboardExample.cpp:27:
C:/WindRiver/vxworks-6.3/target/h/WPILib/PCVideoServer.h:28: error: expected class-name before '{' token
C:/windriver/workspace/CameraToDashboardExample/CameraToDashboardExample.cpp: In member function `virtual void CameraToDashboardExample::RobotMain()':
C:/windriver/workspace/CameraToDashboardExample/CameraToDashboardExample.cpp:39: error: `DEBUG_SCREEN_ONLY' undeclared (first use this function)
C:/windriver/workspace/CameraToDashboardExample/CameraToDashboardExample.cpp:39: error: (Each undeclared identifier is reported only once for each function it appears in.)
C:/windriver/workspace/CameraToDashboardExample/CameraToDashboardExample.cpp:39: error: `SetDebugFlag' undeclared (first use this function)
C:/windriver/workspace/CameraToDashboardExample/CameraToDashboardExample.cpp:42: error: `k320x240' undeclared (first use this function)
C:/windriver/workspace/CameraToDashboardExample/CameraToDashboardExample.cpp:42: error: `ROT_0' undeclared (first use this function)
C:/windriver/workspace/CameraToDashboardExample/CameraToDashboardExample.cpp:42: error: `StartCameraTask' undeclared (first use this function)
C:/windriver/workspace/CameraToDashboardExample/CameraToDashboardExample.cpp:43: error: `LOG_ERROR' undeclared (first use this function)
C:/windriver/workspace/CameraToDashboardExample/CameraToDashboardExample.cpp:44: error: `GetLastVisionError' undeclared (first use this function)
C:/windriver/workspace/CameraToDashboardExample/CameraToDashboardExample.cpp:44: error: `GetVisionErrorText' undeclared (first use this function)
C:/windriver/workspace/CameraToDashboardExample/CameraToDashboardExample.cpp:44: error: `dprintf' undeclared (first use this function)
C:/windriver/workspace/CameraToDashboardExample/CameraToDashboardExample.cpp:46: error: `LOG_DEBUG' undeclared (first use this function)
C:/windriver/workspace/CameraToDashboardExample/CameraToDashboardExample.cpp:47: error: `Wait' undeclared (first use this function)
C:\WindRiver\vxworks-6.3\host\x86-win32\bin\make.exe: *** [CameraToDashboardExample/Debug/Objects/CameraToDashboardExample/CameraToDashboardExample.o] Error 1
Build Failed in Project 'CameraToDashboardExample' (Process Exit Value was 2):  2010-01-19 20:08:17  (Elapsed Time: 00:02)


Bryscus 20-01-2010 10:18

Re: Yet Another Axis Camera Live Feed Issue
 
We have had the same error with this example, but haven't gotten it fixed yet. You might want to try the "FRC 2010 Vision Demonstration Program" example. It should build correctly if you have the Workbench Update installed. Also, check out this thread http://www.chiefdelphi.com/forums/sh...threadid=80536 post #6. It might be the solution to your problem.

z2daj 24-01-2010 13:47

Re: Yet Another Axis Camera Live Feed Issue
 
Thank you for your help, that link did the trick :D


All times are GMT -5. The time now is 23:28.

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