You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
SDFormat spec defines an element <fullscreen> in <gui>.
However specifying this in an SDF (see example below) yields an error message:
[/sdf/world[@name="fullscreen_test"]/gui/fullscreen:/home/johan/model.sdf:L6]: XML Element[fullscreen], child of element[gui], not defined in SDF. Copying[fullscreen] as children of [gui].
fullscreen is defined to be an attribute of gui instead of an element, so that explains why you're getting the error, but website displays it as an element, which seems like a bug.
In fact, all attributes of description files that are included seem to be displayed as elements 😞
I changed it to <gui fullscreen="true"> </gui>, but it still opens in a non-maximized window.
A quick grep did not reveal any 'maximize window' calls, so I think this is not implemented after all.
Bummer. I will have to click on the icon. ;-)
I found out that fullscreen and other settings (e.g. initial camera pose) do work if specified in a gui config file, rather than in the SDF, per these instructions.
Environment
SDFormat spec defines an element
<fullscreen>
in<gui>
.However specifying this in an SDF (see example below) yields an error message:
It seems that not all GUI functionality is implemented, yet the strange thing is that on first sight the fullscreen element is.
So I assume it is rather an issue with the parser?
On a side note: the
<origin_visual>
element doesn't seem to do anything either...Corresponding SDF file:
The text was updated successfully, but these errors were encountered: