← Back to team overview

yade-users team mailing list archive

Re: [Question #245923]: BicyclePedalEngine not defined

 

Question #245923 on Yade changed:
https://answers.launchpad.net/yade/+question/245923

Summary changed to:
BicyclePedalEngine not defined

Description changed to:
Hi , everyone,
I am trying to simulate  the rolling of a cylinder.
I use 
         SpherePack() to creat a cylinder
         BicyclePedalEngine to rotate this cylinder 
but yade-daily said , the BicyclePedalEngine is not defined.

(I installed yade-daily one week ago, so the yade-daily  is the latest one , i.e. yade-1.07.0. Am I right? )
I also tried to compiled the yade-1.07.0 used the source code. But it still doesn't defined BicyclePedalEngine.

 What should i do? Thank you for your any suggestions.

Here is the some paragraph of my code——


O.engines=[
	ForceResetter(),
	InsertionSortCollider([Bo1_Sphere_Aabb(),Bo1_Facet_Aabb(),Bo1_Box_Aabb(),]),
	InteractionLoop(
		[Ig2_Sphere_Sphere_ScGeom(),Ig2_Facet_Sphere_ScGeom(),Ig2_Box_Sphere_ScGeom6D()],
		[Ip2_FrictMat_FrictMat_FrictPhys()],
		[Law2_ScGeom_FrictPhys_CundallStrack()],
	),
	BicyclePedalEngine(angularVelocity=100,rotationAxis=[1,0,0]),
	NewtonIntegrator(damping=.3,gravity=(0,0,-1e4)), # gravity artificially high, to make it faster going ;-)
]

-- 
You received this question notification because you are a member of
yade-users, which is an answer contact for Yade.