MCPcopy Create free account
hub / github.com/arjunskumar/Robotics_CPP_Notes / main

Function main

capstone/main.cpp:3–13  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1#include "sensor_pipeline.hpp"
2
3int main() {
4 SensorPipeline pipeline("IMU_Pipeline");
5 pipeline.start();
6
7 std::cout << "[INFO] Pipeline running at " << config::IMU_HZ << " Hz\n";
8 std::this_thread::sleep_for(std::chrono::seconds(3));
9
10 pipeline.stop();
11 std::cout << "[INFO] Processed " << pipeline.processedCount() << " readings\n";
12 return 0;
13}

Callers

nothing calls this directly

Calls 3

startMethod · 0.80
stopMethod · 0.80
processedCountMethod · 0.80

Tested by

no test coverage detected