Coder Social home page Coder Social logo

qt_ros2_demo's Introduction

qt_ros2_demo

a demo for ros2 and qt5 in ubuntu22.04 ros2 humble

进入ros2_qt_demo 文件夹,创建build文件夹

ros2_ws01/src/ros2_qt_demo$ tree
.
├── build
├── CMakeLists.txt
├── include
│   ├── mainwindow.h
│   └── rclcomm.h
├── package.xml
├── resource
├── src
│   ├── main.cpp
│   ├── mainwindow.cpp
│   └── rclcomm.cpp
└── ui
    └── mainwindow.ui

5 directories, 8 files

ros2_qt_demo功能包编译

cd build/
cmake ..
make

camera、qt_pub、qt_sub功能包编译

cd ~/dev_ws/src
colcon build

运行

ros2_ws01/src/ros2_qt_demo/build$

./ros2_qt_demo

自定义订阅者

ros2 run qt_sub qt_sub

自定义发布者

ros2 run qt_pub qt_pub

摄像头节点

ros2 run camera camera_node

preview

2023-04-21_18-38

2023-04-21_18-44

qt_ros2_demo's People

Contributors

buaaczj avatar yzhcat 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.