Question: Using the template Webots project included on Canvas. Write a robot controller ( for the mybot differential drive robot used in the lectures ) to
Using the template Webots project included on Canvas. Write a robot controller for the mybot
differential drive robot used in the lectures to move the robot from its initial position and
orientation Xo m Yo m o to the final position and orientation Xf m
Yf m f Both positions are measured with respect to the worlds coordination. The
controller should use the following forward kinematics equations, as derived in the lecture, to
estimate the robots current position:
where r is the radius of both wheels, b is the distance from the center of the robot to the middle of
the wheel.
For this controller, the value of the and should be extracted using the embedded wheels
encoder, and the robot orientation should be extracted from the robots IMU sensor
The new robot is equipped with LDS Lidar which should be used to draw a map of the robots
environment. In this map, every captured point for the wall or the blocks should be considered as
a landmark. After building a map of the environment, use the extracted map to calculate a path
from the starting point to the endpoint using the A algorithm as explained in the lecture and the
provided example code.
Using the designed path with all intermediate points, your controller should use a Proportional
Controller to move the robot to these intermediate target points, one after the other until it arrives
at the final target point. The formulas of the proportional controller are:
tan
where are the robots state wrt the worlds frame, are the
intermediate target point coordination, are the proportional controller constants, is the
distance error, is the rotation error. You can adjust the final of the robot after arriving at the
final position. Your controller should also provide the updated position of the robot after each
timestep on a figure or a Webots screen monitor.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
