Skip to content

ERROR: Device 'gps' was not found on robot "e-puck" #6784

Open
@omarsaudkhalid

Description

@omarsaudkhalid

Describe the Bug
I am having an issue with webots. When I try writing the following I get an error: gps=robot.getDevice(‘gps’) The error is webots can’t find gps. I’m trying this on epuck robot on the simulator.

Steps to Reproduce

  1. Try compiling a controller that has the following line gps=robot.getDevice(‘gps’) obviosuly after including the relevant libraries and creating instance of Robot class

Expected behavior
Error: Device "gps" was not found on robot "e-puck"

Screenshots

Image

System

  • Operating System: [e.g., Windows 10]
  • Graphics Card: [NVIDIA GeForce MX 230]
  • Processor: [AMD Ryzen 5 3500U]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions