Created
October 1, 2017 22:16
-
-
Save glyphx/768ed6f01224f2fec0f868d6eddc3713 to your computer and use it in GitHub Desktop.
This file contains hidden or 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, int av1, int av2, int av3, int av4, int av5, int av6, int 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