Print Welcome Message User Telling Application Read Set Points File Named Pointstxt Points Q37070082

Print a “welcome” message to the user telling them what theapplication does
Read in the set of points from a file named points.txt (points .txtis pasted below)
Calculate and save a velocity vector and a duration for moving fromeach point to the next point
Write the velocity vectors and durations to an output file namedmoveinfo.txt
Print out the total duration of all the moves required

Additional details

The welding attachment on the robot moves at exactly 1 foot persecond.

An example line from the input file:

2.267537,3.647459,-2.233978

The 3 values are the x, y, and z coordinates (in feet) of thepoint.

An example line from the required output file is:

0.4684,0.7534,-0.4615,4.8411

The

OR
OR

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.