Preface The last chapter has already described how to compile luaplus5.3 on windows, this chapter mainly describes how to use 1: Prepare vs2015 2:code 1>luaplusmanager.h #ifndef LUAPLUS_MACHINE_H #define LUAPLUS_MACHINE_H #include “LuaPlus.h” using namespace LuaPlus; #include <string> using namespace std; class CMultiObject1 {<!– –> public: CMultiObject1(int num) :m_num(num) {<!– –> } int Print1(LuaState* state)//LuaState* state, int […]
Tag: uap
Luapp C++ exports functions/classes to interact with Lua
I touched lua a few years ago and picked it up again recently. I found it not very convenient to use, so I packaged it. After encapsulation, the use no longer cares about the Lua state machine, nor does it care about the stack. Various function types can be exported, including lambda, std::function. Classes can […]
Camera driver Huaping, split screen, stuck screen, black screen problem analysis
1. Preview blurry screen, split screen, and stuck screen 1. Phenomena Split Screen Huaping Open the smart object recognition app, the bottom sensor output defaults to 1632×1224 (200w) sensor output, which will cause problems such as blurred screen and split screen. But when choosing full-size 3264×2448 (800w) output, there will be no such problem. After […]