首页
学习
活动
专区
圈层
工具
发布
首页
学习
活动
专区
圈层
工具
MCP广场
社区首页 >问答首页 >如何在arbotix_gui和ubuntu20上使用和安装?

如何在arbotix_gui和ubuntu20上使用和安装?
EN

Stack Overflow用户
提问于 2021-06-28 11:06:47
回答 1查看 121关注 0票数 0

首先,谢谢你的帮助。我读了很多关于如何在ubuntu上安装arbotix_gui的页面,并且尝试了很多,但是我总是失败,在我执行“arbotix_gui”之后,消息如下所示:

代码语言:javascript
运行
复制
/opt/ros/noetic/bin/arbotix_gui:203: wxPyDeprecationWarning: Using deprecated class PySimpleApp. Use :class:`App` instead.
  app = wx.PySimpleApp()

/opt/ros/noetic/bin/arbotix_gui:73: DeprecationWarning: an integer is required (got type float).  Implicit conversion to integers using __int__ is deprecated, and may be removed in a future version of Python.
  wx.StaticLine(self.movebase, -1, (width/2, 0), (1,width), style=wx.LI_VERTICAL)

/opt/ros/noetic/bin/arbotix_gui:74: DeprecationWarning: an integer is required (got type float).  Implicit conversion to integers using __int__ is deprecated, and may be removed in a future version of Python.
  wx.StaticLine(self.movebase, -1, (0, width/2), (width,1))

/opt/ros/noetic/bin/arbotix_gui:125: wxPyDeprecationWarning: Call to deprecated item __call__. Use :meth:`EvtHandler.Bind` instead.
  wx.EVT_CLOSE(self, self.onClose)

/opt/ros/noetic/bin/arbotix_gui:126: wxPyDeprecationWarning: Call to deprecated item __call__. Use :meth:`EvtHandler.Bind` instead.
  wx.EVT_TIMER(self, self.TIMER_ID, self.onTimer)

Traceback (most recent call last):

  File "/opt/ros/noetic/bin/arbotix_gui", line 204, in <module>
    frame = controllerGUI(None, True)

  File "/opt/ros/noetic/bin/arbotix_gui", line 126, in __init__
    wx.EVT_TIMER(self, self.TIMER_ID, self.onTimer)

  File "/home/techmarvel/.local/lib/python3.8/site-packages/wx/core.py", line 82, in deprecated_func
    return item(*args)

  File "/home/techmarvel/.local/lib/python3.8/site-packages/wx/core.py", line 1557, in __call__
    assert len(args) == 2 + self.expectedIDs

AssertionError

ros是在覆盆子pi 4B上运行的,它是ubuntu18.04.5,ROS Melodic

  • ubuntu20.04.2和ROS运行在膝上型计算机上,虚拟machine.

  • raspberry pi被确认为主机,笔记本电脑被确认为主机。

  • i从笔记本电脑连接到覆盆子pi,SSH.it则由用户在raspberry pi上完成角色启动。

  • 检查rostopic并在层顶侧启动rviz。它是由用户在虚拟machine.

  • then上完成的,我在虚拟machine.

  • what上尝试了arbotix_gui,我想做的是通过arbotix_gui移动机器人,并在rviz.

中看到结果。

我遵循"http://wiki.ros.org/arbotix“中的安装步骤,"arbotix_gui”文件来自安装“”。

在ROS网页上有两种不同的安装方式,另一种是:"git克隆https://github.com/vanadiumlabs/arbotix_ros.git"。我通过这种方式获得一个文件夹,它可以复制到ros工作空间和"catkin_make“中。

再次感谢。

EN

回答 1

Stack Overflow用户

发布于 2021-06-29 18:34:03

我会贴出一个完整的答案,因为它已经在评论中解决了(我想)。

apt服务器可能会落后于软件包的更新,开发环境中的细微差异可能会导致意外的失败。如果有疑问,请尝试单独构建或运行源代码,检查您正在使用的python或ros或依赖项的版本,如果它仍然存在,则在github中为该包提交一个最小可复制示例(build+run步骤)。这将是获得真正支持或错误修复的最快方法,如果&只有当您认为它不是由您引起的问题时。

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/68162250

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档