Empowering Robotics through ChatGPT: Unveiling Design Principles and Model Capabilities