04-20-2012 10:52 AM
I have been working on attaching servo motor to control the angle of a hinge. However, whenever I try and change the properties of the hinge joint, like max force, fudge factor, lo and hi stops it has no effect on the joint. It seems as if the servo motor disregards the joint properties in the simulation. If I set FMax to zero and even the rate to zero the servo will still move. This should not be the case. Has anyone created a hinge joint attached to a servo that has a good idea on how this works?
Below is the code to demonstrate how I am attaching my servo to the hingejoint.
Thanks,
Dan
04-24-2012 08:05 AM
Hi Dan,
I'd like to recommend you to simplify your code and see if you can get it working in a very simple case, and then add in complexity and see where it goes wrong.
Warm Regards,
Miguel Fonseca
National Instruments
Applications Engineering
04-24-2012 10:34 AM
Could you possibly provide a simple example of how to create a hingejoint with a servo attached to it?
I have checked the Examples and cannot find an example on where a hingejoint is created and a servo motor attached.
Thanks,
Dan
04-24-2012 03:48 PM
Hi,
The examples shipped with the toolkit are the only ones that I have available.
You can also try to find more examples on http:// www.ni.com/code
I'll try to find an example on NI community and I'll post it if I can find a good one for you.
Best Regards
Miguel Fonseca
Applications Engineer
National Instruments