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

WorldControl settings not fully functional #549

Open
jrutgeer opened this issue Jun 14, 2023 · 0 comments
Open

WorldControl settings not fully functional #549

jrutgeer opened this issue Jun 14, 2023 · 0 comments
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@jrutgeer
Copy link
Contributor

Environment

  • OS Version: Ubuntu 22.04
  • Gazebo Garden built from source

Description

  1. The worldcontrol plugin reads parameter start_paused but it does not seem to have an effect: the simulation always starts 'paused' irrespective of the value of start_paused, see xml and screenshot below.

  2. If I read the code correctly, start_paused is used:

    • Only if play_pause is defined in the XML,
    • And if the value for play_pause is true (i.e. the start/pause button is visible).
    • This seems to defeat the purpose? I.e. I would like to start the simulation unpaused, and not show the start/pause button.
  3. The worldcontrol plugin reads parameters play_pause and step from the XML config in order to show/hide the corresponding buttons. They are hidden if the value is false.
    However for the step button, the free space remains and the 'Steps' popup still shows upon hoover over the non-visible step button.

<plugin filename="WorldControl" name="World control">
    <gz-gui>
        <title>World control</title>
        <anchors target="3D View">
            <line own="left" target="left"/>
            <line own="bottom" target="bottom"/>
        </anchors>
        <property key="x" type="double">0</property>
        <property key="y" type="double">1256</property>
        <property key="z" type="double">1</property>
        <property key="width" type="double">1199</property>
        <property key="height" type="double">72</property>
        <property key="opacity" type="double">1</property>
        <property key="enabled" type="bool">true</property>
        <property key="visible" type="bool">true</property>
        <property key="state" type="string">floating</property>
        <property key="showTitleBar" type="bool">false</property>
    </gz-gui>
    <play_pause>true</play_pause>
    <step>false</step>
    <start_paused>false</start_paused>
    <use_event>true</use_event>
</plugin>

image

@jrutgeer jrutgeer added the bug Something isn't working label Jun 14, 2023
@azeey azeey added the help wanted Extra attention is needed label Jun 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants