step.motion.stop_dsl ==================== .. py:module:: step.motion.stop_dsl .. autoapi-nested-parse:: Auto-generated step builders and DSL functions — DO NOT EDIT. Source: stop.py Classes ------- .. autoapisummary:: step.motion.stop_dsl.StopBuilder Functions --------- .. autoapisummary:: step.motion.stop_dsl.stop Module Contents --------------- .. py:class:: StopBuilder Bases: :py:obj:`raccoon.step.step_builder.StepBuilder` Builder for Stop. Auto-generated — do not edit. .. py:method:: hard(value: bool) .. py:function:: stop(hard: bool = True) Stop all drive motors immediately. Use this between motion sequences or at the end of a mission to ensure the robot is stationary. :param hard: If ``True`` (default), immediately zero motor output. If ``False``, decelerate smoothly using the drive controller. :returns: A StopBuilder (chainable via ``.hard()``, ``.on_anomaly()``, ``.skip_timing()``). Example:: from raccoon.step.motion import drive_forward, stop # Drive forward then stop seq([drive_forward(50), stop()])