1. Home
    1. Dashboard
    2. Search
  2. Forum
    1. Unresolved Threads
    2. Members
      1. Recent Activities
      2. Users Online
      3. Team Members
      4. Search Members
      5. Trophys
  3. Articles
  4. Blog
  5. Videos
  6. Jobs
  7. Shop
    1. Orders
  • Login or register
  • Search
This Thread
  • Everywhere
  • This Thread
  • This Forum
  • Articles
  • Pages
  • Forum
  • Blog Articles
  • Products
  • More Options
  1. Robotforum - Support and discussion community for industrial robots and cobots
  2. Forum
  3. General Category - Robot Forum
  4. General Discussion of Industrial Robots Only
Your browser does not support videos RoboDK Software for simulation and programming
Visit our Mainsponsor
IRBCAM
Robotics Channel
Robotics Training
Advertise in robotics
Sponsored Ads

How to make a robot drive straight?

  • Darknight2
  • April 9, 2024 at 5:30 AM
  • Thread is Unresolved
  • Darknight2
    Trophies
    1
    Posts
    6
    • April 9, 2024 at 5:30 AM
    • #1

    Hello everyone, I am a newbie in the robot sector. I have to make a mobile robot(differential drive robot) that can climb the hull ship in manual mode(automated not autonomous). The problem is I don't know how to make the robot drive straight. The robot in the ground can drive straight if you have v left and v right at the same speed but always has errors. So how about on the hull ship? I want the robot to run straight 15 cm and stop then continuously run 15cm and stop. It is a loop. Should I use odometry(encoder) and IMU to determine a position? (It still has errors?) or just use PID to control the speed of v left and v straight in the manual mode?. Please help me. Thanks, everyone.

  • MOM April 9, 2024 at 10:46 AM

    Approved the thread.
  • Online
    SkyeFire
    Reactions Received
    1,038
    Trophies
    12
    Posts
    9,371
    • April 9, 2024 at 3:35 PM
    • #2

    This is probably not the best forum to ask this question in, but I will make an attempt.

    This probably requires a multi-layered solution. Odometry on the drive wheels will be useful, but cannot detect slippage between wheel and hull. So some sort of additional sensing is required, independent of the wheel motion.

    A flow camera, or a sensor similar to that of an optical computer mouse, would be a good addition, located to see the surface of the hull orthogonal to the robot's motion path. This is not free from error, but combined with the wheel odometry should reduce errors.

    However, a flow camera may not detect rotation of the robot -- for example, if one wheel slips but the other does not. An IMU or multi-axis gyro, as used in most modern smartphones, would detect this. IMUs are very useful, but can only detect acceleration, which means that using IMU along for location relies on double integration of the detected accelerations over time. This leads to an accumulation of errors. So most IMUs in real-world use rely on being "reset" periodically using some sort of external navigational reference to reliably update the robot's real position.

    The best positional data would be to use GPS, or a "local" equivalent -- DGPS, Indoor GPS, or some other beacon-based system. DSLAM might be an alternative.

    Most modern mobile robots use a hierarchical combination of all these navigation methods, in a sort of "sensor fusion". The details of which sensor's data is treated as most or least reliable is situational, and usually must be tuned for each robot application.

  • panic mode
    Reactions Received
    1,262
    Trophies
    11
    Posts
    13,027
    • April 10, 2024 at 1:50 AM
    • #3

    what is the scale/size of the boat? what is environment?

    probably do not need to stop at 15cm mark if this is a container ship crossing the ocean.

    where boat is where exactly? indoor/outdoor? swimming pool or open water? stagnant or flowing?

    15cm relative to what? i am guessing this is some sort of model being tested in a pool, possibly indoors. in this case indoor positioning system (local GPS or cameras) could be used.

    1) read pinned topic: READ FIRST...

    2) if you have an issue with robot, post question in the correct forum section... do NOT contact me directly

    3) read 1 and 2

  • Darknight2
    Trophies
    1
    Posts
    6
    • April 12, 2024 at 6:35 PM
    • #4
    Quote from SkyeFire

    This is probably not the best forum to ask this question in, but I will make an attempt.

    This probably requires a multi-layered solution. Odometry on the drive wheels will be useful, but cannot detect slippage between wheel and hull. So some sort of additional sensing is required, independent of the wheel motion.

    A flow camera, or a sensor similar to that of an optical computer mouse, would be a good addition, located to see the surface of the hull orthogonal to the robot's motion path. This is not free from error, but combined with the wheel odometry should reduce errors.

    However, a flow camera may not detect rotation of the robot -- for example, if one wheel slips but the other does not. An IMU or multi-axis gyro, as used in most modern smartphones, would detect this. IMUs are very useful, but can only detect acceleration, which means that using IMU along for location relies on double integration of the detected accelerations over time. This leads to an accumulation of errors. So most IMUs in real-world use rely on being "reset" periodically using some sort of external navigational reference to reliably update the robot's real position.

    The best positional data would be to use GPS, or a "local" equivalent -- DGPS, Indoor GPS, or some other beacon-based system. DSLAM might be an alternative.

    Most modern mobile robots use a hierarchical combination of all these navigation methods, in a sort of "sensor fusion". The details of which sensor's data is treated as most or least reliable is situational, and usually must be tuned for each robot application.

    Display More

    thank you very much.I will think about that. And if I have the same question about robot like that what forum I should post ? thanks

  • Darknight2
    Trophies
    1
    Posts
    6
    • April 12, 2024 at 6:36 PM
    • #5
    Quote from panic mode

    what is the scale/size of the boat? what is environment?

    probably do not need to stop at 15cm mark if this is a container ship crossing the ocean.

    where boat is where exactly? indoor/outdoor? swimming pool or open water? stagnant or flowing?

    15cm relative to what? i am guessing this is some sort of model being tested in a pool, possibly indoors. in this case indoor positioning system (local GPS or cameras) could be used.

    thank you very much

  • Online
    SkyeFire
    Reactions Received
    1,038
    Trophies
    12
    Posts
    9,371
    • April 12, 2024 at 8:04 PM
    • #6
    Quote from Darknight2

    And if I have the same question about robot like that what forum I should post ? thanks

    I'm not sure. It's just that this forum is mostly about industrial robots -- most of us are integrators of robots we've purchased from major manufacturers like ABB, KUKA, Fanuc, etc, rather than create new robots from scratch. Your question is more related to mobile robotics/AMRs. This is a much more nebulous field, especially in the open-source area.

    GitHub - mjyc/awesome-robotics-projects: A list of open-source, affordable, less-known, or visionary robotics projects.
    A list of open-source, affordable, less-known, or visionary robotics projects. - mjyc/awesome-robotics-projects
    github.com

    Nav2 — Nav2 1.0.0 documentation

  • Darknight2
    Trophies
    1
    Posts
    6
    • April 14, 2024 at 8:01 PM
    • #7
    Quote from SkyeFire

    I'm not sure. It's just that this forum is mostly about industrial robots -- most of us are integrators of robots we've purchased from major manufacturers like ABB, KUKA, Fanuc, etc, rather than create new robots from scratch. Your question is more related to mobile robotics/AMRs. This is a much more nebulous field, especially in the open-source area.

    https://github.com/mjyc/awesome-robotics-projects

    https://navigation.ros.org/

    Quote from SkyeFire

    I'm not sure. It's just that this forum is mostly about industrial robots -- most of us are integrators of robots we've purchased from major manufacturers like ABB, KUKA, Fanuc, etc, rather than create new robots from scratch. Your question is more related to mobile robotics/AMRs. This is a much more nebulous field, especially in the open-source area.

    https://github.com/mjyc/awesome-robotics-projects

    https://navigation.ros.org/

    Again, thank you very much :red_heart:

