From 3f88511971edd911c4875c04e9a2e5383ac387fa Mon Sep 17 00:00:00 2001 From: zheng_wenlong Date: Thu, 20 Jun 2019 16:34:05 +0900 Subject: add als2019 --- low-can-binding/binding/application-generated.cpp | 160 +++++++++++++++++++++- 1 file changed, 158 insertions(+), 2 deletions(-) diff --git a/low-can-binding/binding/application-generated.cpp b/low-can-binding/binding/application-generated.cpp index 1b0a3506..58249331 100644 --- a/low-can-binding/binding/application-generated.cpp +++ b/low-can-binding/binding/application-generated.cpp @@ -164,8 +164,8 @@ application_t::application_t() {std::make_shared (can_signal_t{ "vehicle.average.speed", 0, - 15, - 0.0156250f, + 16, + 1.00000f, 0.00000, 0, 0, @@ -227,6 +227,162 @@ application_t::application_t() })} } // end can_signals vector })} // end can_message_definition entry +, {std::make_shared(can_message_definition_t{ + "hs", + 0x5D1, + false, + can_message_format_t::STANDARD, + frequency_clock_t(5.00000f), + true, + { // beginning can_signals vector + {std::make_shared (can_signal_t{ + "accelerator.pedal.position", + 16, + 8, + 0.500000f, + 0.00000, + 0, + 0, + frequency_clock_t(0.00000f), + true, + false, + { + }, + false, + nullptr, + nullptr, + false + })}, + {std::make_shared (can_signal_t{ + "steering.wheel.angle", + 4, + 12, + 1.00000f, + 0.00000, + 0, + 0, + frequency_clock_t(0.00000f), + true, + false, + { + }, + false, + nullptr, + nullptr, + false + })} + } // end can_signals vector + })} // end can_message_definition entry +, {std::make_shared(can_message_definition_t{ + "hs", + 0x5D2, + false, + can_message_format_t::STANDARD, + frequency_clock_t(5.00000f), + true, + { // beginning can_signals vector + {std::make_shared (can_signal_t{ + "transmission.gearinfo", + 20, + 4, + 1.00000f, + 0.00000, + 0, + 0, + frequency_clock_t(0.00000f), + true, + false, + { + }, + false, + nullptr, + nullptr, + false + })}, + {std::make_shared (can_signal_t{ + "transmission.mode", + 16, + 4, + 1.00000f, + 0.00000, + 0, + 0, + frequency_clock_t(0.00000f), + true, + false, + { + }, + false, + nullptr, + nullptr, + false + })} + } // end can_signals vector + })} // end can_message_definition entry +, {std::make_shared(can_message_definition_t{ + "hs", + 0x5D3, + false, + can_message_format_t::STANDARD, + frequency_clock_t(5.00000f), + true, + { // beginning can_signals vector + {std::make_shared (can_signal_t{ + "turnsignal.status", + 26, + 3, + 1.00000f, + 0.00000, + 0, + 0, + frequency_clock_t(0.00000f), + true, + false, + { + }, + false, + nullptr, + nullptr, + false + })}, + {std::make_shared (can_signal_t{ + "lightstatus.brake", + 7, + 1, + 1.00000f, + 0.00000, + 0, + 0, + frequency_clock_t(0.00000f), + true, + false, + { + }, + false, + decoder_t::decode_boolean, + nullptr, + false + })}, + {std::make_shared (can_signal_t{ + "parking.brake.status", + 8, + 1, + 1.00000f, + 0.00000, + 0, + 0, + frequency_clock_t(0.00000f), + true, + false, + { + }, + false, + decoder_t::decode_boolean, + nullptr, + false + })} + } // end can_signals vector + })} // end can_message_definition entry , {std::make_shared(can_message_definition_t{ "hs", 0x620, -- cgit 1.2.3-korg