Closed schneimo closed 1 year ago
If someone else wants to use this environment, even it is not maintained anymore, you can also pass 'swingup=True' as an argument to gym:
gym.make('RoboschoolInvertedPendulumSwingup-v1', swingup=True)
This solves the problem also, but I think this is not the clear way to create this environment, since even without 'swingup=True', we pass the explicit Swingup-Environment name as an argument, so it is clear that Gym should not create the similar balancing task.
When we start a RoboschoolInvertedPendulumSwingup-v1 environment, Gym starts a RoboschoolInvertedPendulum-v1 environment instead. This is because the swingup parameter in the class RoboschoolInvertedPendulumSwingup is set incorrectly.
A new constructor has been added so that RoboschoolInvertedPendulum is called with the correct parameters.