Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
limeirax001 opened this issue Jun 23, 2022 · 6 comments

Comments

@limeirax001
Copy link

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
Copy link

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
Copy link

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
Copy link

Adarsh3559 commented Jan 30, 2023 via email

@Alvin-shao
Copy link

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
Copy link

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
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants