|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools |
Rating:
|
Display Modes |
|
|
|
#1
|
||||
|
||||
|
Re: Camera Image on Driver Station/Dashboard
In Java, C++ should be very similar:
Code:
AxisCamera camera = AxisCamera.getInstance(); camera.writeRotation(AxisCamera.RotationT.k180); //or k0. |
|
#2
|
|||
|
|||
|
Hm, would you by any chance know how to code that in LabView? That is what we are working in.
|
|
#3
|
||||
|
||||
|
Re: Camera Image on Driver Station/Dashboard
for some reason changing camera settings in the code never seems to work right. my suggestion is to connect the camera to a computer with a crossover cable, go into a web browser, type in its IP address (ours is 192.168.0.90, i believe yours is supposed to be the same) password should be root and then admin (if this is your programming laptop, make sure to change your ip address so that it starts with 192.168.0.x instead of 10.x.x.x) through the web browser you can access the video settings and flip the image 180 degrees
|
|
#4
|
|||
|
|||
|
Re: Camera Image on Driver Station/Dashboard
If you open Begin.vi, it already sets about six camera parameters. I don't actually see a Set Property VI for setting the camera rotation, though. It would be pretty easy to build.
Do you want this for processing on the robot, or for display on the dashboard. I'd suggest leaving it alone on the robot and simply flipping the resulting X,Y. Then rotate it on the dashboard. This will consume less cRIO CPU. Greg McKaskle |
|
#5
|
|||
|
|||
|
Re: Camera Image on Driver Station/Dashboard
We woulkd like to have it for the dashboard.
Where can I chane the x and y, and how do I flip this image? |
|
#6
|
|||
|
|||
|
Re: Camera Image on Driver Station/Dashboard
To rotate or modify it for the dashboard, use the IMAQ functions in Vision>>Vision Utilities>>Image Manipulation, and either the IMAQ Symmetry to mirror and flip, or the IMAQ Rotate to spin.
Greg McKaskle |
|
#7
|
||||
|
||||
|
Re: Camera Image on Driver Station/Dashboard
if you loosen the screw on the post of the camera you can just put it right side up with the mount on the top opposed to reprograming it
|
|
#8
|
|||
|
|||
|
Re: Camera Image on Driver Station/Dashboard
I found those VIs. Where in my code would it be best to place it?
|
|
#9
|
||||
|
||||
|
Re: Camera Image on Driver Station/Dashboard
You want to place it in your Dashboard, after the "get image on PC" vi.
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Dashboard-Driver Station Help Please | sircedric4 | C/C++ | 18 | 21-01-2010 22:50 |
| How to run dashboard project on driver station | baronep | Programming | 1 | 18-01-2010 14:58 |
| Driver Station Dashboard Problems | CVassos | Programming | 9 | 16-01-2010 23:27 |
| Driver Station to Dashboard Laptop connection | slavik262 | FRC Control System | 4 | 12-01-2010 00:37 |