Skip to content

Commit 9eba2e7

Browse files
committed
sugar function for getting XYZ
1 parent 839a2ad commit 9eba2e7

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

uarm_library.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,7 @@ class uArmClass
102102
double getCalX() {calXYZ(); return g_cal_x;}
103103
double getCalY() {calXYZ(); return g_cal_y;}
104104
double getCalZ() {calXYZ(); return g_cal_z;}
105+
void getCalXYZ(double& x, double& y, double &z) {calXYZ(); x = g_cal_x; y = g_cal_y; z = g_cal_z;}
105106

106107
void calAngles(double x, double y, double z);
107108

0 commit comments

Comments
 (0)