Intelligence in soft robotics