About the vision stuff: I am not quite understanding how to use it.
Last year, this worked:
Code:
import wpilib
import vision
import nivision
self.axisCamera = vision.AxisCamera.GetInstance()
...
Side note: It looks like this year's approach makes the import nivision extraneous.
But the problem I have is on the "import vision", where I get a bunch of undefined reference messages:
Quote:
Importing user code.
Warning: module 0x17a1198 (_nivision.pyd) holds reference to undefined symbol imaqGetMeterArc.
Warning: module 0x17a1198 (_nivision.pyd) holds reference to undefined symbol imaqInverseFFT.
Warning: module 0x17a1198 (_nivision.pyd) holds reference to undefined symbol imaqFindLCDSegments.
Warning: module 0x17a1198 (_nivision.pyd) holds reference to undefined symbol imaqReplaceComplexPlane.
Warning: module 0x17a1198 (_nivision.pyd) holds reference to undefined symbol imaqFFT.
Warning: module 0x17a1198 (_nivision.pyd) holds reference to undefined symbol imaqConjugate.
Warning: module 0x17a1198 (_nivision.pyd) holds reference to undefined symbol imaqTruncate.
Warning: module 0x17a1198 (_nivision.pyd) holds reference to undefined symbol imaqCreateCharSet.
Warning: module 0x17a1198 (_nivision.pyd) holds reference to undefined symbol imaqExtractComplexPlane.
Warning: module 0x17a1198 (_nivision.pyd) holds reference to undefined symbol imaqFlipFrequencies.
Warning: module 0x17a1198 (_nivision.pyd) holds reference to undefined symbol imaqCreateClassifier.
Warning: module 0x17a1198 (_nivision.pyd) holds reference to undefined symbol imaqReadMeter.
Warning: module 0x17a1198 (_nivision.pyd) holds reference to undefined symbol imaqAttenuate.
Warning: module 0x17a1198 (_nivision.pyd) holds reference to undefined symbol imaqReadLCD.
(unloading partially loaded module _nivision.pyd)
|
Anyone have ideas on what I am doing wrong? I have the v43 cRIO image, and the RobotPy 2012.1 distribution.