-
大小: 16KB文件類(lèi)型: .zip金幣: 2下載: 0 次發(fā)布日期: 2021-06-01
- 語(yǔ)言: 其他
- 標(biāo)簽: 運(yùn)動(dòng)學(xué)??
資源簡(jiǎn)介
Delta機(jī)器人RBE595高級(jí)并行機(jī)器人項(xiàng)目代碼,包括其運(yùn)動(dòng)學(xué)正逆解,工作空間和軌跡跟蹤的程序,對(duì)研究并聯(lián)機(jī)器人的小伙伴很有意義。

代碼片段和文件信息
%%?Computes?the?coordinate?of?the?more?negative?y?of?two?circle?intersections
%?NOTE:?Two?methods?in?below?code?method?1?and?2.?If?method?2?doesn‘t?work
%?use?the?slower?method?1.?Comment?and?uncomment?appropriate?section
function?[x_soly_sol]?=?findCircIntersection(c1?r1?c2?r2)
????syms?x?y;?%?Points?we?are?trying?to?solve?for
????%?Extract?coordinates
????x1?=?c1(1);?x2?=?c2(1);
????y1?=?c1(2);?y2?=?c2(2);
????%%?----?Calculate?the?intersection?using?method?#1.?Not?optimized?----
????%?sol?=?solve([r1==sqrt((x-x1)^2+(y-y1)^2)?...
????%??????????????r2==sqrt((x-x2)^2+(y-y2)^2)]);
????%?%?Selected?the?more?negative?y?value?(Otherwords?the?smallest?y?value?pair)
????%?if?double(sol.x(1))?>?double(sol.x(2))?%z?value?check
????%?????x_sol?=?double(sol.x(1));
????%?????y_sol?=?double(sol.y(1));
????%?else
????%?????x_sol?=?double(sol.x(2));
????%?????y_sol?=?double(sol.y(2));
????%?end
????%%?----?Calculate?the?intersection?using?method?#2.?Optimized?function.?----
????[circx?circy]?=?circcirc(x1y1r1x2y2r2);
????if?double(circx(1))?>?double(circx(2))?%z?value?check
????????x_sol?=?double(circx(1));
????????y_sol?=?double(circy(1));
????else
????????x_sol?=?double(circx(2));
????????y_sol?=?double(circy(2));
????end
end
?屬性????????????大小?????日期????時(shí)間???名稱(chēng)
-----------?---------??----------?-----??----
?????目錄???????????0??2015-12-15?02:56??delta_robot_code-master\
?????文件??????????17??2015-12-15?02:56??delta_robot_code-master\.gitignore
?????文件????????1420??2015-12-15?02:56??delta_robot_code-master\FK.m
?????文件????????1326??2015-12-15?02:56??delta_robot_code-master\IK.m
?????文件??????????92??2015-12-15?02:56??delta_robot_code-master\README.md
?????文件????????1251??2015-12-15?02:56??delta_robot_code-master\findCircIntersection.m
?????文件????????1310??2015-12-15?02:56??delta_robot_code-master\findSphereIntersection.m
?????文件?????????295??2015-12-15?02:56??delta_robot_code-master\generate_Lissajous_curve.m
?????文件?????????294??2015-12-15?02:56??delta_robot_code-master\generate_helix.m
?????文件?????????350??2015-12-15?02:56??delta_robot_code-master\generate_hypotrochoid.m
?????文件?????????815??2015-12-15?02:56??delta_robot_code-master\generate_hypotrochoid_star.m
?????文件?????????183??2015-12-15?02:56??delta_robot_code-master\generate_line.m
?????文件?????????487??2015-12-15?02:56??delta_robot_code-master\generate_sli
?????文件?????????540??2015-12-15?02:56??delta_robot_code-master\generate_spiral.m
?????文件???????10600??2015-12-15?02:56??delta_robot_code-master\moving_simulation.m
?????文件????????6631??2015-12-15?02:56??delta_robot_code-master\moving_simulation_temp.m
?????文件????????6279??2015-12-15?02:56??delta_robot_code-master\plotWorkspace.m
?????文件????????2996??2015-12-15?02:56??delta_robot_code-master\simulation.m
?????文件????????4207??2015-12-15?02:56??delta_robot_code-master\trilateration.m
- 上一篇:linux下的一個(gè)異步通信的串口類(lèi)
- 下一篇:GIFView控件
評(píng)論
共有 條評(píng)論