A General Framework For High-Resolution Robotic Tactile Sensing: Design, Simulation, And Learning