lvsn / CameraNetwork

ROS camera network system
2 stars 0 forks source link

WebGui's device set options not refreshing correctly #15

Closed MathGaron closed 9 years ago

MathGaron commented 9 years ago

Reproduce bug : -Connect more than 1 device to the network. -Go in Device pane in the webgui. -select the first device -once options are loaded, select a second device The options are refreshed but the old one are not removed, so options stack up in the combobox

soravux commented 9 years ago

The problem is the same as #14. I suggest we merge both issues together (unless there's more to this that I haven't seen?)

MathGaron commented 9 years ago

maybe the explanation was not good. The combobox that enumerate the option to set camera's shutterspeed etc, seems to stack up, but it have nothing to do with camera names, in fact its probably only that the function that refresh the combobox dont erase the old options when we change camera.

soravux commented 9 years ago

Oh boy, I effectively read that waaaaaay wrong! Sorry, was trying to do 2000 things at the same time! :) This is a matter of calling clear() in javascript, it won't be long to fix.

soravux commented 9 years ago

Should be fixed in 9ec2fc6cbd5572ca252190f0077cb600535d64a4. (I have no cameras to test as of right now, can you confirm?)

soravux commented 9 years ago

I forgot to clean the imageformat select. It's fixed in 665b3fe5de27513097f5a14d465c361803e33331 .