Shop OBEX P1 Docs P2 Docs Learn Events
problems with ping — Parallax Forums

problems with ping

flameofrageflameofrage Posts: 2
edited 2008-12-07 21:31 in General Discussion
Hi i have a ping sensor sonar thing and im trying to incorporate it into my boebot which already has the ir sensors on it and im looking around the site and not getting any useful information as to should i leave the sensors on there or just have the ping thing alone and have a program for roaming around with the ping so please HELPPPP!

Comments

  • SRLMSRLM Posts: 5,045
    edited 2008-11-27 18:54
    It's your choice. The more sensors that you have, the better your robot's perception of the world can be. But if you have too many, then it becomes a hassle to try and integrate everything. It's your choice, and that's the fun of robotics: you get to design what you want.
  • Mike GreenMike Green Posts: 23,101
    edited 2008-11-27 19:07
    Ultrasound and IR also have different characteristics and objects have different reflectivities to each. Some things just look nearly invisible to ultrasound and some to IR. By having several different kinds of sensors, you increase your chances of detecting an obstacle. Also, ultrasound gives you a distance measurement while IR usually just gives you a presence / absence indication at different ranges (although there are some IR sensors which give you a direct distance measurement).
  • Chris SavageChris Savage Parallax Engineering Posts: 14,406
    edited 2008-11-30 16:58
    The Roaming with PING))) demo on our website uses both the IR and the PING))) for roaming. You can find it on the PING))) product page. Take care.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Chris Savage
    Parallax Engineering
  • flameofrageflameofrage Posts: 2
    edited 2008-12-05 15:31
    thanks your help but the sample code only has the code included with the mounting bracket and the ir detectors used for detecting walls surrounding the boebot and i dont have the mounting bracket which i dont have see my problem? if you could help me extract these pieces of the code then it would b very helpful
  • Mike GreenMike Green Posts: 23,101
    edited 2008-12-05 15:54
    The mounting bracket and the included servo just make the navigation easier. You can also move the entire BoeBot when using the PING))) just like what's done when using the IR detectors for navigation. Have you gotten the sample code to work that is in the "Robotics with the BoeBot" tutorial, the one that uses the IR detectors for roaming?

    In the Roaming with PING example, you just need to turn the whole BoeBot through the sweep, making sure that it mostly ends up facing the same direction it started in before the sweep. The rest of the code should be pretty much the same. If you don't understand how to do that, you might start with the Robotics with the BoeBot tutorial and work through the examples so you understand about BoeBot movement before you try to do the navigation.
  • Chris SavageChris Savage Parallax Engineering Posts: 14,406
    edited 2008-12-07 21:31
    Excellent idea Mike...if you don't have the mounting bracket...simply turn the robot. Each subroutine could be easily modified to do this.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Chris Savage
    Parallax Engineering
Sign In or Register to comment.