鱼香ROS社区
    • 版块
    • 最新
    • 未解决
    • 已解决
    • 群组
    • 注册
    • 登录
    紧急通知:禁止一切关于政治&VPN翻墙等话题,发现相关帖子会立马删除封号
    提问前必看的发帖注意事项: 社区问答规则(小鱼个人)更新 | 高质量帖子发布指南

    gazebo启动报错

    已定时 已固定 已锁定 已移动 未解决
    综合问题
    gazebo 启动
    1
    1
    331
    正在加载更多帖子
    • 从旧到新
    • 从新到旧
    • 最多赞同
    回复
    • 在新帖中回复
    登录后回复
    此主题已被删除。只有拥有主题管理权限的用户可以查看。
    • 甘铭甘
      甘铭
      最后由 编辑

      ... logging to /home/cf/.ros/log/fd366c34-f942-11ed-981f-d0abd5a8b650/roslaunch-cf-Lenovo-XiaoXinAir-15IML-2019-24765.log
      Checking log directory for disk usage. This may take a while.
      Press Ctrl-C to interrupt
      Done checking log file disk usage. Usage is <1GB.

      xacro: in-order processing became default in ROS Melodic. You can drop the option.
      started roslaunch server http://cf-Lenovo-XiaoXinAir-15IML-2019:45419/

      SUMMARY

      PARAMETERS

      • /gazebo/enable_ros_network: True
      • /robot_description: <?xml version="1....
      • /rosdistro: melodic
      • /rosversion: 1.14.13
      • /use_sim_time: True

      NODES
      /
      gazebo (gazebo_ros/gzserver)
      gazebo_gui (gazebo_ros/gzclient)
      joint_state_publisher (joint_state_publisher/joint_state_publisher)
      robot_state_publisher (robot_state_publisher/robot_state_publisher)
      urdf_spawner (gazebo_ros/spawn_model)

      auto-starting new master
      process[master]: started with pid [24779]
      ROS_MASTER_URI=http://localhost:11311

      setting /run_id to fd366c34-f942-11ed-981f-d0abd5a8b650
      process[rosout-1]: started with pid [24790]
      started core service [/rosout]
      process[gazebo-2]: started with pid [24793]
      process[gazebo_gui-3]: started with pid [24798]
      process[urdf_spawner-4]: started with pid [24803]
      process[joint_state_publisher-5]: started with pid [24804]
      process[robot_state_publisher-6]: started with pid [24808]
      Traceback (most recent call last):
      File "/opt/ros/melodic/lib/joint_state_publisher/joint_state_publisher", line 44, in <module>
      jsp = joint_state_publisher.JointStatePublisher()
      File "/opt/ros/melodic/lib/python2.7/dist-packages/joint_state_publisher/init.py", line 159, in init
      robot = xml.dom.minidom.parseString(description)
      File "/usr/lib/python2.7/xml/dom/minidom.py", line 1928, in parseString
      return expatbuilder.parseString(string)
      File "/usr/lib/python2.7/xml/dom/expatbuilder.py", line 940, in parseString
      return builder.parseString(string)
      File "/usr/lib/python2.7/xml/dom/expatbuilder.py", line 223, in parseString
      parser.Parse(string, True)
      UnicodeEncodeError: 'ascii' codec can't encode characters in position 7260-7265: ordinal not in range(128)
      [ INFO] [1684830164.036816385]: Finished loading Gazebo ROS API Plugin.
      [ INFO] [1684830164.038012449]: waitForService: Service [/gazebo/set_physics_properties] has not been advertised, waiting...
      [ INFO] [1684830164.074130895]: Finished loading Gazebo ROS API Plugin.
      [ INFO] [1684830164.075474289]: waitForService: Service [/gazebo_gui/set_physics_properties] has not been advertised, waiting...
      [joint_state_publisher-5] process has died [pid 24804, exit code 1, cmd /opt/ros/melodic/lib/joint_state_publisher/joint_state_publisher __name:=joint_state_publisher __log:=/home/cf/.ros/log/fd366c34-f942-11ed-981f-d0abd5a8b650/joint_state_publisher-5.log].
      log file: /home/cf/.ros/log/fd366c34-f942-11ed-981f-d0abd5a8b650/joint_state_publisher-5*.log
      [INFO] [1684830164.374206, 0.000000]: Loading model XML from ros parameter robot_description
      Traceback (most recent call last):
      File "/opt/ros/melodic/lib/gazebo_ros/spawn_model", line 239, in <module>
      exit_code = sm.run()
      File "/opt/ros/melodic/lib/gazebo_ros/spawn_model", line 149, in run
      xml_parsed = xml.etree.ElementTree.fromstring(model_xml)
      File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 1311, in XML
      parser.feed(text)
      File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 1657, in feed
      self._parser.Parse(data, 0)
      UnicodeEncodeError: 'ascii' codec can't encode characters in position 7260-7265: ordinal not in range(128)
      [ INFO] [1684830164.406616166]: waitForService: Service [/gazebo/set_physics_properties] is now available.
      [ INFO] [1684830164.426881789, 0.007000000]: Physics dynamic reconfigure ready.
      [urdf_spawner-4] process has died [pid 24803, exit code 1, cmd /opt/ros/melodic/lib/gazebo_ros/spawn_model -urdf -model robot -param robot_description -x -0.1 -y -0.1 -z 0.05 -Y 1.571 __name:=urdf_spawner __log:=/home/cf/.ros/log/fd366c34-f942-11ed-981f-d0abd5a8b650/urdf_spawner-4.log].
      log file: /home/cf/.ros/log/fd366c34-f942-11ed-981f-d0abd5a8b650/urdf_spawner-4*.log
      gzclient: /build/ogre-1.9-B6QkmW/ogre-1.9-1.9.0+dfsg1/OgreMain/src/OgreNode.cpp:630:virtual void Ogre::Node::setScale(const Ogre::Vector3&): 假设 ‘!inScale.isNaN() && "Invalid vector supplied as parameter"’ 失败。
      Aborted (core dumped)
      [gazebo_gui-3] process has died [pid 24798, exit code 134, cmd /opt/ros/melodic/lib/gazebo_ros/gzclient __name:=gazebo_gui __log:=/home/cf/.ros/log/fd366c34-f942-11ed-981f-d0abd5a8b650/gazebo_gui-3.log].
      log file: /home/cf/.ros/log/fd366c34-f942-11ed-981f-d0abd5a8b650/gazebo_gui-3*.log

      1 条回复 最后回复 回复 引用 0
      • 第一个帖子
        最后一个帖子
      皖ICP备16016415号-7
      Powered by NodeBB | 鱼香ROS