
MovieMaker

Richard, would you know what script the Object Avoidance was for the v3. I have One PING unit with One sharp IR. . that's it. I just want to find that little algorythm.
I used to know this site like the palm of my hand. But, I have forgotten a lot in the last many years.
I am down to one robot, Sally. I finally scraped up enough to get some eyes. I have the voice programmed the way I want it. And, I have the base running smooth. All I need now are some avoidance so she doesn't look stupid and run into walls like me.
God Bless!
:-) MovieMaker
Alan
thanks,
Mel
God Bless,
Mel
Alan
Either 1.1.2 or 1.2 should work but both will need some tweaking to suit your robot. Both should also be easily updatable to add more sensors, change the rotation of the single sensor, change sensors from PING to IR. 1.2 is documented and easier to adjust... every sub script is a separate script rather than a lot of goto/returns in one script.
I don't know what changes have been made to EZ-Robot and the EZ-Script syntax since writing either. You may find some errors with code if DJ has changed the syntax.
Once EZ-Robot gets the compass working correctly on the 4in1 sensor, I plan to update the script to have the turns be x-degrees instead of x-milliseconds. I will post the update, with proper attribution to Rich for hte original code.
Alan
RATS!
:-(
Mel
Alan
:-)
Thanks
Saying that (since you asked) this is a very simple script I wrote that uses 3 pings and a motion sensor to keep my inMoov facing the person in front of him... When the person moves around in front of him he turns his head and body to keep facing the person... It won't help you very much as mention, though....
Code:
A comment about my health:
I really was in bad shape and thought I was getting Alzheimer's Disease.
But, I found out it was side effects from my meds. I was taken the generic brand and when My doctor switched me to the real thing, I started feeling better. I am feeling so much better now. My brain works somewhat. I still have the diabetes in a pretty much advanced state. Although I am not the sharpest needle in the hay stack, I am still a member of this community and I may need a reminder sometimes. I was once an engineer also.
Even though I have really downsized, I am still playing with electronics. I have an EZB3, and a EZB4. Right now I have the Parallax Ping/SharpIR sensor kit installed with a panning motor.
Thanks for all of your patience with me.
Some issues will be lets say tables.
If you have a very high sensor or low sensor position you may miss mid range like approaching a table.
I guess for if you are in a known same environment that is ok you can work around that issue but if you want to real world the project you need to find a different solution. Maybe LIDAR or Kinect?
Especially with something like a InMoov project where to arms can reach over 5'.