robotpy_toolkit_7407 package

Subpackages

Submodules

robotpy_toolkit_7407.command module

class robotpy_toolkit_7407.command.BasicCommand

Bases: CommandBase

Extendable basic command

class robotpy_toolkit_7407.command.SubsystemCommand(subsystem: T)

Bases: BasicCommand, Generic[T]

Extendable subsystem command

robotpy_toolkit_7407.motor module

class robotpy_toolkit_7407.motor.EncoderMotor

Bases: Motor

get_sensor_position() float
get_sensor_velocity() float
set_sensor_position(pos: float)
class robotpy_toolkit_7407.motor.Motor

Bases: object

init()
set_raw_output(x: float)
class robotpy_toolkit_7407.motor.PIDMotor

Bases: EncoderMotor

set_target_position(pos: float)
set_target_velocity(vel: float)

robotpy_toolkit_7407.subsystem module

class robotpy_toolkit_7407.subsystem.Subsystem

Bases: SubsystemBase

Extendable subsystem class. Needs to be extended by every subsystem.

init()

Overridable method for initializing the subsystem. Place motor inits/other physical initialization here, for example re-zeroing a gyro.

Module contents