jr-robotics / robo-gym

An open source toolkit for Distributed Deep Reinforcement Learning on real and simulated robots.
https://sites.google.com/view/robo-gym
MIT License
390 stars 74 forks source link

Error occurred while calling the reset function. Restarting Robot server ... #61

Open limeirax001 opened 2 years ago

limeirax001 commented 2 years ago

Hello. I tried to run the basic example "Random Agent MiR100 Simulation Environment" but the error appears "Error occurred while calling the reset function. Restarting Robot server ..."

Analyzing the tmux session it is possible to observe the following:

[more logs] [INFO] [1656020731.484486, 11.575000]: Initializing robot_server node [INFO] [1656020731.531181, 11.624000]: MiR 100 Sim Robot Server started at 47971 [ERROR] [1656020809.957213027, 147.568000000]: Updating ModelState: model [obstacle_0] does not exist [ERROR] [1656020809.964521343, 147.576000000]: Updating ModelState: model [obstacle_1] does not exist [ERROR] [1656020809.971933051, 147.585000000]: Updating ModelState: model [obstacle_2] does not exist

[exited]

then tmex is terminated.


I'm using ROS noetic on ubuntu 20.04. Could you help me to solve this problem?

Adarsh3559 commented 1 year ago

I am facing the similar issue with Universal robot environment.

Error occurred while calling the reset function. Restarting Robot server ...

Did you solved the error?

arehman1806 commented 1 year ago

I guess the latest bugfixes have not been published on pip. |You might be able to make it work by cloning the repo and installing the robo-gym package manually. This is how i got it to work.

Adarsh3559 commented 1 year ago

Hii thanks for the reply i already made it work in simulation but i was not able to make it qork with real robot.

On Mon, 30 Jan 2023, 2:11 am Abdul Rehman, @.***> wrote:

I guess the latest bugfixes have not been published on pip. |You might be able to make it work by cloning the repo and installing the robo-gym package manually. This is how i got it to work.

— Reply to this email directly, view it on GitHub https://github.com/jr-robotics/robo-gym/issues/61#issuecomment-1407843329, or unsubscribe https://github.com/notifications/unsubscribe-auth/AUPVL6TGK5LXIPMMJWDQ5PLWU4ILZANCNFSM5ZVZ3VRA . You are receiving this because you commented.Message ID: @.***>

Alvin-shao commented 11 months ago

Hello. I tried to run the basic example "Random Agent MiR100 Simulation Environment" but the error appears "Error occurred while calling the reset function. Restarting Robot server ..."

Analyzing the tmux session it is possible to observe the following:

[more logs] [INFO] [1656020731.484486, 11.575000]: Initializing robot_server node [INFO] [1656020731.531181, 11.624000]: MiR 100 Sim Robot Server started at 47971 [ERROR] [1656020809.957213027, 147.568000000]: Updating ModelState: model [obstacle_0] does not exist [ERROR] [1656020809.964521343, 147.576000000]: Updating ModelState: model [obstacle_1] does not exist [ERROR] [1656020809.971933051, 147.585000000]: Updating ModelState: model [obstacle_2] does not exist

[exited]

then tmex is terminated.

I'm using ROS noetic on ubuntu 20.04. Could you help me to solve this problem?

Hello, I have been experiencing this error all the time. The reset function call has encountered an error. Have you resolved it??

Alvin-shao commented 11 months ago

I am facing the similar issue with Universal robot environment.

Error occurred while calling the reset function. Restarting Robot server ...

Did you solved the error?

I am facing the similar issue with Universal robot environment.

Error occurred while calling the reset function. Restarting Robot server ...

Did you solved the error?20230727

Rasoul-Zahedifar commented 10 months ago

Hello there,

I am writing for this issue as I faced with it too, but could solve the problem. hopefully, it works for you. If you can run gym.make properly and get the message "Successfully Started Robot Server", but get error while calling env.reset, this is because you installed robogym correctly but the problem comes from gym.make (or specifically, comes from gym, not robogym). You should install the gym version which is compatible with robogym. It is highly likely that you are using a newer version of gym. You may need to change to proper version by "pip install gym==0.18.3".

Good Luck