Problem with Indigo and Gazebo

  • 内容
  • 评论
  • 相关

       最近在打开Gazebo的时候,总是出现如下的错误提示,而且显示区无法显示任何模型:

  1. Warning [ModelDatabase.cc:334] Getting models from[http://gazebosim.org/models/]. This may take a few seconds.
  2. Warning [gazebo.cc:215] Waited 1seconds for namespaces.
  3. Warning [gazebo.cc:215] Waited 1seconds for namespaces.
  4. Warning [gazebo.cc:215] Waited 1seconds for namespaces.
  5. Warning [gazebo.cc:215] Waited 1seconds for namespaces.
  6. Warning [gazebo.cc:215] Waited 1seconds for namespaces.
  7. Warning [gazebo.cc:215] Waited 1seconds for namespaces.
  8. Warning [gazebo.cc:215] Waited 1seconds for namespaces.
  9. Warning [gazebo.cc:215] Waited 1seconds for namespaces.
  10. Warning [gazebo.cc:215] Waited 1seconds for namespaces.
  11. Warning [gazebo.cc:215] Waited 1seconds for namespaces.
  12. Error [gazebo.cc:220] Waited 11 seconds for namespaces. Giving up.
  13. Error [Node.cc:90] No namespace found
  14. Error [Node.cc:90] No namespace found
  15. Error [Node.cc:90] No namespace found
  16. Error [Node.cc:90] No namespace found
  17. Error [Node.cc:90] No namespace found
  18. Error [Node.cc:90] No namespace found
  19. Error [Node.cc:90] No namespace found
  20. Error [Node.cc:90] No namespace found
  21. Error [Node.cc:90] No namespace found
  22. Error [Node.cc:90] No namespace found
  23. Error [Node.cc:90] No namespace found

       ROS Answers上找到了解决办法(http://answers.ros.org/question/199401/problem-with-indigo-and-gazebo-22/):

 

Finally I got it! Gazebo try to collect models from http://gazebosim.org/models but there 's something wrong... the folder ~/.gazebo/models does not exist and Gazebo simulator can not start. Here's a bit more simple solution: run $ wget -r -R "index\.html*" http://old.gazebosim.org/models/ to get all models from gazebosim and copy them into ~/.gazebo/models folder (after you mkdir modelsinside ~/.gazebo) and everything will be ok.

This solution worked for me. But I had to replace the link http://old.gazebosim.org/models/  with http://models.gazebosim.org/ . And a better and faster way is to download the models files from bitbucket.


原创文章,转载请注明: 转载自古月居

本文链接地址: Problem with Indigo and Gazebo

微信 OR 支付宝 扫描二维码
为本文作者 打个赏
pay_weixinpay_weixin

评论

0条评论

发表评论

电子邮件地址不会被公开。 必填项已用*标注