We have a requirement is to support multiple vehicle parameters (which can be overlapping in offsets) and decode them using PID's
With the dbc file given below, we are getting error "cantools.database.errors.Error: The signals VehicleSpeed and EngineSpeed are overlapping in message OBD2"
Example data we are sending is
Data=04410C130000 -> Engine speed
Data=04410D220000 -> Vehicle speed
DBC File
VERSION "1.0"
NS_ :
NS_DESC_
CM_
BA_DEF_
BA_
VAL_
CAT_DEF_
CAT_
FILTER
BA_DEF_DEF_
EV_DATA_
ENVVAR_DATA_
SGTYPE_
SGTYPE_VAL_
BA_DEF_SGTYPE_
BA_SGTYPE_
SIG_TYPE_REF_
VAL_TABLE_
SIG_GROUP_
SIG_VALTYPE_
SIGTYPE_VALTYPE_
BO_TX_BU_
BA_DEF_REL_
BA_REL_
BA_DEF_DEF_REL_
BU_SG_REL_
BU_EV_REL_
BU_BO_REL_
BS_:
BU_:
BO_ 2024 OBD2: 8 Vector__XXX
SG_ EngineSpeed : 31|16@0+ (0.25,0) [0|16383.75] "rpm" Vector__XXX
SG_ VehicleSpeed : 31|8@0+ (1,0) [0|255] "km/h" Vector__XXX
BA_DEF_ SG_ "SignalType" STRING ;
BA_DEF_ SG_ "SignalLongName" STRING ;
BA_DEF_ BO_ "GenMsgCycleTime" INT 0 10000;
BA_DEF_DEF_ "SignalType" "";
BA_DEF_DEF_ "SignalLongName" "";
BA_DEF_DEF_ "GenMsgCycleTime" 0;
BA_ "GenMsgCycleTime" BO_ 2024 50;
BA_ "GenMsgCycleTime" BO_ 2025 50;