 # Delta x and y tower angles seem wrong in LinearDeltaSolution.cpp

(nmilner_SW) #1

I am sure code is correct and it’s me not understanding correctly but it seems wrong that the angle to the front left tower (X) would be 330 degrees and the angle to the front right tower (Y) would be 210 degrees? Tower 3 (Z) is 90 degrees which would then logically suggest front right is 210 and front left 330. Does anyone know why tower 1 and 2 are set with these particular angles?

+ show block
``````delta_tower1_x = (delta_radius + tower1_offset) * cosf((210.0F + tower1_angle) * PIOVER180); // front left tower
delta_tower1_y = (delta_radius + tower1_offset) * sinf((210.0F + tower1_angle) * PIOVER180);
delta_tower2_x = (delta_radius + tower2_offset) * cosf((330.0F + tower2_angle) * PIOVER180); // front right tower
delta_tower2_y = (delta_radius + tower2_offset) * sinf((330.0F + tower2_angle) * PIOVER180);
delta_tower3_x = (delta_radius + tower3_offset) * cosf((90.0F  + tower3_angle) * PIOVER180); // back middle tower
delta_tower3_y = (delta_radius + tower3_offset) * sinf((90.0F  + tower3_angle) * PIOVER180);```
```

Imported from wikidot