Code Monkey home page Code Monkey logo

ros_qt5_gui_app's Introduction

ROS Qt Deskotp GUI App


简体中文 | English

  • 使用qt5实现ros机器人人机界面

  • 注意!未经作者的许可,此代码仅用于学习,不能用于其他用途。

  • 持续更新中.....

  • 欢迎在issues提交bug

分支

kinetic 版本分支(分支已合并)

2. Qml版本分支(待完善)

  • 界面更加美观,功能简单,可作为机器人机载端显示
  • qml_simple

3. Lite branch

  • 此版本为《ROS人机交互软件开发》系列课程中实现的版本,实现了master分支的基本功能,代码易懂
  • simple

4. Windows版本分支

5,rviz菜单树分支

  • 使用rviz自带的菜单树,去实现添加显示图层。master分支所有的图层及菜单均需要手动去写代码实现(并且目前仅支持部分图层显示),此分支调用librviz现成api,所有图层均可以实现,不用去手动创建图层菜单和display

  • rviz_tree

  • image.png


一,功能介绍

1,速度仪表盘

  • 使用前须在菜单->设置->话题设置中设置odom话题:

在这里插入图片描述 在这里插入图片描述

2, 机器人速度控制

在这里插入图片描述

3, 电量显示

  • 使用前须在菜单->设置->话题设置中设置电量话题(Std_msg/Float32)

在这里插入图片描述

4, rviz模块

在这里插入图片描述

4.1 订阅map话题

在这里插入图片描述

4.2 激光雷达图层显示

在这里插入图片描述

4.3 设置导航初始点

在这里插入图片描述

4.4 设置导航目标点

在这里插入图片描述

4.5 定点返航
  • 使用前须在菜单->设置->话题设置中设置amcl话题 在这里插入图片描述
4.6 订阅图像话题
  • Provides four image display forms that can display four images at the same time
  • 提供四个图像显示窗体,可以同时显示四个图像

加粗样式

4.7 快捷指令

在这里插入图片描述 在这里插入图片描述

4.8 显示机器人模型

在这里插入图片描述

4.9 提供六种rviz工具

在这里插入图片描述

4.10 显示话题列表

image.png .

4.11 待完善....

二,安装教程

1,首先安装ros对qt pkg的支持

sudo apt-get install ros-melodic-qt-create
sudo apt-get install ros-melodic-qt-build
sudo apt-get install qtmultimedia5-dev

2,编译

Put the package in the ros src package directory: 将软件包放入ros src软件包目录下:

catkin_make

3,运行

rosrun cyrobot_monitor cyrobot_monitor

开源协议

GNU GPL(GNU General Public License,GNU通用公共许可证) 在这里插入图片描述

  • 只要软件中包含了遵循本协议的产品或代码,该软件就必须也遵循 GPL 许可协议,也就是必须开源免费,不能闭源收费,不能作为商用软件。

GPL 开源协议的主要特点

  • 复制自由 允许把软件复制到任何人的电脑中,并且不限制复制的数量。

  • 传播自由 允许软件以各种形式进行传播。

  • 收费传播 允许在各种媒介上出售该软件,但必须提前让买家知道这个软件是可以免费获得的;因此,一般来讲,开源软件都是通过为用户提供有偿服务的形式来盈利的。

  • 修改自由 允许开发人员增加或删除软件的功能,但软件修改后必须依然基于GPL许可协议授权。

ros_qt5_gui_app's People

Contributors

chengyangkj avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.