Closed Lapia666 closed 7 months ago
That is, let's say I apply a concentrated load at the end, and I need to modify the relevant boundary conditions in the shooting function to do so, right?
For the Newtonian approach, yes. External loads at the end should appear in the static equilibrium at the end of the robot, which is the distal error line 166-167 ni Newtonian.m
In the Lagrangian approach, you can set tip forces and distributed forces as variables in lines 53-59 of Lagrangian.m, and they should be directly taken into account when solving the model.
Hi,
Thanks for your interest in this code. There's an overall readme on the front page of the repo explaining the structure of the code. For your particular question, the robot parameters (number of section, of tendons per section, routings, etc ...) are defined in the "tendons.m" file. It features 5 examples of robots which correspond to the experimental cases of the associated paper. We believe the documentation in that file is sufficiently clear to help you create your own robot model within our framework. Then, you can run a simulation with the Newtonian or Lagrangian model with main_Newtonian.m or main_Lagrangian.m, by setting the correct routing number.
As for the boundary conditions, assuming you refer to the Newtonian approach you would have to modify the shooting_fun function in Newtonian.m