utiasDSL / safe-control-gym

PyBullet CartPole and Quadrotor environments—with CasADi symbolic a priori dynamics—for learning-based control and RL
https://www.dynsyslab.org/safe-robot-learning/
MIT License
560 stars 123 forks source link

Building Problem #142

Open Tianle-hub opened 9 months ago

Tianle-hub commented 9 months ago
  1. Fail building because of the gym version, change to 0.22.0 then works image

  2. Fail building for poetry, use "main" instead of "master" then works requires = ["poetry-core @ git+https://github.com/python-poetry/poetry-core.git@**main**"] image

Federico-PizarroBejarano commented 9 months ago

Hello @TaneliLab, thank you for your interest in our gym. Are you sure you have pulled the latest version of the code? I see you are using version 0.5.0 of the repo but we are now on version 2.0.0. In the latest code I believe we have fixed this issues.

  1. We are no longer using gym but instead using gymnasium: https://github.com/utiasDSL/safe-control-gym/blob/83fae93172782f7c6e98063da0b2425d3f741f1b/pyproject.toml#L17
  2. I believe we fixed this a while ago, and now it should be using main instead of master there: https://github.com/utiasDSL/safe-control-gym/blob/83fae93172782f7c6e98063da0b2425d3f741f1b/pyproject.toml#L34

Please let me know if this is the problem!

Tianle-hub commented 9 months ago

Thanks, I was using beta-iros-competition branch. It builds successfully on main :)

Federico-PizarroBejarano commented 9 months ago

No worries! @JacopoPan idk if you plan on updating any issues on that branch or if we just leave it as is?

JacopoPan commented 8 months ago

Hi @TaneliLab and @Federico-PizarroBejarano, I would hold changing beta-iros-competition because it is one of the branches still currently used by @spencerteetaert @Williamwenda for data collection.

I would then want to move the SITL support from safe-control-gym/beta-iros-competition to gym-pybullet-drones/main.

We should leave this issue open for temporary reference.