Question: Please solve the problem below , I also added an example problme below I just don't undersatnd how to add two initial conditions instead of

Please solve the problem below , I also added an example problme below I just don't undersatnd how to add two initial conditions instead of one :
Q4: Using the MATLAB Simulink default model 'sl_drivepose', move the robot from two initial locations
(1,2,2) and (8,9,4) to a goal location (5,6,-2). Note that there is a goal pose constraint.
Include your code, and plot the paths of the robot from the initial locations to the goal location in a
single graph. (4 points)
Example : %% Move to a pose
sl_drivepose % load the simulink model
xg =[5,5, pi/2]; % goal position and pose
x0=[0,0,pi/2]; % initial position and orientation
r = sim('sl_drivepose'); % run the simulation
q = r.find('y');
plot(q(:,1), q(:,2));
Please solve the problem below , I also added an

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 Mechanical Engineering Questions!