aidudezzz / deepworlds

Examples and use cases using the deepbots framework (https://github.com/aidudezzz/deepbots) with the Webots robot simulator.
GNU General Public License v3.0
50 stars 23 forks source link

Added requirements #83

Closed KelvinYang0320 closed 1 year ago

KelvinYang0320 commented 1 year ago

Users can pip install -r <path to requirements file> or conda install --yes --file <path to requirements file> to install specific packages for each example.

tsampazk commented 1 year ago

Hey @KelvinYang0320, these requirements files look really useful. I was wondering if it would be better to use snake_case in the file names? What do you think?

I am already adding instructions on the main readme regarding how to run an example using these requirement files as a first step.

KelvinYang0320 commented 1 year ago

I was wondering if it would be better to use snake_case in the file names? What do you think?

@tsampazk I am okay with lowerCamelCase/snake_case for requirement files since we set each requirement file name as its wbt file name.

I will change all names to snake_case if you think it will be better. 😄 What is the snake_case name for each example?

cartPoleWorldEmitterReceiver.wbt -> cartpole_world_emitter_receiver.wbt
cartPoleWorldRobotSupervisor.wbt -> cartpole_world_robot_supervisor.wbt
cartPoleWorldRobotSupervisorStableBaselines.wbt -> cartpole_world_robot_supervisor_stable_baselines.wbt

cartPoleWorldEmitterReceiver.wbt -> cartpole_world_emitter_receiver.wbt
cartPoleWorldRobotSupervisor.wbt -> cartpole_world_robot_supervisor.wbt

small_world.wbt -> (already in snake_case)

khr-3hv.wbt -> khr_3hv.wbt

pandaRL_training.wbt -> panda_goal_reaching.wbt

pit_escape.wbt -> (already in snake_case)
tsampazk commented 1 year ago

Your name suggestions look good, we can go ahead and rename both the worlds and requirement files to snake_case! Thank you!

KelvinYang0320 commented 1 year ago

@tsampazk Thank you for the suggestion. I have renamed all files to snake_case. I would like to keep two commits for this PR without squashing them since these are two tasks. Note that I didn't specify most of the package versions since I am not sure which version is better and if that is necessary.

tsampazk commented 1 year ago

As far as i can tell, only gym is required to be specified as it has breaking changes in newer versions. For all other requirements we can keep them unspecified as long as there are no issues.