Welcome! Log In Create A New Profile

Advanced

Code Interpretation

Posted by Joe112 
Code Interpretation
October 31, 2016 04:03PM
Hello All,

I need to know what tower 3's, x and y are doing, but I need to understand where the values of the x and y are coming from. I believe this is z motor and that is why it is different but I am not understanding where the numbers are coming from? (please see below)

// Effective X/Y positions of the three vertical towers.
#define SIN_60 0.8660254037844386
#define COS_60 0.5
#define DELTA_TOWER1_X -SIN_60*DELTA_RADIUS // front left tower
#define DELTA_TOWER1_Y -COS_60*DELTA_RADIUS
#define DELTA_TOWER2_X SIN_60*DELTA_RADIUS // front right tower
#define DELTA_TOWER2_Y -COS_60*DELTA_RADIUS
#define DELTA_TOWER3_X 0.5 // back middle tower
#define DELTA_TOWER3_Y DELTA_RADIUS




Thanks!
Sorry, only registered users may post in this forum.

Click here to login