Advertising from our partners

IRBCAM
Robotics Channel
Robotics Training
Advertise in robotics
Advertise in Robotics
Advertise in Robotics

Job Postings

  • Anyware Robotics is hiring!

    yzhou377 February 23, 2025 at 4:54 AM
  • How to see your Job Posting (search or recruit) here in Robot-Forum.com

    Werner Hampel November 18, 2021 at 3:44 PM
Your browser does not support videos RoboDK Software for simulation and programming

Tag Cloud

  • abb
  • Backup
  • calibration
  • Communication
  • CRX
  • DCS
  • dx100
  • dx200
  • error
  • Ethernet
  • Ethernet IP
  • external axis
  • Fanuc
  • help
  • hmi
  • I/O
  • irc5
  • IRVIsion
  • karel
  • kawasaki
  • KRC2
  • KRC4
  • KRC 4
  • KRL
  • KUKA
  • motoman
  • Offset
  • PLC
  • PROFINET
  • Program
  • Programming
  • RAPID
  • robodk
  • roboguide
  • robot
  • robotstudio
  • RSI
  • safety
  • Siemens
  • simulation
  • SPEED
  • staubli
  • tcp
  • TCP/IP
  • teach pendant
  • vision
  • Welding
  • workvisual
  • yaskawa
  • YRC1000

