Closed ivoflipse closed 11 years ago
I've added a check that sees if the data is 3D, but it seems to be it would be better to simply ignore this contact right after it was found. God knows what this would do to the order of things though...
While I would have liked to keep paws like this around to mark them as invalid, they 'break' the assumption that all paw_data objects are 3D, so I'm simply going to ignore it.
Here's an example measurement by Fellow where on the last frame he steps on the side of the plate and loads just one sensor. This paw throws off the code that drives the rest of the program:
Here's the error message:
This is caused by the rather naive way I calculate the surface, by counting nonzero values:
The paw here has a shape of (1 x 1 x 0), which logically is somewhat problematic.