-
Notifications
You must be signed in to change notification settings - Fork 450
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Chrono bodies moving with no force. #169
Comments
@bchambers28 could you please
|
@Benatti1991 Unfortunately my code has certain portions that I cannot share. I can attach thee portion of code specifically for the linkages if that would be helpful? I have found other instances of this occurring in the google group and have been trying some of the changes those people used or suggested currently. |
Many problems pointed in the google group are related to odd mass ratios, large timesteps and stuff like that, but since your problem pops out when you add a link I think that it is maybe due to some error in constraint definition so yes, attaching that portion of code would be helpful. |
I'm setting up a chrono system using pychrono that has gravity in the y-direction. It consist of multiple bodies in a line which are connected into a system using a ChLinkLockCylindrical link in the middle as well as a ChLinkLockRevolute link between each body. The first body is fixed and the rest are free. The only force in the system is from gravity. With only the ChLinkLockCylindrical link active the system falls under gravity and creates a pendulum like motion which is to be expected. When I add the ChLinkLockRevolute links the system bodies (with the exception of the body which is fixed) begin moving slowly in the x-direction. I have included an example of how I am setting the link. Am I just setting the linkage incorrectly or is this some other problem?
` o_first_point = pychrono.ChCoordsysD(pychrono.ChVectorD(2,2,2))
o_second_point = pychrono.ChCoordsysD(pychrono.ChVectorD(2,2,3))
Create the joint
o_link_lock_right_land = pychrono.ChLinkLockRevolute()
o_link_lock_right_land.Initialize(body_1, body_2, False, o_first_point, o_second_point)
Add it to the system
o_chrono_system.ChSystem.Add(o_link_lock_right_land)`
The text was updated successfully, but these errors were encountered: