parameters: (self)
docstring: Here we will register the initial and final
          points to the current point before jogging
          in the instance that a user doesn't jog at
          all.
docstring_summary: Here we will register the initial and final
          points to the current point before jogging
          in the instance that a user doesn't jog at
          all.
docstring_tokens: Here we will register the initial and final points to the current point before jogging in the instance that a user doesn t jog at all .
function: async def register_initial_point(self):
          """
          Here we will register the initial and final
          points to the current point before jogging
          in the instance that a user doesn't jog at
          all.
          """
          critical_point = self.critical_point_override
          current_point = await self.get_current_point(critical_point)
          if self.current_state == State.comparingNozzle:
              self._reference_points.tip.initial_point = current_point
              self._reference_points.tip.final_point = current_point
          elif self.current_state == State.comparingTip:
              self._reference_points.height.initial_point = current_point
              self._reference_points.height.final_point = current_point
          elif self.current_state == State.comparingHeight:
              self._reference_points.one.initial_point = current_point
              self._reference_points.one.final_point = current_point
          elif self.current_state == State.comparingPointOne:
              self._reference_points.two.initial_point = current_point
              self._reference_points.two.final_point = current_point
          elif self.current_state == State.comparingPointTwo:
              self._reference_points.three.initial_point = current_point
              self._reference_points.three.final_point = current_point
function_tokens: async def register_initial_point ( self ) : critical_point = self . critical_point_override current_point = await self . get_current_point ( critical_point ) if self . current_state == State . comparingNozzle : self . _reference_points . tip . initial_point = current_point self . _reference_points . tip . final_point = current_point elif self . current_state == State . comparingTip : self . _reference_points . height . initial_point = current_point self . _reference_points . height . final_point = current_point elif self . current_state == State . comparingHeight : self . _reference_points . one . initial_point = current_point self . _reference_points . one . final_point = current_point elif self . current_state == State . comparingPointOne : self . _reference_points . two . initial_point = current_point self . _reference_points . two . final_point = current_point elif self . current_state == State . comparingPointTwo : self . _reference_points . three . initial_point = current_point self . _reference_points . three . final_point = current_point