Search found 72 matches

by Sietse Achterop
Fri Oct 29, 2021 5:51 am
Forum: OpenSim
Topic: How to construct a kinematic chain that is closed in Opensim? (Solved)
Replies: 1
Views: 303

Re: How to construct a kinematic chain that is closed in Opensim? (Updated)

Solved it! Little by little I get the hang of it :) The constraint setting had to be legtostretcher = osim.PointConstraint(lower, osim.Vec3(0,-llegl/2,0), stretcher, osim.Vec3(0,seatHeight/2,0)) bbaan.addConstraint(legtostretcher) The was also a minus sign missing in the first position. Now the knee...
by Sietse Achterop
Thu Oct 28, 2021 8:56 am
Forum: OpenSim
Topic: How to construct a kinematic chain that is closed in Opensim? (Solved)
Replies: 1
Views: 303

How to construct a kinematic chain that is closed in Opensim? (Solved)

The use case is a rower in a boat. The rower is sitting on a movable seat and his single feet is fixed to the stretcher. The rower can now use his (upper, lower) legs to propel the boat. Both seat (via SliderJoint) and stretcher (via WeldJoint) are connected to the boat so we have a closed kinematic...
by Sietse Achterop
Tue Oct 26, 2021 7:16 am
Forum: OpenSim
Topic: Get customjoint in Python to work (solved)
Replies: 0
Views: 280

Get customjoint in Python to work (solved)

I really am struggling to get a customjoint in Python. Concretely, how do I translate this fragment from an example from testJoints.cpp into python? SpatialTransform hipTransform; hipTransform[0].setCoordinateNames( OpenSim::Array<std::string>("hip_q0", 1, 1)); hipTransform[0].setFunction(new Linear...
by Sietse Achterop
Tue Oct 26, 2021 1:19 am
Forum: OpenSim
Topic: Anisotropic friction
Replies: 2
Views: 199

Anisotropic friction

Hallo, I need to create anisotopic friction, so friction that depends upon the direction of force. Concretely, imaging a box on the ground that has friction in one direction (X) and little or no friction in the other direction (Y). Is anything currently possible in opensim, or do I have to create a ...
by Sietse Achterop
Wed Oct 20, 2021 3:51 am
Forum: OpenSim
Topic: Getting opensim-gui to work on Linux
Replies: 2
Views: 317

Re: Getting opensim-gui to work on Linux

I now have a working Debian version, no problem whatsoever!
I closely followed the continuous integration file.

However the Ubuntu version almost works, only there is NO visualization window in the gui.
But no errors or warnings.
I filed an issue on opensim-gui for that.

Thanks!
Sietse
by Sietse Achterop
Fri Oct 15, 2021 6:08 am
Forum: OpenSim
Topic: Getting opensim-gui to work on Linux
Replies: 2
Views: 317

Getting opensim-gui to work on Linux

Hello List, I am trying to get opensim-gui installed on linux, debian 11 (bullseye), and I am almost there. I now have a more or less working version of opensim-gui with 2 or 3 issues. First I will shortly describe where I deviated from the README's in opensim-core and opensim-gui, and then I will d...
by Sietse Achterop
Mon Oct 11, 2021 8:04 am
Forum: OpenSim
Topic: Contact geometry is violated in simulation (bug?)
Replies: 2
Views: 266

Re: Contact geometry is violated in simulation (bug?)

Oops, sorry.
I should have spotted that!
Thanks for the quick answer
by Sietse Achterop
Mon Oct 11, 2021 3:55 am
Forum: OpenSim
Topic: Contact geometry is violated in simulation (bug?)
Replies: 2
Views: 266

Contact geometry is violated in simulation (bug?)

Hello list, I created a simple model via python with 5 bodies and 4 joints. Using Windows 10 and Opensim 4.3. There is a contacthalfspace to represent the ground and a number of contactspheres fixed to the bodies. The picture below shows the model in its initial state. Please note the ground contact...
by Sietse Achterop
Tue Sep 28, 2021 5:52 am
Forum: OpenSim
Topic: Cannot get contactgeometry to work (solved).
Replies: 3
Views: 476

Re: Cannot get contactgeometry to work.

Thanks again! I did look at the dynamic walker but forgot to use the force; but that was easy to add. Also, I realized that 2 half-spaces would not work, so I used a sphere. I now have a bouncing ball, progress! If however I change the following (around line 37) theBoatContactSphere = osim.ContactSp...
by Sietse Achterop
Mon Sep 27, 2021 5:13 am
Forum: OpenSim
Topic: Cannot get contactgeometry to work (solved).
Replies: 3
Views: 476

Cannot get contactgeometry to work (solved).

Hello, I do not understand how I can create bodies with contract geometry. It seems to work completely different then Gazebo that I am used to. I created, using python, a model consisting of 2 bricks. The idea is that one is a ground floor (the rowing course) and the other a box (the boat) that shou...