TrajectoryGenerator¶
TrajectoryGeneratoris used to generate nodal positions or velocities for trajectory constraints such as the ones included in the multibody solver.It is usually called from a
Controllermodule.The settings that this solver accepts are given by a dictionary, with the following key-value pairs:
Name Type Description Default angle_endfloatTrajectory angle wrt horizontal at release 0.0veloc_endfloatRelease velocity at release NoneshapestrShape of the zvsxfunction.quadraticorlinearare supportedquadraticaccelerationstrAcceleration law, possible values are linearorconstantlineardtfloatTime step of the simulation Nonecoords_endlist(float)Coordinates of the final ramp point NoneplotboolPlot the ramp shape. Requires matplotlib installed Falseprint_infoboolPrint information on runtime Falsetime_offsetfloatTime interval before the start of the ramp acceleration 0.0offsetlist(float)Coordinates of the starting point of the simulation <sphinx.ext.autodoc.importer._MockObject object at 0x7f8a289409e8>return_velocityboolIf True, nodal velocities are given, ifFalse, coordinates are the outputFalse