LIBRARY
examples.CartWithInput ​
Cartpole driven in open loop by a cosine force signal.
Usage ​
MultibodyComponents.examples.CartWithInput()
Behavior ​
Source ​
dyad
"Cartpole driven in open loop by a cosine force signal."
example component CartWithInput
world = MultibodyComponents.World()
cartpole = Cartpole()
input = BlockComponents.Sources.Cosine(frequency = 1, amplitude = 1)
relations
connect(input.y, cartpole.u)
endFlattened Source
dyad
"Cartpole driven in open loop by a cosine force signal."
example component CartWithInput
world = MultibodyComponents.World()
cartpole = Cartpole()
input = BlockComponents.Sources.Cosine(frequency = 1, amplitude = 1)
relations
connect(input.y, cartpole.u)
metadata {}
endTest Cases ​
No test cases defined.
Related ​
Examples
Experiments
Analyses