Add initial can debugger

This commit is contained in:
2024-08-27 11:10:40 +02:00
parent e56fe54853
commit edfe0a91e4
3 changed files with 31 additions and 0 deletions
+2
View File
@@ -1,9 +1,11 @@
#include "simulators.hpp" #include "simulators.hpp"
#include "test_sim.hpp" #include "test_sim.hpp"
#include "can_debugger.hpp"
Simulators::Simulators() Simulators::Simulators()
{ {
INSERT_SIMULATOR(Test_Sim); INSERT_SIMULATOR(Test_Sim);
INSERT_SIMULATOR(Can_Debugger);
} }
std::string Simulators::active_simulator_name() const std::string Simulators::active_simulator_name() const
+18
View File
@@ -0,0 +1,18 @@
#include "can_debugger.hpp"
#include <iostream>
Can_Debugger::Can_Debugger() :
Simulator_base("Can_Debugger")
{
//this->add_UI_item(&this->);
}
void Can_Debugger::timer()
{
// Timer function
}
void Can_Debugger::run_at_startup()
{
// Run at startup
}
+11
View File
@@ -0,0 +1,11 @@
#pragma once
#include "simulator_base.hpp"
class Can_Debugger : public Simulator_base {
public:
Can_Debugger();
void timer() override;
void run_at_startup() override;
private:
};