Question: I'm having trouble with this problem in C++ Robotic Arm The file arm_position.csv is a comma separated file of the format time, X, Y where
I'm having trouble with this problem in C++
Robotic Arm
The file arm_position.csv is a comma separated file of the format time, X, Y where time is the time in seconds and X and Y are the coordinates of the end-effector. Your program should read in the arm_position.csv file and create a file titled arm_angle.csv that has two comma separated values: time and the angle from horizontal in radians to six decimal places.
The values in the arm position file are as follows:
| Time | X | Y |
| 0 | -0.95486 | 0.297061 |
| 0.5 | -0.98134 | -0.19227 |
| 1 | 0.900335 | 0.435197 |
| 1.5 | 0.176381 | 0.984322 |
| 2 | -0.65839 | 0.752679 |
| 2.5 | -0.3218 | 0.946807 |
| 3 | -0.77673 | -0.62984 |
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
