Skip to content

Latest commit

 

History

History
54 lines (35 loc) · 1.38 KB

configforce.rst

File metadata and controls

54 lines (35 loc) · 1.38 KB

trep.forces

ConfigForce -- Apply forces to a configuration variable.

ConfigForce creates an input variable that applies a force directly to a configuration variable:


Fqi = u(t)

where the u(t) is a Input variable.

Implemented Calculations
Calculation Implemented
f

Y

f_dq

Y

f_ddq

Y

f_du

Y

f_dqdq

Y

f_ddqdq

Y

f_ddqddq

Y

f_dudq

Y

f_duddq

Y

f_dudu

Y

Examples

forced-pendulum-inverse-dynamics.py, initial-conditions.py, pend-on-cart-optimization.py

Create a new input to apply a force on a configuration variable.

config should be an existing configuration variable (a name, index, or object).

finput should be a string to name the new input variable.

ConfigForce.finput

The input variable (Input) that controls this force.

ConfigForce.config

The configuration variable (Config) that this force is applied to.