Gazebo是一個三維多機器人動力學(xué)仿真平臺,它能夠模擬復(fù)雜和現(xiàn)實的環(huán)境中關(guān)節(jié)型機器人。. o$ I/ v9 S X( y3 F, h) v
" [# U6 ?6 T3 z8 w2 uGazebo for solidworks是一個將solidworks機器人模型,轉(zhuǎn)換為Gabezo平臺能識別的機器人模型的插件。5 E0 s! n% x& g \7 {+ t
在solidworks中打開需要轉(zhuǎn)換的機器人模型2 T, f, D2 h3 z: v2 A& X l
e- O: o5 z4 n' h, e/ m
; @- Y3 Z) u G# w; U5 B2 fCollision 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.
6 E ~) h) j) d* i. d$ a
* M: ]2 l! s& g& w* j& N- K4 n+ K& L8 x; r& P! D, {
啟用Gazebo工具條上的joint editor
8 P) _6 x* ~6 s+ R
! ~2 X+ E6 ~7 q9 M# F* |" l0 B* K6 `! f3 C1 \( _6 W
打開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.9 o5 Y; t9 I3 A, K6 J
5 \ ]- _: P1 I8 P
2 @- `" Y, b2 P; k* s% D3 @
定義link組件
* R8 T; q- ?" w: i) G3 y1 o/ I( O+ @3 h7 R2 x
9 Z' q" D# V) s% F4 e2 _
添加模型到link
T' u6 ~) o+ n* i- c9 ]1 W, z
) N" X! G1 \" h% n( G5 I: B7 X- _9 W1 H4 k
定義關(guān)節(jié); [' z/ x, \, m( o" r m$ F' I
' j2 _0 o$ Q3 k4 U3 Y
! E/ b0 d# U4 n# \% }" O1 M設(shè)置關(guān)節(jié)類型
9 M3 m3 W% P n1 [5 B5 K7 j2 p% Z0 g( B2 f G9 t$ g
: f- |* U# ?0 h5 o6 s( ~! P
設(shè)置關(guān)節(jié)軸線$ S2 c9 y I6 B
) X% k, A9 Q$ x2 o% H; h
% Q7 m# t; Q: [4 F: ~
6 `$ w! o* t* m% r3 @. V設(shè)置關(guān)節(jié)限位4 C1 `$ s! L8 q+ }
& }4 _5 S; s% @3 c$ `* A# } Q3 [2 }3 h% Q4 ]
, P/ r+ h4 C, n G- | e打開manager robot窗口
3 N! @$ h4 [+ c$ B0 T6 T- ?% b0 s- R5 Q5 C) w4 s
- C6 @, k" S# [5 O* b" a
命名機器人模型
( t: b' j& t. ` ^2 `3 x* W5 Q9 }4 v8 i
$ r* a& g! t# U# u1 k. v" o1 b
輸出模型
& c6 [/ Z" n @* {& f4 ]
5 m% e( l/ L! y+ t! e2 G! S" c2 h- ] Q- u; i
|