Kalman filter makes you overcome noises caused in the real environments when you use sensor to control system or find location of system. How can Kalman filter make it possible?
There is one assumption : a noise conforms with (is to be) a Gaussian distribution.
By using the assumption, you can predict next situation from last state. And then from many predicted state, you can take(estimate) one optimal state.
Some basic notation
x(k+1|k) means the state estimate at time k+1(next situation) given k(last state).
Covariance matrix P = E[(x-x)(x-x)^t], E(x)=x (x is mean value )
-Sorry I cannot write upper bar notation in the google blog. If you know a method to use mathematical notation in the blog, please inform me. -
To be continued.....
2012년 11월 14일 수요일
2012년 11월 4일 일요일
LPA-start Algorithm application (not finished)
Today, My plan is showing LPA-start algorithm applied to last map used at vector-field method. However, My code has problems such as infinite loop and FREE NODE LIST values are continuously changed: RHS value (0) of start node is changed into 2.
(800,60) is start node. At this position, its RHS value must keep on zero. I promise to update complete version as soon as possible.
(800,60) is start node. At this position, its RHS value must keep on zero. I promise to update complete version as soon as possible.
2012년 10월 21일 일요일
Vector Field Histogram Method to Avoid Obstacle
Today, I Show a method to find a path by using Vector Field Histogram. Currently, My algorithm is perfectly finished because there are some problems. For example, this algorithm can find a path in special case and there is no auto stop function.
Each point is found by using relation between vector field and obstacles. At each point, we can find free direction. Look at Next figure. we assume that robot can scan surroundings(0~2*pi, unit: radian). And then, we can get pixel information about obstacle.
Finally, if obstacle region that is taken by the information is subtracted from total region. we can get free region.
figure.1
First, Look at this figure.1. You can find red points that make a path by connecting each point.Each point is found by using relation between vector field and obstacles. At each point, we can find free direction. Look at Next figure. we assume that robot can scan surroundings(0~2*pi, unit: radian). And then, we can get pixel information about obstacle.
Finally, if obstacle region that is taken by the information is subtracted from total region. we can get free region.
figure.2
In the free region, if a next position of robot to reach a goal position is well made logically, robot will reach the goal position without doubt. ( I have not found this way yet). I only use relation between free region and vector made by goal and center of robot.
2012년 10월 7일 일요일
2012년 10월 6일 토요일
Basic concepts of wheel kinematics
figure.1 :link( http://www.asl.ethz.ch/education/master/mobile_robotics/year2007/S_3a_-_Kinematics_Wheel.pdf )
To take rolling condition, we must know that body motion is determined the velocity of wheel. Therefore, when we transform the velocity of body about reference frame into wheel fixed frame, the velocity must equal wheel's velocity.
To take "No Slip Condition", we must aware that wheel can not move with axial direction of wheel. Hence if we project the velocity of body into axial direction of wheel, the value must be zero.
To take rolling condition, we must know that body motion is determined the velocity of wheel. Therefore, when we transform the velocity of body about reference frame into wheel fixed frame, the velocity must equal wheel's velocity.
To take "No Slip Condition", we must aware that wheel can not move with axial direction of wheel. Hence if we project the velocity of body into axial direction of wheel, the value must be zero.
Applying the wheel motion kinematics
From this equation and system condition, we can get the total kinematic equations
Lets try to get kinematics of other systems
System.1 (type(3,0)
System.2 (type(2,1))
System.3 (type(1,2))
trajectory generation solution
When we get a one path(or trajectory) in the joint space, we sometimes use linear function with parabolic blends with via points. And then How to make one trajectory in the below figure.1
eq.4 eq.5
figure.1
First, we must aware that start segment and last segment are different with interior segments because of a region of end blend segment. For example, when we make path in the interior points(j, k), we will use only region between tj and tk. However, when we make one trajectory in the start , we use region between ti and tk as well as t0(time 0).
End segment trajectory can be taken by similar concept.
Therefore, we use next equation set for interior regions
eq.6 eq.7
In the start and last segments, we use following equations
First equation means that the velocity of the end of the blend region must have same velocity of the linear section.
Equation.2 shows that when we make blend region with second order polynomial equation and constant acceleration value.
From eq,1 and eq.2, we can get eq.3 with some skills.
2012년 10월 2일 화요일
Free configuration space at the simple system
Today, I will show you configuration spaces in the two link systems ; RR and RP.
First RR system has two configuration space variables ; theta1, theta2 (unit: radian)
First, in the RR system, it is possible that collision between obstacle and link.1 or collision between obstacle and link.2. In the first case, if collision between obstacle and link.1 is happen, all positions of link.2 with all angles are impossible. In the second case, if a distance between second joint and center of obstacle is smaller than length of link.2, there are impossible angle sets.
figure.1
First RR system has two configuration space variables ; theta1, theta2 (unit: radian)
figure.2
Second RP system has two configuration space variables: theta1 , D(Distance) (unit: radian, meter, respectively)
figure.3
If we want to map the obstacle in the figure.1 onto each configuration space (figure.2 & figure.3 ), What I do?First, in the RR system, it is possible that collision between obstacle and link.1 or collision between obstacle and link.2. In the first case, if collision between obstacle and link.1 is happen, all positions of link.2 with all angles are impossible. In the second case, if a distance between second joint and center of obstacle is smaller than length of link.2, there are impossible angle sets.
According to the upper concepts, we can write plot script for finding free configuration space. Next figure is result.
By thinking similar concept that is used in the RR system, We can get a free configuration set in the RP system. Next figure is result
2012년 3월 19일 월요일
피드 구독하기:
글 (Atom)