Asked — Edited

Ultrasonic Sensor To Stop Sabertooth Drive

I am trying to add ultrasonic sensors to my roaming bot for collision detection. I am using a sabertooth driver with a kangaroo for motion control. I have a custom Movement Panel and a custom STOP script to command the kangaroo. How can I use the ultrasonic feedback to run my STOP script when too close to an object? I would like this to be monitored at all times when connected, as my bot sometimes moves when it hears a random command. (major crash the other day) Also are there any methods to minimize the number of ports needed for multiple ultrasonic sensors? I do not need to differentiate the sensors at this point.


ARC Pro

Upgrade to ARC Pro

Unleash your creativity with the power of easy robot programming using Synthiam ARC Pro

PRO
Canada
#9  

I remember the dude bot.I love how you built an entire lift mechanism just so he can reach the door handle on the fridge versus sticking a handle lower on the door. True commitment to the art.

#10  

Thank You for the kind and fun comments. Dude's beer fetching skills will surely improve this winter. 2 arms = 2 beers. He will need to deliver throughout the house also. Really looking forward to the EZ Robot Lidar navigation unit.

I am now able to stop the bot using the Collision Monitor, However i would prefer to also pause the script currently running, and have the bot say "something is in my way". Then resume the script when the object is removed.

#11  

Quote:

However i would prefer to also pause the script currently running, and have the bot say "something is in my way". Then resume the script when the object is removed.

I am pretty sure there are a few variables created by the object. Certainly a distance one, and possibly one when it takes an action. I am at work so no access to my robots right now, but if you add a "variable watcher" object, and then run the robot, you will see what variables are being created by objects and what their values are.

Alan