Thread Tag Cloud

  • abb
  • Backup
  • calibration
  • Communication
  • CRX
  • DCS
  • dx100
  • dx200
  • error
  • Ethernet
  • Ethernet IP
  • external axis
  • Fanuc
  • help
  • hmi
  • I/O
  • irc5
  • IRVIsion
  • karel
  • kawasaki
  • KRC2
  • KRC4
  • KRC 4
  • KRL
  • KUKA
  • motoman
  • Offset
  • PLC
  • PROFINET
  • Program
  • Programming
  • RAPID
  • robodk
  • roboguide
  • robot
  • robotstudio
  • RSI
  • safety
  • Siemens
  • simulation
  • SPEED
  • staubli
  • tcp
  • TCP/IP
  • teach pendant
  • vision
  • Welding
  • workvisual
  • yaskawa
  • YRC1000

Similar Threads

  • communicate and transfer data to KRC2 controller

    • stsa
    • March 29, 2024 at 3:42 AM
    • KUKA Robot Forum
  • Drive tool backwards to within a safe radius

    • Tembai
    • January 22, 2024 at 8:40 PM
    • KUKA Robot Forum
  • RoboGuide: When the base of a Fanuc robot is rotated, the UserFrame rotates with it... how can I avoid that?

    • EBri
    • February 16, 2022 at 10:07 PM
    • Fanuc Robot Forum
  • KUKA SmartHMI closes - How do I restart it?

    • MHammer
    • October 19, 2022 at 8:13 PM
    • KUKA Robot Forum
  • Benefits of using Karel over teach pendant programming?

    • Robert Dagenais
    • July 13, 2022 at 3:12 PM
    • Fanuc Robot Forum
  • AUT EXT: PGNO declarations help? [SOLVED]

    • n0909
    • April 3, 2018 at 8:27 AM
    • KUKA Robot Forum
  • Need help NX100 (EA1400N) robot with excessive play in the L-axis.

    • danc@rosemetal.com
    • April 2, 2020 at 9:22 PM
    • Yaskawa Motoman Robot Forum

Tags

  • Help Me
  1. Privacy Policy
  2. Legal Notice
Powered by WoltLab Suite™
As a registered Member:
* You will see no Google advertising
* You can translate posts into your local language
* You can ask questions or help the community with your knowledge
* You can thank the authors for their help
* You can receive notifications of replies or new topics on request
* We do not sell your data - we promise

JOIN OUR GREAT ROBOTICS COMMUNITY.
Don’t have an account yet? Register yourself now and be a part of our community!
Register Yourself Lost Password
Robotforum - Support and discussion community for industrial robots and cobots in the WSC-Connect App on Google Play
Robotforum - Support and discussion community for industrial robots and cobots in the WSC-Connect App on the App Store
Download