|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||
|
|||
|
Re: CMU2Cam Degrees & more
Quote:
And each degree is 90/256=0.3515625 degrees. :::EDIT::: It's not 90 degrees for sure, you can buy one with 180 degrees and one with 360 degrees. So can anybody tell how much degrees it is in the FIRST kit of parts? Last edited by itsme : 12-01-2007 at 18:26. |
|
#2
|
|||||
|
|||||
|
Re: CMU2Cam Degrees & more
Or, you can always drive the servo to 0, mark its position, drive it 255, mark its position, and then bust out a protractor.
We did a lot of testing to find the camera field of view and servo ranges in 2005. If I find them later, I will post them, although they may not be exactly the same. |
|
#3
|
|||
|
|||
|
Re: CMU2Cam Degrees & more
http://www.acroname.com/robotics/inf.../mod322hd.html
look at 'step 4', first two lines more than 180: http://www.phidgetsusa.com/forums/ar...php?t-553.html Last edited by TEAM1949 : 13-01-2007 at 07:18. |
|
#4
|
|||
|
|||
|
Re: CMU2Cam Degrees & more
Quote:
Jason |
|
#5
|
||||
|
||||
|
Re: CMU2Cam Degrees & more
Quote:
The servos are driven with standard pwms, so instead of having the camera code create the pan & tilt pwms, have a joystick control the value of the pwm. Comment out servo_track() so the camera has no control of the servos, then do pwm01 = p1_y (with whatever pwms and joystick you want to use inserted there). |
|
#6
|
||||
|
||||
|
Re: CMU2Cam Degrees & more
Quote:
-Kevin |
|
#7
|
|||
|
|||
|
Re: CMU2Cam Degrees & more
Great, thanks!
|
|
#8
|
|||||
|
|||||
|
Re: CMU2Cam Degrees & more
So in order to find the range from, for example, the rack, I need to calculate the # of degrees to the target from the servos and then calculate Tan(the angel)and devide the hight of the target from the camera by the Tan(angel)?
|
|
#9
|
|||||
|
|||||
|
Re: CMU2Cam Degrees & more
Yes, that should work.
ps angle is spelled le |
|
#10
|
|||||
|
|||||
|
Re: CMU2Cam Degrees & more
When you type as fast as I do, you'd probablly get the 15 minute delay for writing a long password too fast 5 times and get a wrong password error.
Thanks. |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Servo Values to Degrees... How? | mogunus | Programming | 16 | 11-04-2007 02:03 |
| engineering degrees | sciguy125 | Career | 18 | 17-03-2006 23:44 |
| Turn 90 Degrees | Mike | Math and Science | 16 | 05-12-2004 22:22 |
| More Pictures & Movies of Team 121 | Kyle Fenton | Robot Showcase | 9 | 18-02-2003 23:51 |
| TRADE ITEMS--EXCLUSIVE--MOE'S SIGNED SOCKS & MORE | archiver | 1999 | 2 | 23-06-2002 22:37 |