mirror of
https://github.com/dalathegreat/Battery-Emulator.git
synced 2025-10-04 02:09:30 +02:00
Add CAN log replay based battery tests
This commit is contained in:
parent
7f8f48756d
commit
fd9d1ec714
9 changed files with 281 additions and 1 deletions
10
test/can_log_based/utils.h
Normal file
10
test/can_log_based/utils.h
Normal file
|
@ -0,0 +1,10 @@
|
|||
#include "../../Software/src/devboard/utils/types.h"
|
||||
|
||||
#include <filesystem>
|
||||
#include <iostream>
|
||||
|
||||
namespace fs = std::filesystem;
|
||||
|
||||
bool ends_with(const std::string& str, const std::string& suffix);
|
||||
|
||||
std::vector<CAN_frame> parse_can_log_file(const fs::path& filePath);
|
Loading…
Add table
Add a link
Reference in a new issue