typo
This commit is contained in:
@@ -338,7 +338,7 @@ private:
|
|||||||
// from polar to cartesian coordinates
|
// from polar to cartesian coordinates
|
||||||
des_x = rho * cos(theta);
|
des_x = rho * cos(theta);
|
||||||
des_y = rho * sin(theta);
|
des_y = rho * sin(theta);
|
||||||
des_z = position[3]; // the z position can be set to the received height
|
des_z = position[2]; // the z position can be set to the received height
|
||||||
|
|
||||||
// velocity computation
|
// velocity computation
|
||||||
float dot_rho = K * omega;
|
float dot_rho = K * omega;
|
||||||
|
|||||||
Reference in New Issue
Block a user