Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

executable file 25 lines (19 sloc) 0.638 kb
#pragma once
#include "ofxIndustrialRobotCoreData.h"
#include "ofxXmlSettings.h"
class ofxIndustrialRobotMotorConverter {
public:
ofxIndustrialRobotCoreData * armdata;
ofxIndustrialRobotMotorConverter();
float multFactor[5], addFactor[5];
float lengtha[5], lengthb[5], angleAdd[5];
ofxXmlSettings *XML;
void loadXml();
float convertRotation(int n);
float convertRotation(int n, float val);
float convertRotation(int n, float val, float values[5]);
float convertO(int n, float val);
float convertO(int n, float val, float values[5]);
float getMinRotation(int n, float v[5]);
float getMaxRotation(int n, float v[5]);
};
Jump to Line
Something went wrong with that request. Please try again.