Hinge's current torque

About advanced scenes, and the Thyme scripting language used in Algodoo.

Hinge's current torque

Postby Cathier » Fri Sep 11, 2015 8:16 am

Image

Hello, Algodoo users!
I actually made a forum account just to ask this question.

Is there a way to extract current motor torque from a hinge using code? I can think of a lot of applications for this, most importantly ultra simple dyno.

I haven't found anything in the documentation nor in the forums using search function. I guess it's okay if it's not possible but it would be kinda disappointing :/
Cathier
 
Posts: 6
Joined: Fri Sep 11, 2015 7:56 am

Re: Hinge's current torque

Postby Luka » Fri Sep 11, 2015 8:51 pm

Motor torque? I think impossible to extract.
Please wait until someone like Kilinich or Xray tells you something. Still I think not possible.
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
Luka
 
Posts: 17
Joined: Wed Oct 23, 2013 12:57 pm
Location: pos[0, 0]

Re: Hinge's current torque

Postby homieeee » Fri Sep 11, 2015 9:45 pm

Put this in "update" on the hinge it will display just as you have underlined.

Code: Select all
_torque = ((readable(owner)).totImp3)(2) * sim.frequency
User avatar
homieeee
 
Posts: 14
Joined: Thu Oct 09, 2014 2:13 am

Re: Hinge's current torque

Postby Cathier » Fri Sep 11, 2015 11:11 pm

homieeee wrote:Put this in "update" on the hinge it will display just as you have underlined.

Code: Select all
_torque = ((readable(owner)).totImp3)(2) * sim.frequency


Thank you very much kind sir! I'll go make my scenes right away :)
Cathier
 
Posts: 6
Joined: Fri Sep 11, 2015 7:56 am


Return to Thyme scripting

Who is online

Users browsing this forum: No registered users and 1 guest