[Apollo 6.0] how does the cyber rt use the Reader to read the data sent by the Writer (top-level logic)

How does the Reader read the data of the Writer (top-level logic) ​ Generally, the reader is created with a Node. For example, in the Component class (the Component can process up to four message types at the same time. Here we will choose one data type to explain): reader = node_->CreateReader<M0>(reader_cfg) ​ Therefore, we ca ...

Posted by ben2005 on Sat, 05 Mar 2022 12:39:47 +0100

HMI-43 - [energy saving mode] top title bar and bottom information bar, lighting and start animation

HMI-43 - [energy saving mode] top title bar and bottom information bar, lighting and start animation Today, to realize the following energy-saving mode, the information bar at the bottom of the Title, the lighting system, and the start animation, the LCD instrument will come to a temporary end. Current progress To today's position, the t ...

Posted by faraway on Sat, 05 Mar 2022 09:03:52 +0100

Qt development experience tips 111-120

The slash of file path is also different on different platforms. For example, linux system generally has / slash, while windows has \ two backslashes. Qt itself supports the path of / slash in both win and linux. However, some third-party libraries may need to be converted to the path of the corresponding system, which requires slash convers ...

Posted by stonecold on Fri, 04 Mar 2022 06:33:01 +0100

Hello Qt-QT coordinate system

1. Introduction to the QT coordinate system Each window in Qt has a coordinate system. The upper left corner of the default window is the coordinate origin, and then increases horizontally to the right, decreases horizontally to the left, increases vertically to the bottom, and decreases vertically to the top. The origin is the (0, 0) point, i ...

Posted by feign3 on Thu, 03 Mar 2022 19:43:26 +0100

Analysis of three technologies of QT view content display

There are three ways to display the contents of QT view: Assemble and splice directly with qt control Basic use of qstyleditemtdelegate: cell data rendering and editing_ Gong Jianbo - CSDN blog_ Usage of qstyleditemdelegate This advantage is that the existing controls can be used to unify the overall effect; The disadvantage is that the beha ...

Posted by Avimander on Mon, 28 Feb 2022 10:25:00 +0100

4, Classes and objects

4 classes and objects The three characteristics of C + + object-oriented are encapsulation, inheritance and polymorphism C + + believes that everything is an object, and the object has its properties and behavior For example: People can be objects. Their attributes include name, age, height, weight... And their behaviors include walking, ru ...

Posted by krystof78 on Mon, 28 Feb 2022 02:17:14 +0100

QWT official example -- animation

Version: qwt-6.1.3 1, Operation effect 2, Engineering structure The structure of this project is very simple. It defines the Plot class inherited from QwtPlot, defines a virtual base class Curve inherited from QwtPlotCurve, and derives four classes from the virtual base class Curve: Curve1, Curve2, Curve3 and Curve4 3, Code ...

Posted by bumbar on Fri, 25 Feb 2022 05:16:31 +0100

Hello PyQt5PyQt5 signal slot mechanism

1, Introduction to signal slot mechanism 1. Introduction to signal slot Signal slot is the core mechanism of Qt and the communication mechanism of objects in PyQt programming. In Qt, QObject object and all controls inherited from QWidget in PyQt support signal slot mechanism. When the signal is transmitted, the connected slot function will be ...

Posted by ppatwari on Thu, 24 Feb 2022 17:28:31 +0100

Hello PyQt5PyQt5 basic window components

1, QMainWindow 1. Introduction to window types QMainWindow, QWidget and QDialog are used to create windows. They can be used directly or derived. QMainWindow window includes menu bar, toolbar, status bar, title bar, etc. it is the most common window form. QDialog is the base class of dialog window. It is mainly used to perform short-term ta ...

Posted by SyWill on Thu, 24 Feb 2022 17:26:53 +0100

Hello PyQt5PyQt5 extension

1, PyQt5 project release 1. Introduction to PyInstaller PyInstaller is a free and easy-to-use packaging tool that supports Windows, Linux, MacOS, and 32-bit and 64 bit systems. http://www.pyinstaller.org/ PyInstaller installation: pip install pyinstaller 2. PyInstaller uses PyInstaller uses the following commands: pyinstaller yourprogra ...

Posted by ThatGuyBob on Thu, 24 Feb 2022 17:26:14 +0100