示例#1
0
 def _get_headlights(self, enabled):
     return servo.get(self.robot, self.headlight_servo) > 0
示例#2
0
 def _get_yaw(self):
     return (pi/3) * servo.get(self.robot, self.yaw_servo,
                               calibration = self.yaw_calibration)
示例#3
0
 def _get_grabber_position(self):
     return servo.get(self.robot, self.left_servo)
示例#4
0
 def _get_pitch(self):
     return (pi/4) * servo.get(self.robot, self.pitch_servo,
                               calibration = self.pitch_calibration)
示例#5
0
 def _get_vertical_position(self):
     return servo.get(self.robot, self.vertical_servo)