step.motion.stop_dsl

Auto-generated step builders and DSL functions — DO NOT EDIT.

Source: stop.py

Classes

StopBuilder

Builder for Stop. Auto-generated — do not edit.

Functions

stop([hard])

Stop all drive motors immediately.

Module Contents

class step.motion.stop_dsl.StopBuilder

Bases: raccoon.step.step_builder.StepBuilder

Builder for Stop. Auto-generated — do not edit.

hard(value: bool)
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. 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()])