Created
October 2, 2017 01:56
-
-
Save glyphx/d6b50a5df453842dd21f506f1ecd25f1 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#define DllExport __declspec(dllexport) | |
// https://docs.microsoft.com/en-us/cpp/build/exporting-from-a-dll-using-declspec-dllexport | |
extern "C" | |
{ | |
DllExport int TestFunction(); | |
DllExport int InitRobot(); | |
DllExport int MoveArmHome(bool rightArm); | |
DllExport int MoveHand(bool rightArm, float x, float y, float z, float thetaX, float thetaY, float thetaZ); | |
DllExport int MoveHandNoThetaY(bool rightArm, float x, float y, float z, float thetaX, float thetaZ); | |
DllExport int MoveFingers(bool rightArm, bool pinky, bool ring, bool middle, bool index, bool thumb); | |
DllExport int StopArm(bool rightArm); | |
DllExport int CloseDevice(bool rightArm); | |
//shawn 10.1.17 | |
DllExport int MoveArmAngularVelocity(bool rightArm, float av1, float av2, float av3, float av4, float av5, float av6, float av7); | |
DllExport int MoveArmAngularPosition(bool rightArm, int ap1, int ap2, int ap3, int ap4, int ap5, int ap6, int ap7); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment