| 查看: 445 | 回复: 2 | ||
| 当前只显示满足指定条件的回帖,点击这里查看本话题的所有回帖 | ||
wang_unicas银虫 (初入文坛)
|
[求助]
请教下关于工作空间三维画图及二维视图中轮廓线的绘制
|
|
|
我想请教下关于工作空间三维画图及二维视图中轮廓线的绘制!我已经计算出分布于整个三维工作空间的点的坐标,现在想得出三维的工作空间曲面及在XOY,XOZ,YOZ上的二维边界轮廓线! Matlab中运动位置坐标的计算程序如下: clc clear %WSA_H: Workspace Analysis of Heel %Direct Kinematic of 3-UPS Leg syms x1 y1 z1 x2 y2 z2 x3 y3 z3 xh yh zh l1 l2 l3; %Coordinates of the points(P1, P2, P3) x1=100*sqrt(3); y1=0; z1=0; x2=0; y2=-100; z2=0; x3=0; y3=100; z3=0; %Lengths of three links %Range of link-length L_min=300; %the minimum length of link L_stroke=150; %the stroke of actuactor L_inc=2; %the increment per step L_max=L_min+L_stroke; %the maximum length of link l1=L_min;l2=L_min;l3=L_min; RLL=L_min:L_inc:L_max; %Arrays of three links L1=zeros(length(RLL)*length(RLL)*length(RLL),1); L2=zeros(length(RLL)*length(RLL)*length(RLL),1); L3=zeros(length(RLL)*length(RLL)*length(RLL),1); i=0; for l1=RLL; for l2=RLL; for l3=RLL; i=i+1; L1(i)=l1; L2(i)=l2; L3(i)=l3; end end end %Coordinate of the point H xh=zeros(length(RLL)*length(RLL)*length(RLL),1); yh=zeros(length(RLL)*length(RLL)*length(RLL),1); zh=zeros(length(RLL)*length(RLL)*length(RLL),1); i=0; for l1=RLL; for l2=RLL; for l3=RLL; i=i+1; yh(i)=(-l2^2+l3^2+y2^2-y3^2)/(2*(y2-y3)); xh(i)=(-l1^2+l2^2+x1^2-y2^2+2*y2*yh(i))/(2*x1); zh(i)=sqrt(l3^2-xh(i)^2-(yh(i)-y3)^2); end end end |
» 猜你喜欢
中国科学院兰州化学物理研究所--南开大学联培2026级博士研究生招生1名
已经有55人回复
招收2026年秋季入学博士生1名(北京科技大学 力学超材料/机器学习/增材制造相关方向)
已经有21人回复
工程热物理与能源利用论文润色/翻译怎么收费?
已经有231人回复
招收26年秋季入学博士生(北科大高精尖学院 力学超材料/机器学习/增材制造相关方向)
已经有18人回复
小论文投稿
已经有3人回复
定钳制动器和浮钳制动器的区别与优缺点?
已经有2人回复
宁波大学招收力学专业(表面工程方向)2026年博士生2名(申请-考核制)
已经有7人回复
宁波大学招收力学专业(表面工程方向)2026年博士生2名(申请-考核制)
已经有19人回复
wang_unicas
银虫 (初入文坛)
- 机械EPI: 1
- 应助: 0 (幼儿园)
- 金币: 338.4
- 红花: 4
- 帖子: 44
- 在线: 10.1小时
- 虫号: 2266865
- 注册: 2013-01-30
- 性别: GG
- 专业: 机构学与机器人
3楼2013-03-08 17:47:57
2楼2013-03-08 09:02:35













回复此楼