Much more implementation of CANDataGrid for CAN-FD. More or less works

now for both changed bit and signal views. There are still some
graphical tweaks to do. Probably doesn't quite work in fuzzing window
just yet.
This commit is contained in:
Collin Kidder
2022-12-04 13:15:02 -05:00
parent a022aee07b
commit 79678af7ba
11 changed files with 282 additions and 231 deletions
+10
View File
@@ -199,6 +199,16 @@ public:
return builder;
}
static int getByteFromBitPosition(int bitPos)
{
return bitPos / 8;
}
static int getBitFromBitPosition(int bitPos)
{
return bitPos & 7;
}
//simple linear interpolation between value1 and value2. sample point is 0.0 to 1.0
static double Lerp(double value1, double value2, double samplePoint)
{