日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 编程资源 > 编程问答 >内容正文

编程问答

ros-机器人URDF建模问题

發布時間:2024/1/18 编程问答 35 豆豆
生活随笔 收集整理的這篇文章主要介紹了 ros-机器人URDF建模问题 小編覺得挺不錯的,現在分享給大家,幫大家做個參考.

參考這篇文章,分分鐘解決問題,感謝博主。
參考鏈接:
https://blog.csdn.net/m0_46259024/article/details/105333552

這里總結一下出現的問題。
問題1.roslaunch mbot_description display_mbot_base_urdf.launch報錯

[WARN] [1582867522.390661]: The ‘use_gui’ parameter was specified, which is deprecated. We’ll attempt to find and run the GUI, but if this fails you should install the ‘joint_state_publisher_gui’ package instead and run that. This backwards compatibility option will be removed in Noetic.
[ERROR] [1582867522.392212]: Could not find the GUI, install the ‘joint_state_publisher_gui’ package
[joint_state_publisher-2] process has died [pid 9056, exit code 1, cmd /opt/ros/melodic/lib/joint_state_publisher/joint_state_publisher __name:=joint_state_publisher __log:=/home/vtas/.ros/log/b6cbe59e-59ea-11ea-b2f1-84ef181f5770/joint_state_publisher-2.log].
log file: /home/vtas/.ros/log/b6cbe59e-59ea-11ea-b2f1-84ef181f5770/joint_state_publisher-2.log*

解決方法:
1、joint_state_publisher_gui是剛更新出來的包,需要把之前的joint_state_publisher換成joint_state_publisher_gui

sudo apt-get install ros-kinetic-joint-state-publisher-gui

2、URDF文件中不能有中文注釋,刪除掉中文注釋;

3、把原來的joint_state_publisher用joint_state_publisher_gui全部替換,就沒有警告了。

問題2.編譯urdf文件時,提示Error: Error reading end tag.

解決方法:
xml的文件都是以name和/name成對出現的

注意踏著寫參數半徑,關節的偏移設置

————————————————
版權聲明:本文為CSDN博主「鳴蜩。」的原創文章,遵循 CC 4.0 BY-SA 版權協議,轉載請附上原文出處鏈接及本聲明。
原文鏈接:https://blog.csdn.net/m0_46259024/article/details/105333552

總結

以上是生活随笔為你收集整理的ros-机器人URDF建模问题的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。