@@ -596,33 +596,33 @@ def adjust_to_dark_object(self, is_dark_object):
596596 result = self .send_command (self .address , 'W032' , data )
597597 return map (float , result )
598598
599- def set_flex_mount (self , angle , distance ):
600- """Sets the FLEX Mount feature to a specific angle and distance."""
601- # result = self.send_command(self.address, 'W036', ('{:.2f}'.format(angle), '{:.2f}'.format(distance)))
602- # return map(float, result)
603- # data = ('{:.2f}'.format(angle), '{:.2f}'.format(distance))
604- data = ('{:.2f}' .format (angle ),'{:.2f}' .format (angle ))
605- result = self .send_command (self .address , 'W036' , data )
606- return map (float , result )
607-
608- def get_live_monitor_data (self ):
609- """Retrieves the distance to the surface in the center of the laser beam and the
610- angle at which it's found.
611-
612- Returns:
613- `list`
614- angle and distance to the reference surface.
615-
616- Note
617- ----
618- This function is designed to aid in the installation of the sensor at an angle.
619- """
620- result = self .send_command (self .address , 'R051' )
621-
622- if len (result ) != 2 :
623- raise ProtocolError ('Unexpected result: ' + str (result ))
624-
625- return map (float , result [0 ])
599+ # def set_flex_mount(self, angle, distance):
600+ # """Sets the FLEX Mount feature to a specific angle and distance."""
601+ # # result = self.send_command(self.address, 'W036', ('{:.2f}'.format(angle), '{:.2f}'.format(distance)))
602+ # # return map(float, result)
603+ # # data = ('{:.2f}'.format(angle), '{:.2f}'.format(distance))
604+ # data=('{:.2f}'.format(angle),'{:.2f}'.format(angle))
605+ # result = self.send_command(self.address, 'W036', data)
606+ # return map(float, result)
607+
608+ # def get_live_monitor_data(self):
609+ # """Retrieves the distance to the surface in the center of the laser beam and the
610+ # angle at which it's found.
611+
612+ # Returns:
613+ # `list`
614+ # angle and distance to the reference surface.
615+
616+ # Note
617+ # ----
618+ # This function is designed to aid in the installation of the sensor at an angle.
619+ # """
620+ # result = self.send_command(self.address, 'R051')
621+
622+ # if len(result) != 2:
623+ # raise ProtocolError('Unexpected result: ' + str(result))
624+
625+ # return map(float, result[0])
626626
627627 def reset (self ):
628628 """Resets the sensor to factory settings."""
0 commit comments