
please wait
|
|
double CurrentPosition[3] = [theta1, theta2, theta3];
acn.cpp:10:30: error: ‘theta1’ was not declared in this scope acn.cpp:10:38: error: ‘theta2’ was not declared in this scope acn.cpp:10:46: error: ‘theta3’ was not declared in this scope |
acn.cpp:10:52: error: type ‘<lambda>’ with no linkage used to declare function ‘void<lambda>::operator()() const’ with linkage [-fpermissive] acn.cpp:10:53: error: expected ‘{’ before ‘;’ token acn.cpp:10:53: error: expected ‘{’ before ‘;’ token |
double CurrentPosition[3] = [theta1, theta2, theta3];
double CurrentPosition[3] = {theta1, theta2, theta3};
acn.cpp:13:32: error: array must be initialized with a brace-enclosed initializer |
double P[3] = CurrentPosition[3], BMNewThetas[3];
BMlastD = Distance(CurrentPosition[3], Destination[3]); // testing
acn.cpp: In function ‘int main()’: acn.cpp:17:1: error: ‘BMlastD’ was not declared in this scope acn.cpp:17:40: error: ‘Destination’ was not declared in this scope acn.cpp:17:54: error: ‘Distance’ was not declared in this scope |
BMNewThetas[3] = BM(P[3]); // testing
acn.cpp:25:55: error: ‘forwardkinematics’ was not declared in this scope |
|
|
|
|