文章目录Step 0. Create the Task Environment file from templateStep 1. Import the RobotEnv you want it to inherit fromStep 2. Register the new TaskEnvStep 3. Initialize the TaskEnv ClassStep 4. Fill in the virtual functions4.0 Set the initial position of the robot4.1 Initialize environment variables4.2 D