<mujoco model="297-lantern-wheel-escapement">
<compiler angle="radian" autolimits="true"/>
<option timestep="0.0002" integrator="implicitfast" iterations="50" cone="elliptic" impratio="10" gravity="0 0 -9.81"/>
<asset><mesh name="wheel_h0" vertex="0.0545134 -0.005 0.0069587 0.0545134 0.005 0.0069587 0.0543430291 -0.005 0.00825279523 0.0543430291 0.005 0.00825279523 0.053843527 -0.005 0.0094587 0.053843527 0.005 0.0094587 0.0530489339 -0.005 0.0104942339 0.0530489339 0.005 0.0104942339 0.0520134 -0.005 0.011288827 0.0520134 0.005 0.011288827 0.0508074952 -0.005 0.0117883291 0.0508074952 0.005 0.0117883291 0.0495134 -0.005 0.0119587 0.0495134 0.005 0.0119587 0.0482193048 -0.005 0.0117883291 0.0482193048 0.005 0.0117883291 0.0470134 -0.005 0.011288827 0.0470134 0.005 0.011288827 0.0459778661 -0.005 0.0104942339 0.0459778661 0.005 0.0104942339 0.045183273 -0.005 0.0094587 0.045183273 0.005 0.0094587 0.0446837709 -0.005 0.00825279523 0.0446837709 0.005 0.00825279523 0.0445134 -0.005 0.0069587 0.0445134 0.005 0.0069587 0.0446837709 -0.005 0.00566460477 0.0446837709 0.005 0.00566460477 0.045183273 -0.005 0.0044587 0.045183273 0.005 0.0044587 0.0459778661 -0.005 0.00342316609 0.0459778661 0.005 0.00342316609 0.0470134 -0.005 0.00262857298 0.0470134 0.005 0.00262857298 0.0482193048 -0.005 0.00212907087 0.0482193048 0.005 0.00212907087 0.0495134 -0.005 0.0019587 0.0495134 0.005 0.0019587 0.0508074952 -0.005 0.00212907087 0.0508074952 0.005 0.00212907087 0.0520134 -0.005 0.00262857298 0.0520134 0.005 0.00262857298 0.0530489339 -0.005 0.00342316609 0.0530489339 0.005 0.00342316609 0.053843527 -0.005 0.0044587 0.053843527 0.005 0.0044587 0.0543430291 -0.005 0.00566460477 0.0543430291 0.005 0.00566460477"/><mesh name="wheel_h1" vertex="0.0350908 -0.005 0.0399318 0.0350908 0.005 0.0399318 0.0349204291 -0.005 0.0412258952 0.0349204291 0.005 0.0412258952 0.034420927 -0.005 0.0424318 0.034420927 0.005 0.0424318 0.0336263339 -0.005 0.0434673339 0.0336263339 0.005 0.0434673339 0.0325908 -0.005 0.044261927 0.0325908 0.005 0.044261927 0.0313848952 -0.005 0.0447614291 0.0313848952 0.005 0.0447614291 0.0300908 -0.005 0.0449318 0.0300908 0.005 0.0449318 0.0287967048 -0.005 0.0447614291 0.0287967048 0.005 0.0447614291 0.0275908 -0.005 0.044261927 0.0275908 0.005 0.044261927 0.0265552661 -0.005 0.0434673339 0.0265552661 0.005 0.0434673339 0.025760673 -0.005 0.0424318 0.025760673 0.005 0.0424318 0.0252611709 -0.005 0.0412258952 0.0252611709 0.005 0.0412258952 0.0250908 -0.005 0.0399318 0.0250908 0.005 0.0399318 0.0252611709 -0.005 0.0386377048 0.0252611709 0.005 0.0386377048 0.025760673 -0.005 0.0374318 0.025760673 0.005 0.0374318 0.0265552661 -0.005 0.0363962661 0.0265552661 0.005 0.0363962661 0.0275908 -0.005 0.035601673 0.0275908 0.005 0.035601673 0.0287967048 -0.005 0.0351021709 0.0287967048 0.005 0.0351021709 0.0300908 -0.005 0.0349318 0.0300908 0.005 0.0349318 0.0313848952 -0.005 0.0351021709 0.0313848952 0.005 0.0351021709 0.0325908 -0.005 0.035601673 0.0325908 0.005 0.035601673 0.0336263339 -0.005 0.0363962661 0.0336263339 0.005 0.0363962661 0.034420927 -0.005 0.0374318 0.034420927 0.005 0.0374318 0.0349204291 -0.005 0.0386377048 0.0349204291 0.005 0.0386377048"/><mesh name="wheel_h2" vertex="-0.0019587 -0.005 0.0495134 -0.0019587 0.005 0.0495134 -0.00212907087 -0.005 0.0508074952 -0.00212907087 0.005 0.0508074952 -0.00262857298 -0.005 0.0520134 -0.00262857298 0.005 0.0520134 -0.00342316609 -0.005 0.0530489339 -0.00342316609 0.005 0.0530489339 -0.0044587 -0.005 0.053843527 -0.0044587 0.005 0.053843527 -0.00566460477 -0.005 0.0543430291 -0.00566460477 0.005 0.0543430291 -0.0069587 -0.005 0.0545134 -0.0069587 0.005 0.0545134 -0.00825279523 -0.005 0.0543430291 -0.00825279523 0.005 0.0543430291 -0.0094587 -0.005 0.053843527 -0.0094587 0.005 0.053843527 -0.0104942339 -0.005 0.0530489339 -0.0104942339 0.005 0.0530489339 -0.011288827 -0.005 0.0520134 -0.011288827 0.005 0.0520134 -0.0117883291 -0.005 0.0508074952 -0.0117883291 0.005 0.0508074952 -0.0119587 -0.005 0.0495134 -0.0119587 0.005 0.0495134 -0.0117883291 -0.005 0.0482193048 -0.0117883291 0.005 0.0482193048 -0.011288827 -0.005 0.0470134 -0.011288827 0.005 0.0470134 -0.0104942339 -0.005 0.0459778661 -0.0104942339 0.005 0.0459778661 -0.0094587 -0.005 0.045183273 -0.0094587 0.005 0.045183273 -0.00825279523 -0.005 0.0446837709 -0.00825279523 0.005 0.0446837709 -0.0069587 -0.005 0.0445134 -0.0069587 0.005 0.0445134 -0.00566460477 -0.005 0.0446837709 -0.00566460477 0.005 0.0446837709 -0.0044587 -0.005 0.045183273 -0.0044587 0.005 0.045183273 -0.00342316609 -0.005 0.0459778661 -0.00342316609 0.005 0.0459778661 -0.00262857298 -0.005 0.0470134 -0.00262857298 0.005 0.0470134 -0.00212907087 -0.005 0.0482193048 -0.00212907087 0.005 0.0482193048"/><mesh name="wheel_h3" vertex="-0.0349318 -0.005 0.0300908 -0.0349318 0.005 0.0300908 -0.0351021709 -0.005 0.0313848952 -0.0351021709 0.005 0.0313848952 -0.035601673 -0.005 0.0325908 -0.035601673 0.005 0.0325908 -0.0363962661 -0.005 0.0336263339 -0.0363962661 0.005 0.0336263339 -0.0374318 -0.005 0.034420927 -0.0374318 0.005 0.034420927 -0.0386377048 -0.005 0.0349204291 -0.0386377048 0.005 0.0349204291 -0.0399318 -0.005 0.0350908 -0.0399318 0.005 0.0350908 -0.0412258952 -0.005 0.0349204291 -0.0412258952 0.005 0.0349204291 -0.0424318 -0.005 0.034420927 -0.0424318 0.005 0.034420927 -0.0434673339 -0.005 0.0336263339 -0.0434673339 0.005 0.0336263339 -0.044261927 -0.005 0.0325908 -0.044261927 0.005 0.0325908 -0.0447614291 -0.005 0.0313848952 -0.0447614291 0.005 0.0313848952 -0.0449318 -0.005 0.0300908 -0.0449318 0.005 0.0300908 -0.0447614291 -0.005 0.0287967048 -0.0447614291 0.005 0.0287967048 -0.044261927 -0.005 0.0275908 -0.044261927 0.005 0.0275908 -0.0434673339 -0.005 0.0265552661 -0.0434673339 0.005 0.0265552661 -0.0424318 -0.005 0.025760673 -0.0424318 0.005 0.025760673 -0.0412258952 -0.005 0.0252611709 -0.0412258952 0.005 0.0252611709 -0.0399318 -0.005 0.0250908 -0.0399318 0.005 0.0250908 -0.0386377048 -0.005 0.0252611709 -0.0386377048 0.005 0.0252611709 -0.0374318 -0.005 0.025760673 -0.0374318 0.005 0.025760673 -0.0363962661 -0.005 0.0265552661 -0.0363962661 0.005 0.0265552661 -0.035601673 -0.005 0.0275908 -0.035601673 0.005 0.0275908 -0.0351021709 -0.005 0.0287967048 -0.0351021709 0.005 0.0287967048"/><mesh name="wheel_h4" vertex="-0.0445134 -0.005 -0.0069587 -0.0445134 0.005 -0.0069587 -0.0446837709 -0.005 -0.00566460477 -0.0446837709 0.005 -0.00566460477 -0.045183273 -0.005 -0.0044587 -0.045183273 0.005 -0.0044587 -0.0459778661 -0.005 -0.00342316609 -0.0459778661 0.005 -0.00342316609 -0.0470134 -0.005 -0.00262857298 -0.0470134 0.005 -0.00262857298 -0.0482193048 -0.005 -0.00212907087 -0.0482193048 0.005 -0.00212907087 -0.0495134 -0.005 -0.0019587 -0.0495134 0.005 -0.0019587 -0.0508074952 -0.005 -0.00212907087 -0.0508074952 0.005 -0.00212907087 -0.0520134 -0.005 -0.00262857298 -0.0520134 0.005 -0.00262857298 -0.0530489339 -0.005 -0.00342316609 -0.0530489339 0.005 -0.00342316609 -0.053843527 -0.005 -0.0044587 -0.053843527 0.005 -0.0044587 -0.0543430291 -0.005 -0.00566460477 -0.0543430291 0.005 -0.00566460477 -0.0545134 -0.005 -0.0069587 -0.0545134 0.005 -0.0069587 -0.0543430291 -0.005 -0.00825279523 -0.0543430291 0.005 -0.00825279523 -0.053843527 -0.005 -0.0094587 -0.053843527 0.005 -0.0094587 -0.0530489339 -0.005 -0.0104942339 -0.0530489339 0.005 -0.0104942339 -0.0520134 -0.005 -0.011288827 -0.0520134 0.005 -0.011288827 -0.0508074952 -0.005 -0.0117883291 -0.0508074952 0.005 -0.0117883291 -0.0495134 -0.005 -0.0119587 -0.0495134 0.005 -0.0119587 -0.0482193048 -0.005 -0.0117883291 -0.0482193048 0.005 -0.0117883291 -0.0470134 -0.005 -0.011288827 -0.0470134 0.005 -0.011288827 -0.0459778661 -0.005 -0.0104942339 -0.0459778661 0.005 -0.0104942339 -0.045183273 -0.005 -0.0094587 -0.045183273 0.005 -0.0094587 -0.0446837709 -0.005 -0.00825279523 -0.0446837709 0.005 -0.00825279523"/><mesh name="wheel_h5" vertex="-0.0250908 -0.005 -0.0399318 -0.0250908 0.005 -0.0399318 -0.0252611709 -0.005 -0.0386377048 -0.0252611709 0.005 -0.0386377048 -0.025760673 -0.005 -0.0374318 -0.025760673 0.005 -0.0374318 -0.0265552661 -0.005 -0.0363962661 -0.0265552661 0.005 -0.0363962661 -0.0275908 -0.005 -0.035601673 -0.0275908 0.005 -0.035601673 -0.0287967048 -0.005 -0.0351021709 -0.0287967048 0.005 -0.0351021709 -0.0300908 -0.005 -0.0349318 -0.0300908 0.005 -0.0349318 -0.0313848952 -0.005 -0.0351021709 -0.0313848952 0.005 -0.0351021709 -0.0325908 -0.005 -0.035601673 -0.0325908 0.005 -0.035601673 -0.0336263339 -0.005 -0.0363962661 -0.0336263339 0.005 -0.0363962661 -0.034420927 -0.005 -0.0374318 -0.034420927 0.005 -0.0374318 -0.0349204291 -0.005 -0.0386377048 -0.0349204291 0.005 -0.0386377048 -0.0350908 -0.005 -0.0399318 -0.0350908 0.005 -0.0399318 -0.0349204291 -0.005 -0.0412258952 -0.0349204291 0.005 -0.0412258952 -0.034420927 -0.005 -0.0424318 -0.034420927 0.005 -0.0424318 -0.0336263339 -0.005 -0.0434673339 -0.0336263339 0.005 -0.0434673339 -0.0325908 -0.005 -0.044261927 -0.0325908 0.005 -0.044261927 -0.0313848952 -0.005 -0.0447614291 -0.0313848952 0.005 -0.0447614291 -0.0300908 -0.005 -0.0449318 -0.0300908 0.005 -0.0449318 -0.0287967048 -0.005 -0.0447614291 -0.0287967048 0.005 -0.0447614291 -0.0275908 -0.005 -0.044261927 -0.0275908 0.005 -0.044261927 -0.0265552661 -0.005 -0.0434673339 -0.0265552661 0.005 -0.0434673339 -0.025760673 -0.005 -0.0424318 -0.025760673 0.005 -0.0424318 -0.0252611709 -0.005 -0.0412258952 -0.0252611709 0.005 -0.0412258952"/><mesh name="wheel_h6" vertex="0.0119587 -0.005 -0.0495134 0.0119587 0.005 -0.0495134 0.0117883291 -0.005 -0.0482193048 0.0117883291 0.005 -0.0482193048 0.011288827 -0.005 -0.0470134 0.011288827 0.005 -0.0470134 0.0104942339 -0.005 -0.0459778661 0.0104942339 0.005 -0.0459778661 0.0094587 -0.005 -0.045183273 0.0094587 0.005 -0.045183273 0.00825279523 -0.005 -0.0446837709 0.00825279523 0.005 -0.0446837709 0.0069587 -0.005 -0.0445134 0.0069587 0.005 -0.0445134 0.00566460477 -0.005 -0.0446837709 0.00566460477 0.005 -0.0446837709 0.0044587 -0.005 -0.045183273 0.0044587 0.005 -0.045183273 0.00342316609 -0.005 -0.0459778661 0.00342316609 0.005 -0.0459778661 0.00262857298 -0.005 -0.0470134 0.00262857298 0.005 -0.0470134 0.00212907087 -0.005 -0.0482193048 0.00212907087 0.005 -0.0482193048 0.0019587 -0.005 -0.0495134 0.0019587 0.005 -0.0495134 0.00212907087 -0.005 -0.0508074952 0.00212907087 0.005 -0.0508074952 0.00262857298 -0.005 -0.0520134 0.00262857298 0.005 -0.0520134 0.00342316609 -0.005 -0.0530489339 0.00342316609 0.005 -0.0530489339 0.0044587 -0.005 -0.053843527 0.0044587 0.005 -0.053843527 0.00566460477 -0.005 -0.0543430291 0.00566460477 0.005 -0.0543430291 0.0069587 -0.005 -0.0545134 0.0069587 0.005 -0.0545134 0.00825279523 -0.005 -0.0543430291 0.00825279523 0.005 -0.0543430291 0.0094587 -0.005 -0.053843527 0.0094587 0.005 -0.053843527 0.0104942339 -0.005 -0.0530489339 0.0104942339 0.005 -0.0530489339 0.011288827 -0.005 -0.0520134 0.011288827 0.005 -0.0520134 0.0117883291 -0.005 -0.0508074952 0.0117883291 0.005 -0.0508074952"/><mesh name="wheel_h7" vertex="0.0449318 -0.005 -0.0300908 0.0449318 0.005 -0.0300908 0.0447614291 -0.005 -0.0287967048 0.0447614291 0.005 -0.0287967048 0.044261927 -0.005 -0.0275908 0.044261927 0.005 -0.0275908 0.0434673339 -0.005 -0.0265552661 0.0434673339 0.005 -0.0265552661 0.0424318 -0.005 -0.025760673 0.0424318 0.005 -0.025760673 0.0412258952 -0.005 -0.0252611709 0.0412258952 0.005 -0.0252611709 0.0399318 -0.005 -0.0250908 0.0399318 0.005 -0.0250908 0.0386377048 -0.005 -0.0252611709 0.0386377048 0.005 -0.0252611709 0.0374318 -0.005 -0.025760673 0.0374318 0.005 -0.025760673 0.0363962661 -0.005 -0.0265552661 0.0363962661 0.005 -0.0265552661 0.035601673 -0.005 -0.0275908 0.035601673 0.005 -0.0275908 0.0351021709 -0.005 -0.0287967048 0.0351021709 0.005 -0.0287967048 0.0349318 -0.005 -0.0300908 0.0349318 0.005 -0.0300908 0.0351021709 -0.005 -0.0313848952 0.0351021709 0.005 -0.0313848952 0.035601673 -0.005 -0.0325908 0.035601673 0.005 -0.0325908 0.0363962661 -0.005 -0.0336263339 0.0363962661 0.005 -0.0336263339 0.0374318 -0.005 -0.034420927 0.0374318 0.005 -0.034420927 0.0386377048 -0.005 -0.0349204291 0.0386377048 0.005 -0.0349204291 0.0399318 -0.005 -0.0350908 0.0399318 0.005 -0.0350908 0.0412258952 -0.005 -0.0349204291 0.0412258952 0.005 -0.0349204291 0.0424318 -0.005 -0.034420927 0.0424318 0.005 -0.034420927 0.0434673339 -0.005 -0.0336263339 0.0434673339 0.005 -0.0336263339 0.044261927 -0.005 -0.0325908 0.044261927 0.005 -0.0325908 0.0447614291 -0.005 -0.0313848952 0.0447614291 0.005 -0.0313848952"/><mesh name="arm_h0" vertex="0.0029834 -0.006 -0.0556109 0.0029834 0.0045 -0.0556109 0.0259347 -0.006 -0.0626278 0.0259347 0.0045 -0.0626278 0.0272504 -0.006 -0.0583244 0.0272504 0.0045 -0.0583244 0.0042991 -0.006 -0.0513075 0.0042991 0.0045 -0.0513075"/><mesh name="arm_h1" vertex="0.0063478 -0.006 -0.0760172 0.0063478 0.0045 -0.0760172 -0.0212673 -0.006 -0.0877391 -0.0212673 0.0045 -0.0877391 -0.0230256 -0.006 -0.0835968 -0.0230256 0.0045 -0.0835968 0.0045895 -0.006 -0.0718749 0.0045895 0.0045 -0.0718749"/></asset>
<size memory="64M"/>
<worldbody>
<body name="wheel" pos="0 0 0"><joint name="j_wheel" type="hinge" axis="0 1 0" damping="0.00002" frictionloss="0"/><inertial pos="0 0.00446436264 0" mass="0.05" fullinertia="0.00004100557774 0.00008046630011 0.00004100557774 0 0 0"/><geom name="wheel_h0" type="mesh" mesh="wheel_h0" contype="16" conaffinity="8" condim="3" friction="0.1 0.005 0.0001" solref="0.001 1" solimp="0.95 0.99 0.0005" margin="0" group="2" mass="0"/><geom name="wheel_h1" type="mesh" mesh="wheel_h1" contype="16" conaffinity="8" condim="3" friction="0.1 0.005 0.0001" solref="0.001 1" solimp="0.95 0.99 0.0005" margin="0" group="2" mass="0"/><geom name="wheel_h2" type="mesh" mesh="wheel_h2" contype="16" conaffinity="8" condim="3" friction="0.1 0.005 0.0001" solref="0.001 1" solimp="0.95 0.99 0.0005" margin="0" group="2" mass="0"/><geom name="wheel_h3" type="mesh" mesh="wheel_h3" contype="16" conaffinity="8" condim="3" friction="0.1 0.005 0.0001" solref="0.001 1" solimp="0.95 0.99 0.0005" margin="0" group="2" mass="0"/><geom name="wheel_h4" type="mesh" mesh="wheel_h4" contype="16" conaffinity="8" condim="3" friction="0.1 0.005 0.0001" solref="0.001 1" solimp="0.95 0.99 0.0005" margin="0" group="2" mass="0"/><geom name="wheel_h5" type="mesh" mesh="wheel_h5" contype="16" conaffinity="8" condim="3" friction="0.1 0.005 0.0001" solref="0.001 1" solimp="0.95 0.99 0.0005" margin="0" group="2" mass="0"/><geom name="wheel_h6" type="mesh" mesh="wheel_h6" contype="16" conaffinity="8" condim="3" friction="0.1 0.005 0.0001" solref="0.001 1" solimp="0.95 0.99 0.0005" margin="0" group="2" mass="0"/><geom name="wheel_h7" type="mesh" mesh="wheel_h7" contype="16" conaffinity="8" condim="3" friction="0.1 0.005 0.0001" solref="0.001 1" solimp="0.95 0.99 0.0005" margin="0" group="2" mass="0"/></body>
<body name="arm" pos="0.038 0 0.09"><joint name="j_pend" type="hinge" axis="0 1 0" damping="0.002" frictionloss="0"/><inertial pos="0.0004470884573 0.008751314877 -0.1230208134" mass="2" fullinertia="0.007468524466 0.007554013842 0.0002000126447 0.00000849585642 -0.0001082330855 0.0003328650685"/><geom name="arm_h0" type="mesh" mesh="arm_h0" contype="8" conaffinity="16" condim="3" friction="0.1 0.005 0.0001" solref="0.001 1" solimp="0.95 0.99 0.0005" margin="0" group="2" mass="0"/><geom name="arm_h1" type="mesh" mesh="arm_h1" contype="8" conaffinity="16" condim="3" friction="0.1 0.005 0.0001" solref="0.001 1" solimp="0.95 0.99 0.0005" margin="0" group="2" mass="0"/></body>
<body name="cock" pos="0.038 0 0.09"></body>
<geom name="floor" type="plane" size="1 1 0.1" contype="0" conaffinity="0" group="1"/>
</worldbody>
<equality></equality>

<actuator><motor name="drive" joint="j_wheel" gear="1" ctrlrange="-0.5 0.5"/></actuator>
</mujoco>
