Search found 3 matches
- Wed Jan 15, 2025 12:48 pm
- Forum: OpenSim
- Topic: Linear Movement of a Ball
- Replies: 4
- Views: 222
Re: Linear Movement of a Ball
I think I need to update the state to move the ball, however, I can't. I defined a slider joint for the ball and tried to get state of it by "model.getStateVariableValue(state,'/target-joint/position/value')", but I got below error.Can you help me please to properly call getStateVariableValue and se...
- Tue Jan 14, 2025 2:13 pm
- Forum: OpenSim
- Topic: Linear Movement of a Ball
- Replies: 4
- Views: 222
Re: Linear Movement of a Ball
Hi Nicos, Thank you for your response. I want to apply a force with a controller to a rigid body and move it along a particular coordinate, that is true. I checked the "Moco exampleSlidingMass," but it appears to be focused on an optimization problem. My goal is to move the ball just once. Additiona...
- Sat Jan 11, 2025 3:21 am
- Forum: OpenSim
- Topic: Linear Movement of a Ball
- Replies: 4
- Views: 222
Linear Movement of a Ball
Hi all, I am new to OpenSim and trying to update the OpenSim model using Python. I am trying to add a ball and move it linearly. I can successfully add a ball to the model, but I am having difficulty moving it linearly. While I can add the ball, it remains stationary. I have checked various sources ...