Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Guiding a Robot Through a Path

Tags:

robotics

robot

I have a field filled with obstacles, I know where they are located, and I know the robot's position. Using a path-finding algorithm, I calculate a path for the robot to follow.

Now my problem is, I am guiding the robot from grid to grid but this creates a not-so-smooth motion. I start at A, turn the nose to point B, move straight until I reach point B, rinse and repeat until the final point is reached.

So my question is: What kind of techniques are used for navigating in such an environment so that I get a smooth motion?

The robot has two wheels and two motors. I change the direction of the motor by turning the motors in reverse.

EDIT: I can vary the speed of the motors basically the robot is an arduino plus ardumoto, I can supply values between 0-255 to the motors on either direction.

like image 322
Hamza Yerlikaya Avatar asked May 25 '10 14:05

Hamza Yerlikaya


People also ask

What is path planning in robotics?

Path planning lets an autonomous vehicle or a robot find the shortest and most obstacle-free path from a start to goal state. The path can be a set of states (position and orientation) or waypoints. Path planning requires a map of the environment along with start and goal states as input.

Why is path planning important in robotics?

Robot path planning is essential for #robot accuracy and ensuring it avoids collisions. Path planning for industrial #robots is an essential aspect of the overall performance of #automation systems. This process is vitally important to ensure path planning is accurate, safe, and efficient.

What is path planning in AI?

Motion planning, also path planning (also known as the navigation problem or the piano mover's problem) is a computational problem to find a sequence of valid configurations that moves the object from the source to destination. The term is used in computational geometry, computer animation, robotics and computer games.


2 Answers

You need feedback linearization for a differentially driven robot. This document explains it in Section 2.2. I've included relevant portions below:

The simulated robot required for the project is a differential drive robot with a bounded velocity. Since the differential drive robots are nonholonomic, the students are encouraged to use feedback linearization to convert the kinematic control output from their algorithms to control the differential drive robots. The transformation follows:

Transformation

where v, ω, x, y are the linear, angular, and kinematic velocities. L is an offset length proportional to the wheel base dimension of the robot.

like image 173
Jacob Avatar answered Sep 20 '22 21:09

Jacob


One control algorithm I've had pretty good results with is pure pursuit. Basically, the robot attempts to move to a point along the path a fixed distance ahead of the robot. So as the robot moves along the path, the look ahead point also advances. The algorithm compensates for non-holonomic constraints by modeling possible paths as arcs.

Larger look ahead distances will create smoother movement. However, larger look ahead distances will cause the robot to cut corners, which may collide with obstacles. You can fix this problem by implementing ideas from a reactive control algorithm called Vector Field Histogram (VFH). VFH basically pushes the robot away from close walls. While this normally uses a range finding sensor of some sort, you can extrapolate the relative locations of the obstacles since you know the robot pose and the obstacle locations.

like image 27
John Wang Avatar answered Sep 20 '22 21:09

John Wang