step.motion.stop_dsl¶
Auto-generated step builders and DSL functions — DO NOT EDIT.
Source: stop.py
Classes¶
Builder for Stop. Auto-generated — do not edit. |
Functions¶
|
Stop all drive motors immediately. |
Module Contents¶
- class step.motion.stop_dsl.StopBuilder¶
Bases:
raccoon.step.step_builder.StepBuilderBuilder for Stop. Auto-generated — do not edit.
- step.motion.stop_dsl.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.
- Parameters:
hard – If
True(default), immediately zero motor output. IfFalse, 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()])