Login
Username:

Password:

Remember me



Lost Password?

Register now!
Main Menu
H3D.org Feeds
H3D.org Forum Index
   Programming Issues
     Getting the output force in Newtons
Register To Post

Threaded | Newest First Previous Topic | Next Topic | Bottom
Poster Thread
adrian
Posted on: 2012/7/11 16:58
Quite a regular
Joined: 2010/6/16
From: Constanta, Romania
Posts: 31
Getting the output force in Newtons
How can I get the output force from an omni device in newtons ?
Tnx
daniel
Posted on: 2012/7/16 9:26
Webmaster
Joined: 2004/11/28
From:
Posts: 536
Re: Getting the output force in Newtons
You can get the force in Newtons using the field called "force" in PhantomDevice node you are using (assuming you are using H3D and not HAPI directly).
adrian
Posted on: 2012/7/16 12:40
Quite a regular
Joined: 2010/6/16
From: Constanta, Romania
Posts: 31
Re: Getting the output force in Newtons
I thought of that. I got the output force from the device and I computed the output force like this:

f = sqrt( fx * fx + fy * fy + fz * fz )

f, is the output force, fx, fy and fz is the force applied on each axis.

The problem was that the computed applied force surpassed the device's limit: 3.3 N (device's specs).
Is my computing method wrong ?
Tnx
karlu
Posted on: 2012/8/14 20:08
Guru
Joined: 2004/12/2
From: Sweden
Posts: 756
Re: Getting the output force in Newtons
You can always tell your program to give more force than the device is capable of. It will simply saturate and do its best.


----------------
KJ Lundin Palmerius
C Research
Linköping University, Sweden

karlu
Posted on: 2012/8/14 20:10
Guru
Joined: 2004/12/2
From: Sweden
Posts: 756
Re: Getting the output force in Newtons
If you want to know how much force is actually applied, try using a scale and let the device push on it. Convert from weight to force and substract the device's own weight.


----------------
KJ Lundin Palmerius
C Research
Linköping University, Sweden

Threaded | Newest First Previous Topic | Next Topic | Top

Register To Post
 



(C) 2012 SenseGraphics AB    ---    Powered by XOOPS