Skip to content

App crushed when set 'w' equal to -0.5 in Quaternions mode #6800

Open
@peterwarlg

Description

@peterwarlg

Describe the Bug
A clear and concise description of what the bug is.
I add an GPS in Spot robot's middleExtension, and change rotation mode to Quaternions, once i set 'w' to any negative number and confirmed, the App crushed.

Image

Steps to Reproduce

  1. add a Spot Robot in an empty world
  2. add a GPS node in Spot->middleExtesion (i'm sure other nodes such as imu and Gyro have the same problem)
  3. change GPS's rotation mode to Quatersions, and make sure w, x, y, z is zero as default
  4. set 'w' to any minus number, click anywhere else to confirm
  5. app crush

Expected behavior
I know that setting ’w‘ to a minus number is an illegal and incrrect operation, however i suppose webots can prevent those bad operations.

Screenshots
see picture abow

System

  • Operating System: Windows 10
  • Graphics Card: NVIDIA GeForce GTX 1650
  • software version: R2025a

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions