Gazebo是一个三维多机器人动力学仿真平台,它能够模拟复杂和现实的环境中关节型机器人。
/ V& E0 n4 W0 }; p6 a1 Y$ K4 k
- e% i1 L( Y# |8 L. |" {Gazebo for solidworks是一个将solidworks机器人模型,转换为Gabezo平台能识别的机器人模型的插件。 b' l4 _2 m: y
在solidworks中打开需要转换的机器人模型
& G( I: k7 C6 X8 W& t' c- b; b1 z3 x, @, E; r& n
0 h1 ~/ z3 W$ L, q0 zCollision models should be created for each link in the robot. These models should have simpler geometry and only keep the important features of the link they represent in order to not slow down the simulations. Once the collision models are created, they should be inserted into the assembly and put into a second configuration. 0 ]3 o3 i. X, g
" ]5 T: ?% G% a& O! j9 T8 E
2 H2 Z2 D8 Y. E* q9 [) l% v! j2 R) s
启用Gazebo工具条上的joint editor/ j6 w: H4 T7 [
/ s1 U7 c! g0 l. j
) |6 q9 w! {: z% U4 ]+ Z$ L+ h
打开edit link属性管理器. Click on any link in the window to select that link. To add a sub-Link, click on the plus button. Click the minus button to delete the selected link, and all of its sub links. You can also rename the selected link in the Link Name box just below the tree.
' O- q& g7 H) {4 Z. m* Q, {# q* ]7 R9 ~: q a1 n2 K
, R& z2 ~* p5 B& ?) n
定义link组件' v9 B$ E% J' v8 y3 o0 P# u Z. e
) W; L. |% e0 b" S$ K" S
+ t1 Q( w% M3 k7 N [9 N! [
添加模型到link
3 {+ ^! _& _ z. }' q
7 B$ B, [, M8 G( v! `+ R0 M$ K5 v i$ N
定义关节
2 ~' V5 V- v9 I9 Y; y% \! l$ E3 [
f& g0 C% g2 b9 @" ^: ?4 `
* c' o$ V% q. o/ F, [2 e设置关节类型; F- U7 b" }; `' d
1 w% W& V3 H" v" H a" k2 [/ a9 c8 Z5 p- o
设置关节轴线
6 E4 }) }& X5 L3 J
W6 S! `# M& K
" Y4 {) F/ H8 o: E, Y
% p1 p5 I6 a; T$ O设置关节限位: G9 Z* m8 [9 }; ?% C
5 u, i! t$ i( _5 L3 D* ^" D
7 v3 q# L* O8 G3 J" _5 M- c
0 z: G3 v- q: Z: D; F& Q+ @$ H9 z8 D打开manager robot窗口6 ^ A/ G* e) d9 l$ v) f% C
8 v9 i, ~* r0 y5 }6 f
9 q0 k. L& y( t命名机器人模型; w! h6 U$ I) w( @9 H
& P- a. [+ \6 r" q% N2 D
; `$ ?5 j. ~ e; r; Z4 U, `7 a输出模型
4 n/ }. z% g8 ] C( m6 N/ G
5 I& b1 t. s8 G1 \* d7 q
' A" T2 e" f( \( P" d P% |- a$ t |