Hello all ,
I've been working on my two-wheeled mobile robot I've been trying to perfect my obstacle avoidance algorithm which is Artificial Potential Field method . Also i use Arduino Uno kit . The basic concept of the potential field approach is to compute a artificial potential field in which the robot is attracted to the target and repulsed from the obstacles . The artificial potential field is used due to its computational simplicity . the mobile robot applies a force generated by the artificial potential field as the control input to its driving system . the Artificial Potential Field method in its computations depends on the distance between robot and goal or target and the distance between robot and obstacles that effected the robot (which could easily get for ultrasonic senors)
I applied the Artificial potential field method in Matlab environment / simulation and it is done successfully , really what I need in the simulation is to get the current position of mobile robot and position of goal as x , y coordinates (to compute the distance between robot and goal) and the obstacles positions ,
The output of the Artificial potential field is the desired angle to avoid obstacle and reach to the goal , the method give the robot the angle the pointed to the goal then the robot goes toward that angle and if the robot face an obstacle in his way ( got from sensor reading) the Artificial potential field will update the angle to avoid the obstacle and then re-give the robot the angle that pointed to the goal and so on.
The question is how could I apply the Artificial potential field method in real would ? what should I get ? is it easy to do that or it is impossible ?
I had Rover 5 with two normal DC motors and two encoders (incremental rotary encoder) per each wheel .
Any Help or suggestion on the topic will be highly appreciated please.
LMRer mtrplett has an
LMRer mtrplett has an explanation under his Super Droid Bot robot posting.
https://www.robotshop.com/letsmakerobots/super-droid-bot-anna-w-learning-ai-and-thermal-array#comment-103167
Please let it all load in and it will take you to the post with the code. You may be interested in the entire post though.
any answer ? Please …
any answer ? Please …
You might want to read this paper…
Hi,
I’ve been planning my Inverted Pendulum Robot (a two wheeled balancing robot) for some time. This paper has really helped me with the software planning:
Balancing and navigation control of a mobile inverted pendulum robot using sensor fusion of low cost sensors
You should be able to find it through Google without too much trouble.
As for the encoders
I would suggest looking in Google under “Robot motor encoder tutorial”.
Another possible place to look is Arduino.cc which might have a link to various Arduino libraries and they should have some which deal with encoders.
Another resource, if you have a real library available is The Robot Builder’s Bonanza.
Thanks a lot for all members
???