Welcome to Synthiam!

Program robots using technologies created from industry experts. ARC is our free-to-use robot programming software that makes features like vision recognition, navigation and artificial intelligence easy.
Get Started


Turn Adventurebot Using Angles

I am pretty new to working on the AdventureBot, and a class project requires me to make it turn at certain angles, such as turn left 55 degrees, turn right 34 degrees, etc.
I have tried varying the speed of the left and right HDD motors, but to find an angle I have to do several tries to find the perfect setting, and repeat it for new values of angles. Also, the speed settings change with the surface of the floor. I do not seem to find a pattern in the left and right speed values either, through which I can write generic code for converting motor speeds to exact angles either for a particular surface.

Has anyone faced a similar problem? If yes, then how can I implement such an operation on AdventureBot? Is there a library or app that I can install on EZ-Builder?


Related Hardware EZ-Robot AdventureBot
#12   — Edited
I didn't realize the solution was requiring specific degrees of 34 or some incredibly accurate number. My solution will provide a vague turning degree for a classroom to demonstrate angles (roughly) of pre-set degrees. It would be similar to any educational robot product. Perhaps with an outcome similar to Turtle Graphics or LOGO.

If you're looking for very precise (to 34 degrees), then there really isn't a great way to do it. You'll need to do it slowly, and use a kalman filter to combine multiple sensor data. A compass isn't accurate enough alone. It would require multiple scans of a lidar or camera sensor. Combined with a compass. Combined with wheel encoders. So three high grade sensors can provide you with the turning. But, the wheels will also have to be centered. Additionally, the wheels would have to have incredibly low friction, and castor could not be used either. So, that will also create some challenges because the robot may move forward a slight amount while turning.

Really, it's going to be incredibly difficult with any platform without combining significant number of sensors with high sample rate to accomplish the precision you believe the OP is requesting. 

I do not believe the OP is requesting that level of precision. My interpretation is the OP would like to demonstrate angles of a robot on the ground, similar to how Turtle Graphics or LOGO would be on a computer screen. If i'm incorrect, I accept that as well:)
#13   — Edited
Richard R -  Sort of sound childish -  Why would you say "EzAng.... You may feel vindicated, because @DJ came to your rescue"?

I simply thought there was a way, not being so precise as you are describing, to use the ARC program. I also thought the young man for school just wanted to get some angles, as he said "to make it turn at certain angles, such as turn left 55 degrees, turn right 34 degrees, etc. "

for a school project, do you really need to be so precise? I think not...

If I am wrong, let akshaymathurcse0009 inform me.

I bet akshaymathurcse0009 is long gone by now, lol

by the way I tried it, was a few degrees off, due to my surface, wheels were not calibrated (5 off)  - fine for a school project

User-inserted image

#14   — Edited
@DJ... Yes Lidar, now we're talkin'... 

#15   — Edited
@EZang.... Seriously dude time to let this go... The op wanted precise degrees not approx... Ok, preform the same script on a shag rug, oily surface, dirt and loose gravel.... Now quickly adapt it to cover any angle between 0 - 359deg... without 360 different scripts, that is.... I could have given him this and much more but again without additional hardware there would be no precision and no reliable repeat ability....
I wouldn't worry to much - the OP was scared off a long time ago with this convo:)
lol, that is what I said above, be well