From 6b8e797744a8ca38748e02a39de262223d86602d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Heredero?= Date: Thu, 24 Aug 2023 10:26:04 +0200 Subject: [PATCH] add CAN messages DB --- threewheeler.DBF | 153 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 153 insertions(+) create mode 100644 threewheeler.DBF diff --git a/threewheeler.DBF b/threewheeler.DBF new file mode 100644 index 0000000..6f5fd33 --- /dev/null +++ b/threewheeler.DBF @@ -0,0 +1,153 @@ +//******************************BUSMASTER Messages and signals Database ******************************// + +[DATABASE_VERSION] 1.3 + +[PROTOCOL] CAN + +[BUSMASTER_VERSION] [3.2.2] + +[NUMBER_OF_MESSAGES] 25 + +[START_MSG] JOY_MEASURE,529,3,3,1,S +[START_SIGNALS] posX,8,1,0,I,127,-128,1,0.000000,1.000000,%, +[START_SIGNALS] posY,8,2,0,I,127,-128,1,0.000000,1.000000,%, +[START_SIGNALS] button,1,3,0,B,1,0,1,0.000000,1.000000,, +[VALUE_DESCRIPTION] Pressed,1 +[VALUE_DESCRIPTION] Released,0 +[END_MSG] + +[START_MSG] DRIVE_SPEED,1040,4,1,1,S +[START_SIGNALS] Speed,32,4,0,I,2147483647,-2147483648,0,0.000000,1.000000,RPM, +[END_MSG] + +[START_MSG] DRIVE_POWER,321,2,1,1,S +[START_SIGNALS] Power,16,2,0,I,32767,-32768,0,0.000000,1.000000,mA, +[END_MSG] + +[START_MSG] DISPLAY_SPEED,306,2,1,1,S +[START_SIGNALS] Vehiclespeed,16,2,0,U,65535,0,0,0.000000,0.100000,km/h, +[END_MSG] + +[START_MSG] CONTROL_ALIVE,271,0,0,1,S +[END_MSG] + +[START_MSG] JOY_ALIVE,543,1,1,1,S +[START_SIGNALS] POWER_MODE,8,1,0,U,255,0,1,0.000000,1.000000,, +[VALUE_DESCRIPTION] ECO,0 +[VALUE_DESCRIPTION] NORMAL,1 +[VALUE_DESCRIPTION] RACE,2 +[END_MSG] + +[START_MSG] CONTROL_SETUP,16,4,2,1,S +[START_SIGNALS] AliveTime,8,4,0,U,255,0,1,0.000000,10.000000,mS, +[VALUE_DESCRIPTION] No alive message,0 +[START_SIGNALS] STEERING_MODE,1,1,0,B,1,0,1,0.000000,1.000000,, +[END_MSG] + +[START_MSG] CONTROL_SPEED_FACTOR,17,4,1,1,S +[START_SIGNALS] Speedfactor,32,4,0,U,4294967295,0,0,0.000000,1.000000,, +[END_MSG] + +[START_MSG] CONTROL_POWER_FACTOR,18,4,1,1,S +[START_SIGNALS] PowerFactor,32,4,0,U,4294967295,0,0,0.000000,1.000000,, +[END_MSG] + +[START_MSG] CONTROL_STEERING_FACTOR,19,4,1,1,S +[START_SIGNALS] SteeringFactor,32,4,0,U,4294967295,0,0,0.000000,1.000000,, +[END_MSG] + +[START_MSG] CONTROL_SECURITY_PARAM,20,2,2,1,S +[START_SIGNALS] maxSpeedFw,8,1,0,U,255,0,1,0.000000,0.100000,km/h, +[START_SIGNALS] MaxSpeedBw,8,2,0,U,255,0,1,0.000000,0.100000,km/h, +[END_MSG] + +[START_MSG] JOY_SETUP,288,4,4,1,S +[START_SIGNALS] mode,1,1,0,B,1,0,1,0.000000,1.000000,, +[VALUE_DESCRIPTION] Time Measure,0 +[VALUE_DESCRIPTION] Delta Measure,1 +[START_SIGNALS] timeMeasureOrDeltaX,8,2,0,U,255,0,1,0.000000,10.000000,msOrVal, +[START_SIGNALS] DeltaY,8,3,0,U,255,0,1,0.000000,1.000000,val, +[START_SIGNALS] aliveTime,8,4,0,U,255,0,1,0.000000,10.000000,ms, +[VALUE_DESCRIPTION] No alive message,0 +[END_MSG] + +[START_MSG] DISPLAY_SETUP,48,4,1,1,S +[START_SIGNALS] AliveTime,8,4,0,U,255,0,1,0.000000,10.000000,ms, +[END_MSG] + +[START_MSG] DISPLAY_ALIVE,799,0,0,1,S +[END_MSG] + +[START_MSG] DRIVE_SETUP,320,4,4,1,S +[START_SIGNALS] resetInit,1,1,0,B,1,0,1,0.000000,1.000000,, +[START_SIGNALS] speedTime,8,2,0,U,255,0,1,0.000000,10.000000,ms, +[START_SIGNALS] stopTime,8,3,0,U,255,0,1,0.000000,10.000000,ms, +[START_SIGNALS] aliveTime,8,4,0,U,255,0,1,0.000000,10.000000,ms, +[END_MSG] + +[START_MSG] STEERING_SET,337,4,1,1,S +[START_SIGNALS] SteeringPosition,32,4,0,U,4294967295,0,0,0.000000,1.000000,qc, +[END_MSG] + +[START_MSG] DRIVE_ALIVE,1055,2,10,1,S +[START_SIGNALS] STAT_RDY_SWITCH_ON,1,2,0,B,1,0,1,0.000000,1.000000,, +[START_SIGNALS] STAT_SWITCHED_ON,1,2,1,B,1,0,1,0.000000,1.000000,, +[START_SIGNALS] STAT_OPERATION_ENABLED,1,2,2,B,1,0,1,0.000000,1.000000,, +[START_SIGNALS] STAT_FAULT,1,2,3,B,1,0,1,0.000000,1.000000,, +[START_SIGNALS] STAT_VOLTAGE_ENABLED,1,2,4,B,1,0,1,0.000000,1.000000,, +[START_SIGNALS] STAT_QUICK_STOP,1,2,5,B,1,0,1,0.000000,1.000000,, +[START_SIGNALS] STAT_SWITCH_ON_DISABLED,1,2,6,B,1,0,1,0.000000,1.000000,, +[START_SIGNALS] STAT_WARNING,1,2,7,B,1,0,1,0.000000,1.000000,, +[START_SIGNALS] STAT_REMOTE,1,1,1,B,1,0,1,0.000000,1.000000,, +[START_SIGNALS] STAT_INTERNAL_LIMIT_ACTIVE,1,1,3,B,1,0,1,0.000000,1.000000,, +[END_MSG] + +[START_MSG] DISPLAY_CURRENT,1586,2,1,1,S +[START_SIGNALS] BatteryCurrent,16,2,0,I,32767,-32768,0,0.000000,10.000000,mA, +[END_MSG] + +[START_MSG] DISPLAY_VOLTAGE,1585,2,1,1,S +[START_SIGNALS] BatteryVoltage,16,2,0,U,65535,0,0,0.000000,0.001000,Volt, +[END_MSG] + +[START_MSG] DISPLAY_ENERGY,1587,1,1,1,S +[START_SIGNALS] RemainingEnergy,8,1,0,U,255,0,1,0.000000,1.000000,%, +[END_MSG] + +[START_MSG] STEERING_ALIVE,1311,2,16,1,S +[START_SIGNALS] STAT_READ_TO_SWITCH_ON,1,2,0,B,1,0,0,0.000000,1.000000,, +[START_SIGNALS] STAT_SWITCHED_ON,1,2,1,B,1,0,1,0.000000,1.000000,, +[START_SIGNALS] STAT_OPERATION_ENABLE,1,2,2,B,1,0,1,0.000000,1.000000,, +[START_SIGNALS] STAT_FAULT,1,2,3,B,1,0,1,0.000000,1.000000,, +[START_SIGNALS] STAT_VOLTAGE_ENABLED,1,2,4,B,1,0,1,0.000000,1.000000,, +[START_SIGNALS] STAT_QUICKSTOP,1,2,5,B,1,0,1,0.000000,1.000000,, +[START_SIGNALS] STAT_SWITCH_ON_DISABLE,1,2,6,B,1,0,1,0.000000,1.000000,, +[START_SIGNALS] STAT_WARNING,1,2,7,B,1,0,1,0.000000,1.000000,, +[START_SIGNALS] STAT_OFFSET_CURRENT_MEAS,1,1,0,B,1,0,1,0.000000,1.000000,, +[START_SIGNALS] STAT_REMOTE,1,1,1,B,1,0,1,0.000000,1.000000,, +[START_SIGNALS] STAT_TARGET_REACHED,1,1,2,B,1,0,1,0.000000,1.000000,, +[START_SIGNALS] STAT_INTERNAL_LIMIT_ACTIVE,1,1,3,B,1,0,1,0.000000,1.000000,, +[START_SIGNALS] STAT_HOMING_ATTAINED,1,1,4,B,1,0,1,0.000000,1.000000,, +[START_SIGNALS] STAT_HOMING_ERROR,1,1,5,B,1,0,1,0.000000,1.000000,, +[START_SIGNALS] STAT_REFRESH_POWER_STAGE,1,1,6,B,1,0,1,0.000000,1.000000,, +[START_SIGNALS] STAT_POS_REF_TO_HOME,1,1,7,B,1,0,1,0.000000,1.000000,, +[END_MSG] + +[START_MSG] STEERING_SETUP,336,4,4,1,S +[START_SIGNALS] RESET,1,1,0,B,1,0,1,0.000000,1.000000,, +[START_SIGNALS] HOMING,1,2,0,B,1,0,1,0.000000,1.000000,, +[START_SIGNALS] SET_CENTER,1,3,0,B,1,0,1,0.000000,1.000000,, +[START_SIGNALS] ALIVE_TIME,8,4,0,U,255,0,1,0.000000,10.000000,ms, +[END_MSG] + +[START_MSG] STEERING_CENTER,82,4,1,1,S +[START_SIGNALS] CENTER_POS,32,4,0,U,4294967295,0,0,0.000000,1.000000,qc, +[END_MSG] + +[START_MSG] DISPLAY_DIRECTION,307,1,1,1,S +[START_SIGNALS] DIRECTION,8,1,0,I,127,-128,1,0.000000,1.000000,deg, +[END_MSG] + +[START_MSG] STEERING_GET_POS,1298,4,1,1,S +[START_SIGNALS] POSITION,32,4,0,I,2147483647,-2147483648,0,0.000000,1.000000,qc, +[END_MSG] \ No newline at end of file