aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Walzer <thomas.walzer@reutlingen-university.de>2020-08-03 18:09:27 +0200
committerThomas Walzer <thomas.walzer@reutlingen-university.de>2020-08-03 18:09:27 +0200
commita2247dabce4e692dd7bc19cdfa5fec1ee2f6714d (patch)
treee0e34b8068bbe145c080570c878b8457fde213eb
parent1c0e7cc1b2faaf5f8e8e84c33407359a7a057fe6 (diff)
changed name format to x.x.xsandbox/walzert/can_build_icefish
-rw-r--r--plugins/default-signals.cpp104
1 files changed, 52 insertions, 52 deletions
diff --git a/plugins/default-signals.cpp b/plugins/default-signals.cpp
index 0fdf5257..928e9796 100644
--- a/plugins/default-signals.cpp
+++ b/plugins/default-signals.cpp
@@ -7,10 +7,10 @@ CTLP_CAPI_REGISTER("agl-virtual-car");
std::shared_ptr<message_set_t> cms = std::make_shared<message_set_t>(message_set_t{0,"AGL Virtual Car",
{ // beginning message_definition_ vector
- {std::make_shared<message_definition_t>(message_definition_t{"ls",0x0,"P_Gear_Manual",8,0,frequency_clock_t(5.00000f),true,
+ {std::make_shared<message_definition_t>(message_definition_t{"ls",0x000,"P_Gear_Manual",8,0,frequency_clock_t(5.00000f),true,
{ // beginning signals vector
{std::make_shared<signal_t> (signal_t{
- "P_Gearbox_Direction",// generic_name
+ "Powertrain.Gearbox.Direction",// generic_name
6,// bit_position
2,// bit_size
1.00000f,// factor
@@ -32,7 +32,7 @@ std::shared_ptr<message_set_t> cms = std::make_shared<message_set_t>(message_set
""// unit
})},
{std::make_shared<signal_t> (signal_t{
- "P_Gearbox_Position_Manual",// generic_name
+ "Powertrain.Gearbox.Position_Manual",// generic_name
1,// bit_position
3,// bit_size
1.00000f,// factor
@@ -54,7 +54,7 @@ std::shared_ptr<message_set_t> cms = std::make_shared<message_set_t>(message_set
""// unit
})},
{std::make_shared<signal_t> (signal_t{
- "P_Gearbox_Power",// generic_name
+ "Powertrain.Gearbox.Power",// generic_name
8,// bit_position
14,// bit_size
1.00000f,// factor
@@ -76,7 +76,7 @@ std::shared_ptr<message_set_t> cms = std::make_shared<message_set_t>(message_set
""// unit
})},
{std::make_shared<signal_t> (signal_t{
- "P_Gearbox_Torque",// generic_name
+ "Powertrain.Gearbox.Torque",// generic_name
22,// bit_position
8,// bit_size
1.00000f,// factor
@@ -102,7 +102,7 @@ std::shared_ptr<message_set_t> cms = std::make_shared<message_set_t>(message_set
, {std::make_shared<message_definition_t>(message_definition_t{"ls",0x004,"P_Engine_Sensoric",8,0,frequency_clock_t(5.00000f),true,
{ // beginning signals vector
{std::make_shared<signal_t> (signal_t{
- "P_Engine_Acceleration",// generic_name
+ "Powertrain.Engine.Acceleration",// generic_name
37,// bit_position
16,// bit_size
1.00000f,// factor
@@ -124,7 +124,7 @@ std::shared_ptr<message_set_t> cms = std::make_shared<message_set_t>(message_set
""// unit
})},
{std::make_shared<signal_t> (signal_t{
- "P_Engine_Air_Temperature",// generic_name
+ "Powertrain.Engine.Air_Temperature",// generic_name
20,// bit_position
9,// bit_size
1.00000f,// factor
@@ -146,7 +146,7 @@ std::shared_ptr<message_set_t> cms = std::make_shared<message_set_t>(message_set
""// unit
})},
{std::make_shared<signal_t> (signal_t{
- "P_Engine_Engine_Status",// generic_name
+ "Powertrain.Engine.Engine_Status",// generic_name
10,// bit_position
1,// bit_size
1.00000f,// factor
@@ -168,7 +168,7 @@ std::shared_ptr<message_set_t> cms = std::make_shared<message_set_t>(message_set
""// unit
})},
{std::make_shared<signal_t> (signal_t{
- "P_Engine_KnockSensor",// generic_name
+ "Powertrain.Engine.KnockSensor",// generic_name
9,// bit_position
1,// bit_size
1.00000f,// factor
@@ -190,7 +190,7 @@ std::shared_ptr<message_set_t> cms = std::make_shared<message_set_t>(message_set
""// unit
})},
{std::make_shared<signal_t> (signal_t{
- "P_Engine_LambdaSensor",// generic_name
+ "Powertrain.Engine.LambdaSensor",// generic_name
29,// bit_position
8,// bit_size
1.00000f,// factor
@@ -212,7 +212,7 @@ std::shared_ptr<message_set_t> cms = std::make_shared<message_set_t>(message_set
""// unit
})},
{std::make_shared<signal_t> (signal_t{
- "P_Engine_Oil_Temperature",// generic_name
+ "Powertrain.Engine.Oil_Temperature",// generic_name
0,// bit_position
9,// bit_size
1.00000f,// factor
@@ -234,7 +234,7 @@ std::shared_ptr<message_set_t> cms = std::make_shared<message_set_t>(message_set
""// unit
})},
{std::make_shared<signal_t> (signal_t{
- "P_Engine_Temperature",// generic_name
+ "Powertrain.Engine.Temperature",// generic_name
11,// bit_position
9,// bit_size
1.00000f,// factor
@@ -257,10 +257,10 @@ std::shared_ptr<message_set_t> cms = std::make_shared<message_set_t>(message_set
})}
} // end signals vector
})} // end message_definition entry
-, {std::make_shared<message_definition_t>(message_definition_t{"ls",0x1,"P_Powertrain",8,0,frequency_clock_t(5.00000f),true,
+, {std::make_shared<message_definition_t>(message_definition_t{"ls",0x001,"P_Powertrain",8,0,frequency_clock_t(5.00000f),true,
{ // beginning signals vector
{std::make_shared<signal_t> (signal_t{
- "P_Engine_Brake",// generic_name
+ "Powertrain.Engine.Brake",// generic_name
48,// bit_position
6,// bit_size
1.00000f,// factor
@@ -282,7 +282,7 @@ std::shared_ptr<message_set_t> cms = std::make_shared<message_set_t>(message_set
""// unit
})},
{std::make_shared<signal_t> (signal_t{
- "P_Engine_DiagnoseLight",// generic_name
+ "Powertrain.Engine.DiagnoseLight",// generic_name
31,// bit_position
1,// bit_size
1.00000f,// factor
@@ -304,7 +304,7 @@ std::shared_ptr<message_set_t> cms = std::make_shared<message_set_t>(message_set
""// unit
})},
{std::make_shared<signal_t> (signal_t{
- "P_Engine_Engine_RPM",// generic_name
+ "Powertrain.Engine.Engine_RPM",// generic_name
32,// bit_position
15,// bit_size
1.00000f,// factor
@@ -326,7 +326,7 @@ std::shared_ptr<message_set_t> cms = std::make_shared<message_set_t>(message_set
""// unit
})},
{std::make_shared<signal_t> (signal_t{
- "P_Engine_Petrol_Level",// generic_name
+ "Powertrain.Engine.Petrol_Level",// generic_name
0,// bit_position
8,// bit_size
1.00000f,// factor
@@ -348,7 +348,7 @@ std::shared_ptr<message_set_t> cms = std::make_shared<message_set_t>(message_set
""// unit
})},
{std::make_shared<signal_t> (signal_t{
- "P_Engine_Power",// generic_name
+ "Powertrain.Engine.Engine_Power",// generic_name
8,// bit_position
8,// bit_size
1.00000f,// factor
@@ -370,7 +370,7 @@ std::shared_ptr<message_set_t> cms = std::make_shared<message_set_t>(message_set
""// unit
})},
{std::make_shared<signal_t> (signal_t{
- "P_Engine_Throttle",// generic_name
+ "Powertrain.Engine.Throttle",// generic_name
24,// bit_position
7,// bit_size
1.00000f,// factor
@@ -392,7 +392,7 @@ std::shared_ptr<message_set_t> cms = std::make_shared<message_set_t>(message_set
""// unit
})},
{std::make_shared<signal_t> (signal_t{
- "P_Engine_Torque",// generic_name
+ "Powertrain.Engine.Torque",// generic_name
16,// bit_position
8,// bit_size
1.00000f,// factor
@@ -415,10 +415,10 @@ std::shared_ptr<message_set_t> cms = std::make_shared<message_set_t>(message_set
})}
} // end signals vector
})} // end message_definition entry
-, {std::make_shared<message_definition_t>(message_definition_t{"ls",0x2,"P_Steering",8,0,frequency_clock_t(5.00000f),true,
+, {std::make_shared<message_definition_t>(message_definition_t{"ls",0x002,"P_Steering",8,0,frequency_clock_t(5.00000f),true,
{ // beginning signals vector
{std::make_shared<signal_t> (signal_t{
- "P_Steering_Angle",// generic_name
+ "Powertrain.Steering.Angle",// generic_name
0,// bit_position
10,// bit_size
1.00000f,// factor
@@ -440,7 +440,7 @@ std::shared_ptr<message_set_t> cms = std::make_shared<message_set_t>(message_set
""// unit
})},
{std::make_shared<signal_t> (signal_t{
- "P_Steering_Horn",// generic_name
+ "Powertrain.Steering.Horn",// generic_name
10,// bit_position
1,// bit_size
1.00000f,// factor
@@ -463,10 +463,10 @@ std::shared_ptr<message_set_t> cms = std::make_shared<message_set_t>(message_set
})}
} // end signals vector
})} // end message_definition entry
-, {std::make_shared<message_definition_t>(message_definition_t{"ls",0x3,"P_Steering_Additonal",8,0,frequency_clock_t(5.00000f),true,
+, {std::make_shared<message_definition_t>(message_definition_t{"ls",0x003,"P_Steering_Additonal",8,0,frequency_clock_t(5.00000f),true,
{ // beginning signals vector
{std::make_shared<signal_t> (signal_t{
- "P_Steering_HandleBar_Angle",// generic_name
+ "Powertrain.Steering.HandleBar_Angle",// generic_name
8,// bit_position
6,// bit_size
1.00000f,// factor
@@ -488,7 +488,7 @@ std::shared_ptr<message_set_t> cms = std::make_shared<message_set_t>(message_set
""// unit
})},
{std::make_shared<signal_t> (signal_t{
- "P_Steering_HandleBar_Length",// generic_name
+ "Powertrain.Steering.HandleBar_Length",// generic_name
0,// bit_position
7,// bit_size
1.00000f,// factor
@@ -511,10 +511,10 @@ std::shared_ptr<message_set_t> cms = std::make_shared<message_set_t>(message_set
})}
} // end signals vector
})} // end message_definition entry
-, {std::make_shared<message_definition_t>(message_definition_t{"ls",0x5,"P_EngineTronic",8,0,frequency_clock_t(5.00000f),true,
+, {std::make_shared<message_definition_t>(message_definition_t{"ls",0x005,"P_EngineTronic",8,0,frequency_clock_t(5.00000f),true,
{ // beginning signals vector
{std::make_shared<signal_t> (signal_t{
- "P_Engine_Exhaust_Valve_0",// generic_name
+ "Powertrain.Engine.Exhaust_Valve_0",// generic_name
11,// bit_position
1,// bit_size
1.00000f,// factor
@@ -536,7 +536,7 @@ std::shared_ptr<message_set_t> cms = std::make_shared<message_set_t>(message_set
""// unit
})},
{std::make_shared<signal_t> (signal_t{
- "P_Engine_Exhaust_Valve_1",// generic_name
+ "Powertrain.Engine.Exhaust_Valve_1",// generic_name
25,// bit_position
1,// bit_size
1.00000f,// factor
@@ -558,7 +558,7 @@ std::shared_ptr<message_set_t> cms = std::make_shared<message_set_t>(message_set
""// unit
})},
{std::make_shared<signal_t> (signal_t{
- "P_Engine_Exhaust_Valve_2",// generic_name
+ "Powertrain.Engine.Exhaust_Valve_2",// generic_name
27,// bit_position
1,// bit_size
1.00000f,// factor
@@ -580,7 +580,7 @@ std::shared_ptr<message_set_t> cms = std::make_shared<message_set_t>(message_set
""// unit
})},
{std::make_shared<signal_t> (signal_t{
- "P_Engine_Exhaust_Valve_3",// generic_name
+ "Powertrain.Engine.Exhaust_Valve_3",// generic_name
29,// bit_position
1,// bit_size
1.00000f,// factor
@@ -602,7 +602,7 @@ std::shared_ptr<message_set_t> cms = std::make_shared<message_set_t>(message_set
""// unit
})},
{std::make_shared<signal_t> (signal_t{
- "P_Engine_Exhaust_Valve_4",// generic_name
+ "Powertrain.Engine.Exhaust_Valve_4",// generic_name
31,// bit_position
1,// bit_size
1.00000f,// factor
@@ -624,7 +624,7 @@ std::shared_ptr<message_set_t> cms = std::make_shared<message_set_t>(message_set
""// unit
})},
{std::make_shared<signal_t> (signal_t{
- "P_Engine_Exhaust_Valve_5",// generic_name
+ "Powertrain.Engine.Exhaust_Valve_5",// generic_name
9,// bit_position
1,// bit_size
1.00000f,// factor
@@ -646,7 +646,7 @@ std::shared_ptr<message_set_t> cms = std::make_shared<message_set_t>(message_set
""// unit
})},
{std::make_shared<signal_t> (signal_t{
- "P_Engine_Rail_Pressure",// generic_name
+ "Powertrain.Engine.Rail_Pressure",// generic_name
16,// bit_position
8,// bit_size
1.00000f,// factor
@@ -668,7 +668,7 @@ std::shared_ptr<message_set_t> cms = std::make_shared<message_set_t>(message_set
""// unit
})},
{std::make_shared<signal_t> (signal_t{
- "P_Engine_Spark_Plug_0",// generic_name
+ "Powertrain.Engine.Spark_Plug_0",// generic_name
13,// bit_position
1,// bit_size
1.00000f,// factor
@@ -690,7 +690,7 @@ std::shared_ptr<message_set_t> cms = std::make_shared<message_set_t>(message_set
""// unit
})},
{std::make_shared<signal_t> (signal_t{
- "P_Engine_Spark_Plug_1",// generic_name
+ "Powertrain.Engine.Spark_Plug_1",// generic_name
15,// bit_position
1,// bit_size
1.00000f,// factor
@@ -712,7 +712,7 @@ std::shared_ptr<message_set_t> cms = std::make_shared<message_set_t>(message_set
""// unit
})},
{std::make_shared<signal_t> (signal_t{
- "P_Engine_Spark_Plug_2",// generic_name
+ "Powertrain.Engine.Spark_Plug_2",// generic_name
1,// bit_position
1,// bit_size
1.00000f,// factor
@@ -734,7 +734,7 @@ std::shared_ptr<message_set_t> cms = std::make_shared<message_set_t>(message_set
""// unit
})},
{std::make_shared<signal_t> (signal_t{
- "P_Engine_Spark_Plug_3",// generic_name
+ "Powertrain.Engine.Spark_Plug_3",// generic_name
3,// bit_position
1,// bit_size
1.00000f,// factor
@@ -756,7 +756,7 @@ std::shared_ptr<message_set_t> cms = std::make_shared<message_set_t>(message_set
""// unit
})},
{std::make_shared<signal_t> (signal_t{
- "P_Engine_Spark_Plug_4",// generic_name
+ "Powertrain.Engine.Spark_Plug_4",// generic_name
5,// bit_position
1,// bit_size
1.00000f,// factor
@@ -778,7 +778,7 @@ std::shared_ptr<message_set_t> cms = std::make_shared<message_set_t>(message_set
""// unit
})},
{std::make_shared<signal_t> (signal_t{
- "P_Engine_Spark_Plug_5",// generic_name
+ "Powertrain.Engine.Spark_Plug_5",// generic_name
7,// bit_position
1,// bit_size
1.00000f,// factor
@@ -801,10 +801,10 @@ std::shared_ptr<message_set_t> cms = std::make_shared<message_set_t>(message_set
})}
} // end signals vector
})} // end message_definition entry
-, {std::make_shared<message_definition_t>(message_definition_t{"ls",0x6,"P_Rail_Fuel",8,0,frequency_clock_t(5.00000f),true,
+, {std::make_shared<message_definition_t>(message_definition_t{"ls",0x006,"P_Rail_Fuel",8,0,frequency_clock_t(5.00000f),true,
{ // beginning signals vector
{std::make_shared<signal_t> (signal_t{
- "P_Engine_Exhaust_Temperature",// generic_name
+ "Powertrain.Engine.Exhaust_Temperature",// generic_name
0,// bit_position
9,// bit_size
1.00000f,// factor
@@ -826,7 +826,7 @@ std::shared_ptr<message_set_t> cms = std::make_shared<message_set_t>(message_set
""// unit
})},
{std::make_shared<signal_t> (signal_t{
- "P_Engine_FuelTank_Valve",// generic_name
+ "Powertrain.Engine.FuelTank_Valve",// generic_name
16,// bit_position
1,// bit_size
1.00000f,// factor
@@ -848,7 +848,7 @@ std::shared_ptr<message_set_t> cms = std::make_shared<message_set_t>(message_set
""// unit
})},
{std::make_shared<signal_t> (signal_t{
- "P_Engine_Fuel_Pump",// generic_name
+ "Powertrain.Engine.Fuel_Pump",// generic_name
17,// bit_position
1,// bit_size
1.00000f,// factor
@@ -870,7 +870,7 @@ std::shared_ptr<message_set_t> cms = std::make_shared<message_set_t>(message_set
""// unit
})},
{std::make_shared<signal_t> (signal_t{
- "P_Engine_Fuel_Temperature",// generic_name
+ "Powertrain.Engine.Fuel_Temperature",// generic_name
24,// bit_position
9,// bit_size
1.00000f,// factor
@@ -892,7 +892,7 @@ std::shared_ptr<message_set_t> cms = std::make_shared<message_set_t>(message_set
""// unit
})},
{std::make_shared<signal_t> (signal_t{
- "P_Engine_HighPressure_Pump_0",// generic_name
+ "Powertrain.Engine.HighPressure_Pump_0",// generic_name
15,// bit_position
1,// bit_size
1.00000f,// factor
@@ -914,7 +914,7 @@ std::shared_ptr<message_set_t> cms = std::make_shared<message_set_t>(message_set
""// unit
})},
{std::make_shared<signal_t> (signal_t{
- "P_Engine_HighPressure_Pump_1",// generic_name
+ "Powertrain.Engine.HighPressure_Pump_1",// generic_name
14,// bit_position
1,// bit_size
1.00000f,// factor
@@ -936,7 +936,7 @@ std::shared_ptr<message_set_t> cms = std::make_shared<message_set_t>(message_set
""// unit
})},
{std::make_shared<signal_t> (signal_t{
- "P_Engine_HighPressure_Pump_2",// generic_name
+ "Powertrain.Engine.HighPressure_Pump_2",// generic_name
13,// bit_position
1,// bit_size
1.00000f,// factor
@@ -958,7 +958,7 @@ std::shared_ptr<message_set_t> cms = std::make_shared<message_set_t>(message_set
""// unit
})},
{std::make_shared<signal_t> (signal_t{
- "P_Engine_HighPressure_Pump_3",// generic_name
+ "Powertrain.Engine.HighPressure_Pump_3",// generic_name
12,// bit_position
1,// bit_size
1.00000f,// factor
@@ -980,7 +980,7 @@ std::shared_ptr<message_set_t> cms = std::make_shared<message_set_t>(message_set
""// unit
})},
{std::make_shared<signal_t> (signal_t{
- "P_Engine_HighPressure_Pump_4",// generic_name
+ "Powertrain.Engine.HighPressure_Pump_4",// generic_name
11,// bit_position
1,// bit_size
1.00000f,// factor
@@ -1002,7 +1002,7 @@ std::shared_ptr<message_set_t> cms = std::make_shared<message_set_t>(message_set
""// unit
})},
{std::make_shared<signal_t> (signal_t{
- "P_Engine_HighPressure_Pump_5",// generic_name
+ "Powertrain.Engine.HighPressure_Pump_5",// generic_name
10,// bit_position
1,// bit_size
1.00000f,// factor
@@ -1024,7 +1024,7 @@ std::shared_ptr<message_set_t> cms = std::make_shared<message_set_t>(message_set
""// unit
})},
{std::make_shared<signal_t> (signal_t{
- "P_Engine_Rail_Valve",// generic_name
+ "Powertrain.Engine.Rail_Valve",// generic_name
9,// bit_position
1,// bit_size
1.00000f,// factor