actuator Package

actuator Package

dc_motor Module

class actuator.dc_motor.DCMotor(link, torque, emf, friction)[source]
set_voltage()[source]

sets the voltage of the motor

run()[source]

ensures the actuator will be running for this step.

impulse Module

class actuator.impulse.Impulse(body, pos, direction, impulse=None)[source]
set_impulse(impulse)[source]

sets the impulse of the actuator

run()[source]

ensures the actuator will be running for this step.

class actuator.impulse.Hydrofoil(body, pos, direction, lift_vector, area, a, b, c, density)[source]

Bases: actuator.impulse.Impulse

set_angle(angle)[source]

sets the angle of attack of the actuator in range-pi/2 to pi/2

run()[source]

ensures the actuator will be running for this step.

class actuator.impulse.Propeller(body, pos, direction, lumped)[source]

Bases: actuator.impulse.Impulse

set_voltage(voltage)[source]

sets the voltage of the actuator

run()[source]

ensures the actuator will be running for this step.

liquid_drag Module

class actuator.liquid_drag.LiquidDrag(body, area, drag, density)[source]
run()[source]

ensures the actuator will be running for this step.

spring Module

class actuator.spring.Spring(body1, body2, rest_length, spring, dampening)[source]
run()[source]

ensures the actuator will be running for this step.

Table Of Contents

Previous topic

Welcome to PyPalGame’s documentation!

Next topic

body Package