Teaching robots to be team players with nature