3.1.12. c3po.CollaborativePhysicsDriver module
Contain the class CollaborativePhysicsDriver.
- class c3po.CollaborativePhysicsDriver.CollaborativePhysicsDriver(physics)
Bases:
Coupler,CollaborativeObjectCollaborativePhysicsDriveris aPhysicsDriver(aCouplerin fact) that handles a set ofPhysicsDriveras a single one.The solving methods of the
CollaborativePhysicsDrivercall the ones of the heldPhysicsDriverin a row.- __init__(physics)
Build an
CollaborativePhysicsDriverobject.- Parameters:
physics (list[PhysicsDriver], dict) – A list (or dictionary) of
PhysicsDriverobjects.
- forget(label, method)
- iterateTimeStep()
- restore(label, method)
- save(label, method)
See
PhysicsDriver.save().
- setInputDoubleValue(name, value)
- setInputIntValue(name, value)
- setInputStringValue(name, value)
- solveTimeStep()