|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||
|
|||
|
Re: Authentication Failed Axis M1011
Java is odd, so it actually still uses the USBCamera class for IP cameras, but thanks anyways!
|
|
#2
|
||||
|
||||
|
Re: Authentication Failed Axis M1011
Try building the Example project,
In Eclipse it can be found in File-> New Project> Example Robot Project -> Vision -> Axis Camera Sample In order for it to work you must follow the setup instructions here http://wpilib.screenstepslive.com/s/...an-axis-camera Best of luck! |
|
#3
|
|||
|
|||
|
Re: Authentication Failed Axis M1011
That's weird. I could have sworn we used the AxisCamera class to get to it last year.
|
|
#4
|
|||
|
|||
|
Re: Authentication Failed Axis M1011
I would advise against using the Axis netcam. It has a nasty habit of deciding to stop working for without warning for nebulous reasons. If you can use a USB camera instead, do so.
|
|
#5
|
|||
|
|||
|
Re: Authentication Failed Axis M1011
Quote:
In short: If you keep them powered up they keep trucking. I have seen one of them flake out after 3 years of service though. Some days it would work and some not. |
|
#6
|
|||
|
|||
|
Re: Authentication Failed Axis M1011
Quote:
|
|
#7
|
|||
|
|||
|
Re: Authentication Failed Axis M1011
Quote:
When I set it up I got another error: Code:
ERROR Unhandled exception: VisionException [com.ni.vision.VisionException: imaqError: -1233721680: Unknown error] at [com.ni.vision.NIVision._Priv_ReadJPEGString_C(Native Method), com.ni.vision.NIVision.Priv_ReadJPEGString_C(NIVision.java:29329), edu.wpi.first.wpilibj.vision.AxisCamera.getImage(AxisCamera.java:113), org.usfirst.frc.team1124.robot.dashboard.DashboardConnection.initCamera(DashboardConnection.java:28), org.usfirst.frc.team1124.robot.Robot.robotInit(Robot.java:70), edu.wpi.first.wpilibj.IterativeRobot.startCompetition(IterativeRobot.java:72), edu.wpi.first.wpilibj.RobotBase.main(RobotBase.java:241)] |
|
#8
|
|||
|
|||
|
Re: Authentication Failed Axis M1011
Note to anyone who has this error in the future:
The axis camera only works when the robot is enabled, so only execute camera.getImage() when the robot is enabled. |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|