Asked — Edited
Resolved Resolved by thetechguru!

Polar Coordinate Steering

Thanks to everyone for helping me get up and going! I've learned how to connect hardware, download projects and learning ez scripting. I have never been one to reinvent the wheel so here goes....

I am looking to build a robot that will steer using polar coordinates. Is there an easy way to do this?

Castle


ARC Pro

Upgrade to ARC Pro

ARC Pro is your gateway to a community of like-minded robot enthusiasts and professionals, all united by a passion for advanced robot programming.

#2  

ARC has built in support for the sure dc-ss503 I2C compass sensor. It populates a variable called $direction which you can use in scripts.

Alan

#3  

If you have an iPhone or iPod touch to spare that you can mount on your robot, you can also get an app called SensorStreamer that is supported by EZ-B and will also populate variables with compass direction and anything else the iPhone can sense (acceleration, gravity, GPS, etc....).

Alan

#4  

@Alan... I did a cursory google search for the dc-ss503 I2C compass sensor.... Couldn't find anyone who sells them... Do you have a link?

How does your iPhone connect to the ezb in order to stream position sensor data to the ezb? Serial? I2C? Or does it connect to ARC via your network? Just curious?

#5  

I think you guys are barking down the wrong tree. Instead of going forward and right (rectangular coordinates) to something from an angle and distance from a center point to another angle and distance from the same center point.

#6  

LOL... you mean barking "up" the wrong tree... So if it is not a compass or GPS then what type of direction finding are you looking for? I get what math your trying to use (I used to fly)... The ezb can also do advanced math... However, you will need to feed the ezb with this data in order for it to calculated and navigate. Doesn't matter if it is left, right angular or not, it can't navigate from point a to point b without some sort of positioning feedback... So what did you have in mind to attached to your robot to provide positioning?

#7  

Nice! Basically, I am looking to rotate an arm to an angle (this could be using a servo and rotating to an angle), then another servo attached to that servo would extend an arm out another angle. This would then define a point in space. I then want to navigate a rectangular expanding search. It is going to be indoors so I can't use GPS (I don't think).

Is this helping?

#8  

I missed part of your response about feedback. Good question. It is probably all going to be angular feedback from the servos. Eventually, if I can make this prototype work then it would be some kind of encoder feeding back on each angle.