How do you detect the parameters of your creation

I'm creating some rockets and I need to know the altitude/velocity/position of my creation. I found a speedometer mod in steam workshop, so the velocity is pretty clear, but so far I have no idea on reading out the altitude and X/Y/Z position of the machine. Can someone enlighten me on this?