Theoretical Framework For Robotics