Now, I use following code:

pointMass_grams = 200
self.radius = 0.01

self.M = ode.Mass()
self.M.setSphereTotal(pointMass_grams, self.radius)
self.geom = ode.GeomSphere(vw.odespace, self.radius)
self.body = ode.Body(vw.odeworld)
self.body.setMass(self.M)
self.geom.setBody(self.body)

When I printed out self.M the result is not show as I think...
Total mass from the result is changed when I vary radius values
I just want to create point mass in ode space without concerning inertia tensor.
 

 
Best regards,
 
Sukrit Manokhatiphaisan
Master degree student of
Institute of FIeld roBOtics(FIBO)
King Mongkut's University of Technology Thonburi

Administrator of
Hubei Jingshan Light Industrial Machinery (Thailand) Co.,Ltd

Email: moslenter@hotmail.com, moslenter@gmail.com
Tel: 085-988-8628
 
 
 

<< Confidential Note >>

 

If  you are not the intended recipient, please do not read, copy, use or disclose the contents of this communication to others.  This e-mail message (including any attachment) is intended only for the individual(s) or entity named above and others who have been specifically authorized to receive it.  Please notify the sender that you have received this email in error by replying to the email. Please then delete the email and any copies of it. This information may be confidential and be subject to other privilege or any other immunity.