Closed oroulet closed 4 years ago
Which version of Webots are you using? We fixed a bug which looks very similar to what you are describing in R2020b (#1802).
I tested both current stable and 2021 nightly. Same behavior
The problem is actually not the camera itself, if you look at the camera overlay you can see that it is still updated at each step. The problem is the robot-window that is somehow still connected to the old controller and therefore doesn't receive any update.
Could you please try again using the latest nightly build? https://github.com/cyberbotics/webots/releases/tag/nightly_19_8_2020
I recently fixed some issues with initialization of external camera windows. I tried to reproduce this issue, but it seems to work now: even after restarting the controller the image in the camera window is updated correctly.
We will try asap
I am not sure #2119 will help as this issue is about extern controller and not external window.
Based on the description is about extern camera window not working after killing extern controller. it is good to give it another try.
Based on the description is about extern camera window not working after killing extern controller. it is good to give it another try.
Oh yes you're right, since the problem was also present in the robot window I thought it was not related.
Ok. Need to wait to be back with good network. Will test next week
@stefaniapedrazzi No change wiht latest nightly 202a . Ctrl-C on the controller, although getting the message "INFO: '
@oroulet, this has now been fixed in #2152, a patched version will be available in the nightly builds from tomorrow: https://github.com/cyberbotics/webots/releases
Describe the Bug Ctr-C on a robotcontroller with a camera kills the camera. There is no way to make the camera work again without reloading the mode. Probably related to https://github.com/cyberbotics/webots/issues/1903 but this time a simple ctrl-c trigger the issue.
There is a bypass so mainly reporting so you check this is not hiding a dangerous bug
Steps to Reproduce open attached simple model with one camera and a cube run following simple code
double-click on camera to show the camera controller in UI. enable camera, move the box to see it is working fine
ctrl-C on controller the message "INFO: Terminating extern controller for robot "robot"." pops up so exit was clean.
restart controller
=> the camera is dead, no way to make it see something
if instead of ctrl-c we click on reset in UI then controller dies and we can restart it and camera works
Expected behavior
The camera should work again since exit was clean. There is obviously a cleanup bug somewhere.
Screenshots If applicable, add screenshots to help explain your problem.
Additional context Add any other context about the problem here.
proto:
world: