make starting polar coordinates not const

This commit is contained in:
Sem van der Hoeven
2023-05-15 18:26:15 +02:00
parent 3412fe75c1
commit af85c1fc20

View File

@@ -105,8 +105,8 @@ private:
const float omega = 0.3; // angular speed of the POLAR trajectory
const float K = 2; // [m] gain that regulates the spiral pitch
const float rho_0 = 0;
const float theta_0 = 0;
float rho_0 = 0;
float theta_0 = 0;
const float p0_z = -0.0;
float p0_x = rho_0 * cos(theta_0);
float p0_y = rho_0 * sin(theta_0);