X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=low-can-binding%2Fbinding%2Fapplication-generated.cpp;h=f91d41541c26c5a58ec58b2bae3d55dc47d013ca;hb=492459d87d6dfd2926a551a0e1a679d332d7d1a4;hp=5a67d86e00e52f44b39b3141f7dbfe27a28ea486;hpb=37379a61a19689c00e4e11ded644467c10b720ef;p=apps%2Fagl-service-can-low-level.git diff --git a/low-can-binding/binding/application-generated.cpp b/low-can-binding/binding/application-generated.cpp index 5a67d86e..f91d4154 100644 --- a/low-can-binding/binding/application-generated.cpp +++ b/low-can-binding/binding/application-generated.cpp @@ -7,7 +7,13 @@ application_t::application_t() , can_message_set_{ {std::make_shared(can_message_set_t{0,"AGL Virtual Car", { // beginning can_message_definition_ vector - {std::make_shared(can_message_definition_t{"ls",0x30,can_message_format_t::STANDARD,frequency_clock_t(5.00000f),true, + {std::make_shared(can_message_definition_t{ + "ls", + 0x30, + false, + can_message_format_t::EXTENDED, + frequency_clock_t(5.00000f), + true, { // beginning can_signals vector {std::make_shared (can_signal_t{ "hvac.fan.speed", @@ -83,7 +89,13 @@ application_t::application_t() })} } // end can_signals vector })} // end can_message_definition entry -, {std::make_shared(can_message_definition_t{"hs",0x3D9,can_message_format_t::STANDARD,frequency_clock_t(5.00000f),true, +, {std::make_shared(can_message_definition_t{ + "hs", + 0x3D9, + true, + can_message_format_t::STANDARD, + frequency_clock_t(5.00000f), + true, { // beginning can_signals vector {std::make_shared (can_signal_t{ "engine.speed", @@ -141,7 +153,13 @@ application_t::application_t() })} } // end can_signals vector })} // end can_message_definition entry -, {std::make_shared(can_message_definition_t{"hs",0x3E9,can_message_format_t::STANDARD,frequency_clock_t(5.00000f),true, +, {std::make_shared(can_message_definition_t{ + "hs", + 0x3E9, + false, + can_message_format_t::EXTENDED, + frequency_clock_t(5.00000f), + true, { // beginning can_signals vector {std::make_shared (can_signal_t{ "vehicle.average.speed", @@ -163,7 +181,13 @@ application_t::application_t() })} } // end can_signals vector })} // end can_message_definition entry -, {std::make_shared(can_message_definition_t{"hs",0x4D1,can_message_format_t::STANDARD,frequency_clock_t(5.00000f),true, +, {std::make_shared(can_message_definition_t{ + "hs", + 0x4D1, + false, + can_message_format_t::STANDARD, + frequency_clock_t(5.00000f), + true, { // beginning can_signals vector {std::make_shared (can_signal_t{ "engine.oil.temp", @@ -203,7 +227,169 @@ application_t::application_t() })} } // end can_signals vector })} // end can_message_definition entry -, {std::make_shared(can_message_definition_t{"hs",0x620,can_message_format_t::STANDARD,frequency_clock_t(5.00000f),true, +, {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, + false, + can_message_format_t::STANDARD, + frequency_clock_t(5.00000f), + true, { // beginning can_signals vector {std::make_shared (can_signal_t{ "doors.boot.open", @@ -297,7 +483,13 @@ application_t::application_t() })} } // end can_signals vector })} // end can_message_definition entry -, {std::make_shared(can_message_definition_t{"hs",0x799,can_message_format_t::STANDARD,frequency_clock_t(5.00000f),true, +, {std::make_shared(can_message_definition_t{ + "hs", + 0x799, + false, + can_message_format_t::STANDARD, + frequency_clock_t(5.00000f), + true, { // beginning can_signals vector {std::make_shared (can_signal_t{ "windows.front_left.open",