webots gps python // How to use GPS in Webots? // Webots controller code for GPS in Python

Поділитися
Вставка
  • Опубліковано 1 сер 2024
  • In this webots tutorial, we will learn how to use GPS in Webots.
    Webots code for GPS in Python.
    We will also understand the GPS value.
    ========== TIMINGS ==========
    0:00 Intro
    0:50 Create webots project
    1:49 Adding GPS to robot
    2:36 Webots controller code
    5:35 Webots GPS python code
    7:32 Understanding GPS values in Webots
    9:33 Outro
    If you enjoyed this video, give it a like and tell me your thoughts in the comment below.
    ========== RELATED VIDEOS ==========
    🍋 Webots Tutorial Series in Python // Get started with Robotics using Webots
    • Webots Tutorial Series...
    🍋 Writing controller code in Webots
    • Webots tutorial 3: Con...
    🍋 Robotics Engineering - skills and tools to learn // Skills for Robotics Engineering
    • Robotics Engineering -...
    ========== USEFUL RESOURCES ==========
    🍋 Webots GPS documentation
    cyberbotics.com/doc/reference...
    🍋 Webots epuck documentation
    cyberbotics.com/doc/guide/epuck
    🍋 Robotics newsletter (Job listings & updates) sign up:
    stats.sender.net/forms/ej0oRb...
    ========== CONNECT WITH ME ==========
    Have questions about this video, use the comment section.
    Have questions about Webots, ROS, robotics, job search etc.?
    For 1:1 conversations - kgada.info/contact/
    My social media presence (@kajalgada)
    🍋 LinkedIn: / kajalgada
    🍋 Instagram: / kajalgada
    🍋 Github: github.com/KajalGada
    🍋 Personal Website: kgada.info/
    🍋 Clubhouse: @kajalgada
    ========== ABOUT ME ==========
    My name is Kajal Gada. I am a Robotics Software Engineer, an enterpreneur and a youtuber.
    I started my journey in Robotics by working on small personal projects such as a line follower with an arduino. I then pursued and graduated with a Masters in Robotics from University of Maryland in 2017. After graduation, I have worked at Reality AI, Qualcomm and Brain Corp.
    This channel is my way of giving back and helping the community grow. As a women and an international student in the US, I am aware of the challenges to break through and have a successful career. I share my insights and also teach robotics on this channel.
    Support my work here: www.buymeacoffee.com/kajalgada
    ========== Gear I usually use ==========
    🍋 Camera: YI 4K Action and Sports Camera
    🍋 Camera: iPhone XS
    🍋 Tripod: Ravelli APLT6M 72" Light Weight Aluminum Tripod
    🍋 Lights: Neewer Ring Light Kit
    🍋 Mic: SoLID Lavalier Lapel Microphone
    🍋 Recording: Voice Memo App on iPhone or Mac
    🍋 Screen recording on MacOS: quickTime Player
    🍋 Editing Software: Final Cut Pro X
    🍋 Thumbnail Designs: Canva
    ========== Credits ==========
    🍋 Like & subscribe short clip in the end: • UA-cam like subscribe...

КОМЕНТАРІ • 15

  • @durgeshnunna137
    @durgeshnunna137 Рік тому

    mam there is a new update in webots.
    webots 2022b.
    this is not having importing of 3d models.
    so wanted to ask is the new version stable and how much different is it from the previous versions.

  • @teknikelektronikauny
    @teknikelektronikauny 2 роки тому

    nice tutorial Kajal,
    can you make tutorial how to build custom arena like in forest environment or city environment? and if we have some object (like barcode), how to attach it in the arena? thanks for your response

  • @AryanKapur0605
    @AryanKapur0605 2 роки тому

    Hi ma'am!
    Just wanted to know, can you please make a video on ESP32 cam ai robot.

  • @emekosi3536
    @emekosi3536 2 роки тому

    thank you for the video. i do have some couple of questions. 1. in your opinion, which of the sensors is best for obstacle avoidance? 2. in your video about getting the robot to move in a square, there is always wheel slip, how can that issue of wheel slip be overcomed to have a perfect square. 3. is it possible to drive a robot in a perfect circle without slip and without following a line (path), 4. i will be appreciate it if you can assist us with a python code that allows the robot to navigate the entire webots floor avoiding obstacles.

    • @KajalGada
      @KajalGada  2 роки тому +1

      Glad the video was helpful. :)
      (1) IR sensors should do work for obstacle avoidance
      (2) You will always have wheel slippage. You make use of controls algorithm plus markers to get feedback & correct for it.
      (3) Using controls & markers
      (4) I have gotten another request for obstacle avoidance as well. I will make one soon

    • @emekosi3536
      @emekosi3536 2 роки тому

      @@KajalGada thank you very much. Your video has been helpful while learning python and webots.

  • @durgeshnunna137
    @durgeshnunna137 Рік тому

    how much ram is recommeneded for making a custom world in webots. i tried doing one world with around 20-25 nodes including the robot. I have a 8gb ram and 4gb graphic card.
    but the software is automatically clsing before the whole world i releoaded. Do you have any suggestions to rectify this.

    • @KajalGada
      @KajalGada  Рік тому

      It it not just about nodes, it is also about physics calculations depending on different moving parts. In general in any simulation software, the simpler the model, the easier it is to run. I have 16 GB ram on my laptop and most of my models work well. If you want more specific information, you can reach out to the Webots team on their discord server - discord.gg/meCvmn4WUx

  • @mayureshshrikrishnan2830
    @mayureshshrikrishnan2830 Рік тому

    I am having trouble with controlling the speed of my robot. After initialising the speed as 6.28 and later setting it to 0.25 * max_speed, it still moves at max_speed. I have checked my code and it runs perfectly fine without any errors so I am not sure why this is happening. Is there any settings that I can use in the node tree of e-puck that may help me control the speed?

    • @KajalGada
      @KajalGada  Рік тому

      Try setting max speed to say 3.14 and see if that works. Basically change max speed value to see if that value is even being used. Double check variable names for typos.

  • @danyalfayazi896
    @danyalfayazi896 2 роки тому

    Hi. can u implement the Bug algorithm with python in webots?

    • @KajalGada
      @KajalGada  2 роки тому

      One of the bug algorithm is wall following. I have a video in Python here - ua-cam.com/video/tHENC-HEIW8/v-deo.html Another is approaching light or avoiding it aka Braitenberg vehicles. You can find that video in Python here - ua-cam.com/video/ubgQCW7DEz0/v-deo.html

    • @danyalfayazi8804
      @danyalfayazi8804 2 роки тому

      Well actually i need to implement Bug2 algorithm in webots for my school project and i don't know how to do it. I hope u can help me with that!!

  • @sulle9818
    @sulle9818 Рік тому +2

    using NUE rather than ENU causes my robot to fly off the world

    • @dejiangong4871
      @dejiangong4871 24 дні тому

      have u found out the reason? i met the same problem