Hinge with direction change support

A place to discuss everything related to Newton Dynamics.

Moderators: Sascha Willems, walaber

Hinge with direction change support

Postby Lax » Fri Mar 15, 2019 6:03 pm

Hi Julio,

I wanted to ask, whether it would be possible to extend the hinge joint. That is, when motor and direciton change is on, the hinge changes its direciton during rotation if the min-, max-angle limit has been reached?

So that the hinge would rotate clockwise and anti-clockwise as long as the motor mode is set.

Best Regards
Lax
Please support SecondEarthTechnicBase built of Lego bricks for Lego ideas: https://ideas.lego.com/projects/81b9bd17-5ff5-40a0-ac6f-44b97b79be62
Image
Lax
 
Posts: 165
Joined: Sat Jan 08, 2011 8:24 am

Re: Hinge with direction change support

Postby Julio Jerez » Fri Mar 15, 2019 6:41 pm

that this dCustomHingeActuator
Julio Jerez
Moderator
Moderator
 
Posts: 12249
Joined: Sun Sep 14, 2003 2:18 pm
Location: Los Angeles

Re: Hinge with direction change support

Postby Lax » Mon Mar 18, 2019 5:19 pm

Ok, thanks for the info. The direction change I implement myself.

Regards
Lax
Please support SecondEarthTechnicBase built of Lego bricks for Lego ideas: https://ideas.lego.com/projects/81b9bd17-5ff5-40a0-ac6f-44b97b79be62
Image
Lax
 
Posts: 165
Joined: Sat Jan 08, 2011 8:24 am

Re: Hinge with direction change support

Postby Julio Jerez » Mon Mar 18, 2019 6:07 pm

Oh can sub class from that joint and overload the submitconstraint callback.
Them there you implement you logic base on the distance to the target.
It just set a Yes he angle and when the angle is close enought change to another target.

The actuator has special logic to deal with a bunch of stuff.
Julio Jerez
Moderator
Moderator
 
Posts: 12249
Joined: Sun Sep 14, 2003 2:18 pm
Location: Los Angeles


Return to General Discussion

Who is online

Users browsing this forum: No registered users and 14 guests

cron