[Yade-users] [Question #401682]: Problem with angular velocity

2016-09-21 Thread Jonathan Pergoli
New question #401682 on Yade:
https://answers.launchpad.net/yade/+question/401682

Hi everybody!

I'm trying to set an initial value of the angular velocity for a body. I set 
the angular velocity:
body.state.angVel=(0,0,0.1)

Then when I start yadedaily at the beginning of the simulation the angular 
velocity is correct but when I write O.run() I don't know why the angular 
velocity is set to (0,0,0). This happen when I use yadedaily for ubuntu server 
14.04 LTS whereas when I run the simulation with ubuntu 14.04 on my laptop it 
works well and this problem is not present. Any solutions?

Thank you in advance,

Jonathan

-- 
You received this question notification because your team yade-users is
an answer contact for Yade.

___
Mailing list: https://launchpad.net/~yade-users
Post to : yade-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yade-users
More help   : https://help.launchpad.net/ListHelp


Re: [Yade-users] [Question #401682]: Problem with angular velocity

2016-09-21 Thread Jonathan Pergoli
Question #401682 on Yade changed:
https://answers.launchpad.net/yade/+question/401682

Description changed to:
Hi everybody!

I'm trying to set an initial value of the angular velocity for a body. I
set the angular velocity:

body=utils.polyhedron((v1,v2,v3,v4,v5,v6,v7,v8),fixed=False,color=(.6,.45,0),material="mat",wire=False)
body.state.angVel=(0,0,0.1)
wx=body.state.angVel[0]
wy=body.state.angVel[1]
wz=body.state.angVel[2]

Then when I start yadedaily at the beginning of the simulation the
angular velocity is correct but when I write O.run() I don't know why
the angular velocity is set to (0,0,0). This happen when I use yadedaily
for ubuntu server 14.04 LTS whereas when I run the simulation with
ubuntu 14.04 on my laptop it works well and this problem is not present.
Any solutions?

Thank you in advance,

Jonathan

-- 
You received this question notification because your team yade-users is
an answer contact for Yade.

___
Mailing list: https://launchpad.net/~yade-users
Post to : yade-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yade-users
More help   : https://help.launchpad.net/ListHelp


Re: [Yade-users] [Question #401682]: Problem with angular velocity

2016-09-21 Thread Jonathan Pergoli
Question #401682 on Yade changed:
https://answers.launchpad.net/yade/+question/401682

Description changed to:
Hi everybody!

I'm trying to set an initial value of the angular velocity for a body. I
set the angular velocity:

body=utils.polyhedron((v1,v2,v3,v4,v5,v6,v7,v8),fixed=False,color=(.6,.45,0),material="MLI",wire=False)
body.state.angVel=(0,0,0.1)
wx=body.state.angVel[0]
wy=body.state.angVel[1]
wz=body.state.angVel[2]

Then when I start yadedaily at the beginning of the simulation the
angular velocity is correct but when I write O.run() I don't know why
the angular velocity is set to (0,0,0). This happen when I use yadedaily
for ubuntu server 14.04 LTS whereas when I run the simulation with
ubuntu 14.04 on my laptop it works well and this problem is not present.
Any solutions?

Thank you in advance,

Jonathan

-- 
You received this question notification because your team yade-users is
an answer contact for Yade.

___
Mailing list: https://launchpad.net/~yade-users
Post to : yade-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yade-users
More help   : https://help.launchpad.net/ListHelp