aboutsummaryrefslogtreecommitdiffstats
path: root/src/can-signals.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/can-signals.cpp')
-rw-r--r--src/can-signals.cpp9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/can-signals.cpp b/src/can-signals.cpp
index 54c03425..add6654d 100644
--- a/src/can-signals.cpp
+++ b/src/can-signals.cpp
@@ -19,14 +19,19 @@
#include <fnmatch.h>
+#include "can-decoder.hpp"
#include "low-can-binding.hpp"
+std::vector<std::vector<CanMessageDefinition>> CAN_MESSAGES = {
+ {{620, CanMessageFormat::STANDARD, {10, 0, nullptr}, false, (uint8_t)NULL}},
+};
+
/**
* @brief Dumb SIGNALS array. It is composed by CanMessageSet
* SIGNALS[MESSAGE_SET_ID][CanSignal]
*/
-std::vector<std::vector<CanSignal>> SIGNALS {
- {}// message set: example
+std::vector<std::vector<CanSignal>> SIGNALS = {
+ {{&(CAN_MESSAGES[0][0]), "can.driver_door.open", 2, 4, 1.000000, 0.000000, 0.000000, 0.000000, {10, 0, nullptr}, false, true, nullptr, 0, false, decoder_t::booleanDecoder, nullptr, false, (float)NULL}},
};
/**