当前位置:网站首页>Detailed process of generating URDF file from SW model
Detailed process of generating URDF file from SW model
2022-06-26 08:33:00 【Yu Getou】
- explain : As an electronic control player , I thought I wouldn't touch it solidworks, Especially from sw Model to urdf This extremely tedious process . But when I found that the salted fish needed a conversion 50-70 block , I decided to do the work myself .
- I met a lot bug, I hope it will be helpful for those who need to do this work . Players with relevant questions are welcome to contact me :[email protected]
1. Common shortcut keys
- Hold down the middle mouse button —— Rotating model
- Tab(Shift+Tab)—— hide ( Show ) The part where the mouse is located
- Space —— Select View
- Right click the engineering head on the right , choice Display with dependencies , All parts can be displayed , Include hidden parts
2. Operation process
(1) Determine the reference axis , Coordinate system

i. First select the datum axis , And select a corresponding point ( Used to generate the coordinate system ), The reference axis is the rotation of each joint / Moving axis
ii. Choose a coordinate system , Generally, it only needs Determine the origin and z Axis direction that will do , Be careful z Positive and negative of the axis direction , In some cases, this will affect the display of the model .( such as base_link Of z If the shaft is reversed , The whole model is rviz Will be realized as inversion )
Be careful !!
1. When selecting the datum axis, it is necessary to flexibly use part concealment , To find the most appropriate position for the rotation axis , When selecting, you can locate the axis as long as you select the face centered on the axis .
2. When generating the coordinate system , Make sure that the coordinate system is successfully generated , Because sometimes the point and axis may not be set correctly , Generating the coordinate system will fail , This will affect the files generated later .

(2) Generate joint and link
i. Tools --> File --> Export as URDF, Enter plug-in
ii. from base_link To end_link, Select each in turn link Corresponding joint, Model and reference coordinate system .
Be careful : When selecting a model, you must first determine when an axis rotates or moves , Which parts correspond to link Solidly connected .
(3) Select configuration parameters
When the second step is finished , Press down Preview and Export, Enter the parameter configuration interface . Simply enter the following parameters into each joint The configuration of ,link There is no need to change the parameters of .
(4) Generate the file
Press down Finish, Input file name , It can generate urdf Package , It also contains routines .
Be careful ! The file name is recommended as the robot name , Because this will affect the name of relevant parameters in the generated file .
3. summary
In fact, as long as we carefully analyze each link The relationship between , And follow the steps step by step , For less complex models ,20 The whole operation can be completed in about minutes . I hope everyone can sw The model was successfully converted to urdf Model , Then play happily in the simulation environment !!
边栏推荐
- 鲸会务一站式智能会议系统帮助主办方实现数字化会议管理
- Idea auto Guide
- Can the encrypted JS code and variable name be cracked and restored?
- [postgraduate entrance examination: planning group] clarify the relationship among memory, main memory, CPU, etc
- Relationship extraction --tplinker
- Cause analysis of serial communication overshoot and method of termination
- Necessary protection ring for weak current detection
- 软件工程-个人作业-提问回顾与个人总结
- optee中的timer代码导读
- Solve the problem that pychar's terminal cannot enter the venv environment
猜你喜欢

STM32 project design: smart door lock PCB and source code based on stm32f1 (4 unlocking methods)

51 single chip microcomputer project design: schematic diagram of timed pet feeding system (LCD 1602, timed alarm clock, key timing) Protues, KEIL, DXP

Text to SQL model ----irnet

Idea auto Guide

鲸会务为活动现场提供数字化升级方案

加密的JS代码,变量名能破解还原吗?

Diode voltage doubling circuit

opencv学习笔记二
![[postgraduate entrance examination: planning group] clarify the relationship among memory, main memory, CPU, etc](/img/c2/d1432ab6021ee9da310103cc42beb3.jpg)
[postgraduate entrance examination: planning group] clarify the relationship among memory, main memory, CPU, etc

STM32 project design: an e-reader making tutorial based on stm32f4
随机推荐
Diode voltage doubling circuit
51 single chip microcomputer project design: schematic diagram of timed pet feeding system (LCD 1602, timed alarm clock, key timing) Protues, KEIL, DXP
swift 代码实现方法调用
Recovering the system with Clonezilla USB disk
Why are you impetuous
Fabrication of modulation and demodulation circuit
鲸会务一站式智能会议系统帮助主办方实现数字化会议管理
Relationship extraction -- casrel
2020-10-20
Pychart connects to Damon database
Undefined symbols for architecture i386 is related to third-party compiled static libraries
Discrete device ~ resistance capacitance
监听iPad键盘显示和隐藏事件
STM32 porting mpu6050/9250 DMP official library (motion_driver_6.12) modifying and porting DMP simple tutorial
KNN resolution
First character that appears only once
51 MCU project design: Based on 51 MCU clock perpetual calendar
Comparison between Apple Wireless charging scheme and 5W wireless charging scheme
(vs2019 MFC connects to MySQL) make a simple login interface (detailed)
drf的相关知识