Comments (7)
Hello Jiefeng,
An extra point force at the middle of the robot results in a step change to the internal loading 'n', which can be accommodated by piecewise integration. For instance, the MATLAB rod IVP example can be changed to include a midpoint force by the following:
It would be complicated with many point forces. You could do iterative piecewise integrations in a loop, or you could come up with some scheme to approximate the point forces as part of the distributed force term.
from continuumrobotexamples.
Hello John,
Thank you so much for your quick response!
I tried to approximate the point forces as part of the distributed force term. For the static BVP one, I used a free end as a boundary condition in the shooting method. And add a term to the distributed force 'n'. Also, I used an ODE solver with fixed steps so that it can hit the 'if'. In the code, Fe is an external force. But I am not sure it's correct or not.
from continuumrobotexamples.
The scenario is that you have two discrete forces at s = 10 and s = 40? In that case, the above is mostly correct, except that Fe should be negated since ns = -f, and the discrete force should be divided by the whole length of the approximate uniform distributed force, i.e. ns = -rho*A*g - Fe/(11-9). Also, the "s == 9 < s" term is an easy to make typo which has given me grief in the past!
You could even add a parameter to control the width of the approximate distributed force, say 'a', so that you would have
`
if s > 10-a && s < 10+a
ns = -rho*A*g - Fe/(2*a);
elseif ...
`
And of course, you'll need to make sure the numerical integration step size is sufficiently smaller than the width of the approximate distributed force so that you sample several points in the region.
from continuumrobotexamples.
Hi John,
Thank you so much for your help!
I attended the ICRA conferenced last week and one guy from your group helped me to understand more about how to apply several forces at different locations.
Thank you again and have a nice day!
--Jiefeng
from continuumrobotexamples.
Glad to hear it! You're welcome, and have a good day as well!
from continuumrobotexamples.
Hi John, Thank you so much for your help! I attended the ICRA conferenced last week and one guy from your group helped me to understand more about how to apply several forces at different locations. Thank you again and have a nice day!
--Jiefeng
Hi Jiefeng,
Can you give me some advice on how to apply several forces at different locations?
from continuumrobotexamples.
Hello xlsufo,
Please take a look at John's response to me.
You can either use a piece-wised integration or use a distributed load to simulate a force at an arbitrary point.
Shortly, I will publish a paper that will include a very good example of this case and the code will be open source as well.
If you have any questions please directly send me an email or comment on my GitHub repositories so that I will be able to receive direct notifications.
Best,
Jiefeng
from continuumrobotexamples.
Related Issues (12)
- Do you have a matlab code for Tendon Static Case HOT 3
- typos in the documentation CosseratRodIvpSolution.pdf HOT 2
- Question about TendonRobotStatics.m HOT 3
- about the fsolve() function in TendonRobotStatics.m HOT 1
- Questions regarding the formulation of the static equation in 01_Statics/02_CSG_Inverse_Kinematics/CSG_Inverse_Kinematics.pdf HOT 7
- Non-crucial Derivation Error HOT 1
- Rod with an Archimedean spiral reference shape HOT 4
- When tension of tendon is larger, such as tau=20, the solver stopped prematurely. HOT 5
- Frictional model for tendon driven continuum robot HOT 4
- New Blender versions break compatability HOT 1
- Build error of project โ01_Statics\06_Tendon_Robot_Variants\Cpp_3\Tendon_Displacement_Controlโ HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from continuumrobotexamples.