Shop OBEX P1 Docs P2 Docs Learn Events
PING)) penguin — Parallax Forums

PING)) penguin

Capt.KerryCapt.Kerry Posts: 28
edited 2010-01-05 15:28 in Robotics
Any code out there that utilizes the PING )) sensor to help navigate the penguin?

Comments

  • HumanoidoHumanoido Posts: 5,770
    edited 2010-01-03 06:41
    Kerryfenn: Yes! There are many programs developed to utilize the PING))) on Penguin Robot. Please refer to the listing of programs at the PRS Penguin Robot Society web site.

    One of my favorite programs is the Penguin Seeing Eye Dog. There are versions that incorporate the PING))) and the segment display and provide an audible tone that varies based on the distance to the object. There is another version for dark night navigation that detects obstacles in the front, out to a distance around 10-feet, and you can check the code in the Penguin Superhero section for more.

    www.p-robot.com/index.php/vision.html
    www.p-robot.com/sources/Vision.zip

    www.p-robot.com/index.php/penguin-superhero.html
    www.p-robot.com/sources/superhero.zip

    The Penguin PRS web site is updated here.

    www.p-robot.com/

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    humanoido
    *Stamp SEED Supercomputer *Basic Stamp Supercomputer *TriCore Stamp Supercomputer
    *Minuscule Stamp Supercomputer *Three Dimensional Computer *Penguin with 12 Brains
    *Penguin Tech *StampOne News! *Penguin Robot Society
    *Handbook of BASIC Stamp Supercomputing
    *Ultimate List Propeller Languages

    Post Edited (humanoido) : 1/3/2010 6:50:57 AM GMT

  • Capt.KerryCapt.Kerry Posts: 28
    edited 2010-01-03 13:56
    Thanks for the reply, I have explored those programs but they don't seem to include object detection and /or avoidance while walking, just when you are·holding the penguin.
    I have found code for the boe-bot that uses the PING)) to detect and move toward an object and I was anxious to see if something similar could be applied to the penguin?
  • HumanoidoHumanoido Posts: 5,770
    edited 2010-01-04 12:18
    There is already obstacle avoidance using IR. What additional features do you want with PING)))? I would think range could be added to the equation. It would not be too difficult to program. Which do you want more - to seek the object or to avoid it? If you have a Penguin, why not write some new programs?
  • Capt.KerryCapt.Kerry Posts: 28
    edited 2010-01-04 15:06
    I think it would be cool for penguin to follow your hand·(or something) using the PING)) sensor.

    I just got a Penguin for Christmas and am new to programming so I wanted to make sure that there wasn't some reason why this couldn't be done. Especially as you have been so busy writing all these excellent "apps" for the little fella and have'nt seemed to have gone down this path yet.

    I note from the Boe-bot "go_to_closest_object" code that the PING)) sensor is mounted on a servo to scan back and forth. Obviously not possible with the penguin. Would·a static·sensor have a wide enough operating angle to·enable the robot to determine the direction of an object or is it really only effective as a distance measurement device?

    Thanks for your input.
  • HumanoidoHumanoido Posts: 5,770
    edited 2010-01-05 15:28
    You could static mount Ping))) on top of Penguin, then do a turn left or turn right to view the forward field. The other option is to find another port and mount a small servo on top of Penguin and turn the Ping))) with it. You may be able to use some of the Boe-Bot code as an example when programming.
Sign In or Register to comment.