Question: For Project 2 , in rust you ll be given a file that needs to be parsed and actuated. The file consists of two types

For Project 2, in rust youll be given a file that needs to be parsed and actuated. The file consists of two types of commands: linear motion and rotational motion. For the linear motion commands, you must output the positions youre moving to in one-unit increments. For example, if youre moving from 0,0,0 to 0,5,1, the following positions should be reported (always to two decimal positions):
1.0,0.98,0.2
2.0,1.96,0.39
3.0,2.94,0.59
4.0,3.92,0.78
5.0,4.90,0.98
6.0,5,1
In the case on rotational motion, Youll be given a position of a circle, its radius, and a direction (clockwise or counterclockwise), and a stop location. From this, youll need to output position at 5-degree intervals, visualized below:
Application Fineatures
The features must be enabled in your application:
File reading
Text parsing
Linear motion calculations
Rotational motion calculationsIn the case on rotational motion, You'll be given a position of a circle, its radius, and a direction
(clockwise or counterclockwise), and a stop location. From this, you'll need to output position at 5-
degree intervals, visualized below:
Application Features
The features must be enabled in your application:
File reading
Text parsing
Linear motion calculations
Rotational motion calculations
 For Project 2, in rust youll be given a file that

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!