Permalink
Browse files

angle logic isn't working quite as expected. need to spend a little t…

…ime debugging. in the mean time, use the simple logic for focusing.
  • Loading branch information...
1 parent ae5fee8 commit 5cbb0194d151fc6ebd6ff6770d6646281068a515 @pkropf committed Feb 8, 2011
Showing with 28 additions and 2 deletions.
  1. +26 −0 debug.txt
  2. +2 −2 eye.py
View
@@ -0,0 +1,26 @@
+0.554942061345 (84, 83) 53.3779139371 153.948533799 283.451935961 -36.6220860629 63.9485337985 -1
+move right eye to 53.3779139371 153.948533799
+0.555863549042 (87, 80) 53.4559478074 26.1158570039 282.646422231 -36.5440521926 63.8841429961 -1
+move left eye to 53.4559478074 26.1158570039
+0.555863549042 (87, 80) 53.4559478074 153.884142996 282.646422231 -36.5440521926 63.8841429961 -1
+move right eye to 53.4559478074 153.884142996
+0.556787957235 (58, 63) 50.338002481 23.6648213087 316.185072386 -39.661997519 66.3351786913 -1
+move left eye to 50.338002481 23.6648213087
+0.556787957235 (58, 63) 50.338002481 156.335178691 316.185072386 -39.661997519 66.3351786913 -1
+move right eye to 50.338002481 156.335178691
+0.558645591739 (58, 61) 50.2380769223 23.5901696522 317.308997666 -39.7619230777 66.4098303478 -1
+move left eye to 50.2380769223 23.5901696522
+0.558645591739 (58, 61) 50.2380769223 156.409830348 317.308997666 -39.7619230777 66.4098303478 -1
+move right eye to 50.2380769223 156.409830348
+0.559578846598 (59, 72) 50.8573988168 24.0565657821 310.394909752 -39.1426011832 65.9434342179 -1
+move left eye to 50.8573988168 24.0565657821
+0.559578846598 (59, 72) 50.8573988168 155.943434218 310.394909752 -39.1426011832 65.9434342179 -1
+move right eye to 50.8573988168 155.943434218
+0.561454303592 (63, 62) 50.6566359972 23.9043993969 312.622775882 -39.3433640028 66.0956006031 -1
+move left eye to 50.6566359972 23.9043993969
+0.561454303592 (63, 62) 50.6566359972 156.095600603 312.622775882 -39.3433640028 66.0956006031 -1
+move right eye to 50.6566359972 156.095600603
+0.561454303592 (56, 72) 50.6297846066 23.8841191807 312.92171545 -39.3702153934 66.1158808193 -1
+move left eye to 50.6297846066 23.8841191807
+0.561454303592 (56, 72) 50.6297846066 156.115880819 312.92171545 -39.3702153934 66.1158808193 -1
+move right eye to 50.6297846066 156.115880819
View
4 eye.py
@@ -49,8 +49,8 @@ def __init__(self, name,
self.horient = horient
self.vorient = vorient
self.move(90, 90)
- #self.focus = self.focus_simple
- self.focus = self.focus_angles
+ self.focus = self.focus_simple
+ #self.focus = self.focus_angles
if cfg.general.debug:
print self.name, self.hpin, self.vpin, self.port, self.offset

0 comments on commit 5cbb019

Please sign in to comment.