variables for check the actual position

if the actual position is the right one I will draw the joints with
Green, if not the color will be Red