|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Axis Camera
How can I use an Axis Camera to send a camera feed without using Vision in Java?
|
|
#2
|
|||
|
|||
|
Re: Axis Camera
What do you mean? You just want the basic camera view to come up on smartdashboard or something without doing any vision processing?
|
|
#3
|
||||
|
||||
|
Re: Axis Camera
Code:
import edu.wpi.first.wpilibj.vision.AxisCamera;
AxisCamera cam1 = new AxisCamera("10.XX.XX.X"); //put in your camera's ip
public static AxisCamera.Resolution k640x360;
Follow those instructions exactly then... Put this into your code. |
|
#4
|
|||
|
|||
|
Re: Axis Camera
Will that display the camera on the dashboard?
|
|
#5
|
||||
|
||||
|
Re: Axis Camera
Yes it will, you just have to go to your dashboard and add the camera with the ip.
|
|
#6
|
|||
|
|||
|
Re: Axis Camera
Where do I go on the dashboard to add the camera?
|
|
#7
|
||||
|
||||
|
Re: Axis Camera
I believe it is somewhere on the bottom right side. It lets you choose from Ip Camera, HW Webcam, or SW Webcam.
|
|
#8
|
|||
|
|||
|
Re: Axis Camera
Are you using SmartDashboard or SmartDashboard 2 (SFX)?
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|