Robot manipulator modeling in Matlab-SimMechanics with PD control and online gravity compensation | IEEE Conference Publication | IEEE Xplore