cleanup demo

This commit is contained in:
2026-01-28 23:20:11 -08:00
parent 8c5c315380
commit fe106f31cd
69 changed files with 72 additions and 469 deletions

7
aerpaw/basic_demo/compile.sh Executable file
View File

@@ -0,0 +1,7 @@
#!/bin/bash
#g++ -I/home/kdee/matlab/R2025a/extern/include controller_main.cpp controller.cpp controller_impl.cpp -o controller_app -lpthread
wd=$(pwd)
cd /home/kdee/Desktop/miSim/aerpaw/codegen
g++ -I/home/kdee/matlab/R2025a/extern/include -I../basic_demo/handcode -I. ../basic_demo/handcode/controller_main.cpp controller.cpp ../basic_demo/handcode/controller_impl.cpp controller_initialize.cpp controller_terminate.cpp -o controller_app -lpthread
cd $wd

View File

@@ -1,10 +1,10 @@
#include <iostream>
#include "controller.h" // Generated by MATLAB Coder
#include "controller_impl.h" // Your TCP implementation header
#include "controller.h"
#include "controller_impl.h" // TCP implementation header
int main() {
// Number of clients to handle
int numClients = 2; // Example: change as needed
int numClients = 2; // for now
std::cout << "Initializing TCP server...\n";