Comments (4)
Hello Solomon,
You calculate v_i by integrating s_i(s) along the arclength as a state variable, and then taking the partial derivative of s_i with respect to time. Since you already calculate ||p_{s,i}||, integrating that to find s_i isn't much trouble (although there are additional considerations with tendon compliance). You are correct that in the case of the simple model, you merely sum the effects of the distributed loading to be included in the linear system solving for v_s and u_s. I've uploaded two new examples showing possible ways to model friction. They are in C++ since I don't have a MATLAB license at this point. Let me know if you have any questions and I'll do my best to answer. Good luck on your research!
Sincerely,
John
from continuumrobotexamples.
Hi John,
Thank you very much for the help, and sorry for the slow response, my lab opened after being shut due to covid so I had to put this on hold while collecting data from our robot. I managed to get it working although I couldn't think of a way to verify it other than saying that the results look right.
I had one more question if you don't mind. The plan is to also implement our program into C++, roughly what kind of performance increases did you observe for this kind of model? I have been working under the (very rough) assumption that it will be about 10x faster.
Kind regards,
Solomon
from continuumrobotexamples.
No worries, research often happens in bursts! The speedup depends on the method you're using. If it's based on solving a large matrix system, you might not get too much speedup since that's MATLAB's strength. If it's based on a lot of control flow with smaller matrix calculations, I would expect a 100-1000x speedup from switching to C++. That was our experience with the PCR robot. It makes a big difference to have compiled code instead of using the MATLAB interpreter, plus there are people who dedicate their careers to improving the C++ compiler code optimizations.
Sincerely,
John
from continuumrobotexamples.
That's what I was had thought in terms of the speed increase from what I'd read online, although I have no experience with C++ myself so confirmation is nice. Thanks for the detailed responses!
Kind regards,
Solomon
from continuumrobotexamples.
Related Issues (11)
- 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
- External force on an arbitry point. 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
- 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.