Question: Please answer question 1,2,3 and 4 This is an individual assignment. You are allowed to discuss this assignment with you classmates but any work you

Please answer question 1,2,3 and 4  Please answer question 1,2,3 and 4 This is an individual assignment.

This is an individual assignment. You are allowed to discuss this assignment with you classmates but any work you submit must be your own. Trapezoidal Velocity Profile: For a certain application, it is desired to program the BaseBot to move forward in the following pattern 1. i. Start from standstill. ii. Move forward at 1/4 speed for 1 sec. ili. Move forward at 1/2 speed for 1 sec. iv. Move forward at 3/4 speed for 1 sec. v. Move forward at full speed for 15 sec. vi. Move forward at 3/4 speed for 1 sec vii. Move forward at 1/2 speed for 1 sec. vili. ix. Move forward at 1/4 speed for 1 sec. Stop. Write an Easy C program to accomplish this task. Submit the C code only Repeat Question 1 if the transition between each step is triggered by pressing a single push-buttor instead of set durations. Redo Question 1. But this time use functions, constants and loops effectively. Also, add comments to your code Write an Easy C program for your BaseBot to travel along the following trajectory. Assume that each segment is 2ft long. State all your assumptions. Use functions, constants and loops in your program. Also, add comments to your code. 2. 3. 4

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!