A.Lab RequirementsSoftware:Webots & Python

Learning Goal: I’m working on a computer science project and need support to help me learn.

C.1 Task 1 – Distance (Task + Plot)
Implement a controller called ‘Lab1_Task1.py’. The robot should move in a straight line for “X”
inches at constant velocity. The robot should use the kinematics formulas to move for “X” inches
in “Y” secs and stop based on time, not on readings from position sensors. If the robot cannot
complete the movement in the given amount of time, instead of moving forward, the program
should display an appropriate message. Provide a plot, showing “Distance” vs. “Time”. Distance
should be computed from PositionSensor readings. You can write this data into a file from your
Python console as the simulation runs. During evaluation, the TA will test different values for
“X” and “Y”.
C.2 Task 2 – Orientation (Task + Plot)
Implement the program ‘Lab1_Task2.py’. The robot should rotate “X” degrees and then stop.
The robot should complete the movement in “Y” seconds. The robot should print its IMU
reading to match the “X” rotation. The program should work for any value “X”. If the robot
cannot complete the movement in the given amount of time, the program should display an
appropriate message. Provide a plot, showing “Angle” vs. “Time”. Angle should be computed
from IMU readings. You can write this data into a file from your Python console as the
simulation runs. During evaluation, the TA will test different values for “X” and “Y”.
C.3 Task 3 – Trapezoid
Implement a controller called ‘Lab1_Task3.py’. The program should make the robot follow the
path shown in Figure 4 in a clockwise direction. The trapezoid has length “H”, top width “W”,
and internal angles “a” and “b”. Robot should start at (0, H/2) moving counterclockwise. After
completing the trapezoid, the robot should stop. The full motion must be completed in a
maximum of “Y” seconds, moving at the same constant speed “X” inch per sec, except when
turning at the corners. Note that the robot may stop based on time or encoder readings. If the
motion cannot be completed for any given reason, the robot should display an appropriate
message. The TA will test for different values for “H”, “W”, “a”, “b”, “X” and “Y”.
Figure 4. Trapezoid shaped path to be followed by the robot.
C.4 Task 4 – Circles
Implement a controller called ‘Lab1_Task4.py’. The program should make the robot move
around the two circles of radius “R1” and “R2”, as shown in Figure 5. The robot should start at
(0, 0) moving counterclockwise around circle with radius “R1”. When reaching (0,0) again, it
should move clockwise without stopping around circle with radius “R2”. The robot should
navigate the full circumferences of the two circles in a maximum of “Y” seconds, moving at the
same constant speed “X” inch per sec. Note that the robot may stop based on time or encoder
readings. If the motion cannot be completed for any reason, the robot should display an
appropriate message. The TA will test for different values for “R1”, “R2”, “X” and “Y”.Full question attached in the file below

Place your order
(550 words)

Approximate price: $22

Calculate the price of your order

550 words
We'll send you the first draft for approval by September 11, 2018 at 10:52 AM
Total price:
$26
The price is based on these factors:
Academic level
Number of pages
Urgency
Basic features
  • Free title page and bibliography
  • Unlimited revisions
  • Plagiarism-free guarantee
  • Money-back guarantee
  • 24/7 support
On-demand options
  • Writer’s samples
  • Part-by-part delivery
  • Overnight delivery
  • Copies of used sources
  • Expert Proofreading
Paper format
  • 275 words per page
  • 12 pt Arial/Times New Roman
  • Double line spacing
  • Any citation style (APA, MLA, Chicago/Turabian, Harvard)

Our guarantees

Delivering a high-quality product at a reasonable price is not enough anymore.
That’s why we have developed 5 beneficial guarantees that will make your experience with our service enjoyable, easy, and safe.

Money-back guarantee

You have to be 100% sure of the quality of your product to give a money-back guarantee. This describes us perfectly. Make sure that this guarantee is totally transparent.

Read more

Zero-plagiarism guarantee

Each paper is composed from scratch, according to your instructions. It is then checked by our plagiarism-detection software. There is no gap where plagiarism could squeeze in.

Read more

Free-revision policy

Thanks to our free revisions, there is no way for you to be unsatisfied. We will work on your paper until you are completely happy with the result.

Read more

Privacy policy

Your email is safe, as we store it according to international data protection rules. Your bank details are secure, as we use only reliable payment systems.

Read more

Fair-cooperation guarantee

By sending us your money, you buy the service we provide. Check out our terms and conditions if you prefer business talks to be laid out in official language.

Read more