Design of environments to control robotic behavior