example packages

This commit is contained in:
2025-05-24 19:00:57 -04:00
parent 2c8043db4f
commit a5b75ddfd5
14 changed files with 44 additions and 109 deletions

View File

@@ -0,0 +1,21 @@
#include "common_msgs.hpp"
#include <iostream>
#include <chrono>
#include <thread>
class Example_cpp {
public:
void run() {
while (true) {
// TODO: Implement node logic
std::cout << "Running example_cpp" << std::endl;
std::this_thread::sleep_for(std::chrono::seconds(1));
}
}
};
int main(int argc, char** argv) {
Example_cpp node;
node.run();
return 0;
}

View File

@@ -0,0 +1,4 @@
dependencies:
- common_msgs
language: cpp
name: ../exampleexample_cpp