View Single Post
  #4   Spotlight this post!  
Unread 15-01-2015, 02:37
Peter Johnson Peter Johnson is offline
WPILib Developer
FRC #0294 (Beach Cities Robotics)
Team Role: Mentor
 
Join Date: Jan 2010
Rookie Year: 2008
Location: Redondo Beach, CA
Posts: 256
Peter Johnson has much to be proud ofPeter Johnson has much to be proud ofPeter Johnson has much to be proud ofPeter Johnson has much to be proud ofPeter Johnson has much to be proud ofPeter Johnson has much to be proud ofPeter Johnson has much to be proud ofPeter Johnson has much to be proud of
Re: Vision system help

Quote:
Originally Posted by Fauge7 View Post
Code:
/usr/local/frc/JRE/bin/java: symbol lookup error: /var/volatile/tmp/libwpilibJavaJNI3257654380311841301.so: undefined symbol: imaqGetParticleInfo
but with the native libraries it seems like its missing the getparticleinfo class with the java wrapper.
The java wrapper incorrectly provided that function as the wrappers were generated from the header file instead of looking at what symbols are actually in the library. Unfortunately, the nivision library does not implement imaqGetParticleInfo, so you'll need to use a different function (e.g. imaqMeasureParticle).

I've been fixing a lot of bugs recently in the nivision Java wrappers so you'll almost certainly run into bugs using it right now. The next release should be a lot more functional.
__________________
Author of cscore - WPILib CameraServer for 2017+
Author of ntcore - WPILib NetworkTables for 2016+
Creator of RobotPy - Python for FRC

2010 FRC World Champions (294, 67, 177)
2007 FTC World Champions (30, 74, 23)
2001 FRC National Champions (71, 294, 125, 365, 279)
Reply With Quote