A system for controlling a robotic end-effector is disclosed. The system includes a robotic arm, a surgical tool including an end-effector with articulatable arm and a clamp jaw. A tool driver is coupled to the surgical tool and a motor is coupled to the tool driver and is configured to drive the surgical tool. A sensor is configured to sense external forces applied to the end-effector. A central control circuit is configured to control the tool driver. The central control circuit is configured to receive a sensed parameter from the sensor, receive a sensed motor current (I) from the motor, and control the tool driver based on the sensed parameter and the motor current (I).