Shaping Robot Behavior Using Principles from