Visual servo control tool visual servo platform --- VISP --- get image from camera
The following example demonstrates how to use framegrabber to obtain color images from a firewire camera under Unix. The following example assumes that libX11 and libdc1394-2 are available to third parties.
#include <visp/vp1394TwoGrabber.h>
#include <visp/vpDisplayX.h>
#include <visp/vpImage.h>
int main()
{
#ifdef VISP_HAVE_ ...
Posted by Chimera on Thu, 06 Jan 2022 14:06:12 +0100
Data structure - stack (Ⅳ)
Data structure - stack (Chapter 3) sorting notes. If there are errors, please correct them. Sequence table Single linked list
Stack
of
base
book
exercise
do
...
Posted by EGNJohn on Sun, 02 Jan 2022 13:39:37 +0100
Longest common subsequence (LCS) algorithm
The three methods can be used for reference, but the code part is written by yourself. Although the final running results are correct, it is inevitable that there will be some thoughtless places in this process. If you find some errors in the code, you are welcome to correct. At the same time, new ideas can also be put forward!
The sequential ...
Posted by kokomo310 on Sun, 26 Dec 2021 06:10:38 +0100
Data structure - Application of stack and queue II
Data structure - Application of stack and queue I
Application of stack in recursion
The essence of recursion is whether the original problem can be transformed into a smaller problem with the same attributes.
Features of function call: the last called function ends first (LIFO).When calling a function, you need to use a stack to store: ① ...
Posted by Whear on Sat, 25 Dec 2021 06:30:03 +0100
[c + + compilation] makefile and CMake
Brief introduction
We usually use makefile files to organize large-scale C/C + + or projects with multiple C/C + + files. Some people think that makefile is inconvenient, so they invented CMake.
CMake generates a makefile file from the file containing the CMake instruction. The name of the file containing the CMake instruction is generall ...
Posted by webspinner on Fri, 24 Dec 2021 22:12:38 +0100
Data structure sparse matrix X
Data structure - sorting notes of arrays and generalized tables (Chapter 6). If there are errors, please correct them. Compressed storage of special matrix Common body type
When the number s of non-zero elements in a matrix with large order is very small relative to the total number t of matrix elements, that is, S
...
Posted by amalosoul on Wed, 22 Dec 2021 11:02:27 +0100
C language programming - structure (Part II)
C language programming - sorting notes of structure. If there are errors, please correct them. C language programming - structure (Part I)
Structure array
A set of associated data (such as a student's student number, name, grade, etc.) can be stored in a structural variable. If the data of 10 students need to participate in the operation, it ...
Posted by maniac1aw on Sun, 19 Dec 2021 14:24:14 +0100
Computer experiment of data structure (Chapter 6) - tree and binary tree III
1. The weighted path length (WPL) of a binary tree is the sum of the weighted path lengths of all leaf nodes in the binary tree. Given a binary tree T, it is stored in a binary linked list, and the node structure is
The weight field of the leaf node stores the non negative weight of the node. Set root as the pointer to the root node of T.
ty ...
Posted by texmansru47 on Sat, 18 Dec 2021 21:31:39 +0100
C/C + + game project: minesweeping
The original version of mine sweeping can be traced back to 1973, a game called "square".
Soon, "square" was rewritten into the game "Rlogic". In "Rlogic", the player's task is to act as US Marine Corps Team members, find a safe route without mines for the command center. If all the roads are blocked by ...
Posted by JCBarry on Fri, 10 Dec 2021 12:42:11 +0100
Application and practice of software engineering in Shandong University -- WeaselUI
2021SC@SDUSC After analyzing the header files referenced by WeaselPanel.h in the first two articles, we can finally take a look at the specific contents of WeaselPanel.h and WeaselPanel.cpp.
typedef CWinTraits<WS_POPUP|WS_CLIPSIBLINGS|WS_DISABLED, WS_EX_TOOLWINDOW|WS_EX_TOPMOST> CWeaselPanelTraits;
class WeaselPanel :
public CWindowIm ...
Posted by parena on Sun, 21 Nov 2021 02:36:17 +0100