Question: Write 2 Matlab functions to implement the forward and inverse kinematics of the differential drive robot to be used in the labs. Use SI units.

Write 2 Matlab functions to implement the forward and inverse kinematics of the differential drive robot to be used in the labs.

Use SI units.

Need to have 3 files: one for the forward kinematics, one for the inverse kinematics, and a main.m to test your code.

Employ the following function prototypes for the vehicle kinematics. [vx,w] = fwdKinematics(thr_dot,thl_dot,robot) [thr_dot,thl_dot] = invKinematics(vx,w,robot) where, vx is the robot velocity in m/s, w is the angular velocity of the robot in rad/s, thr_dot and thl_dot are the angular velocities of the wheels in rad/s. robot is a struct with the following fields: wheelR wheel radius in [m] halfWidth half the track width in [m]. Note: track width is measured between centers of the wheels.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!