blob: 5809f9f340a58a552b82682195f3e97f2b6fe976 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
/*
* CoreXZKinematics.h
*
* Created on: 6 May 2017
* Author: David
*/
#ifndef SRC_MOVEMENT_KINEMATICS_COREXZKINEMATICS_H_
#define SRC_MOVEMENT_KINEMATICS_COREXZKINEMATICS_H_
#include "CoreBaseKinematics.h"
class CoreXZKinematics : public CoreBaseKinematics
{
public:
CoreXZKinematics();
// Overridden base class functions. See Kinematics.h for descriptions.
const char *GetName(bool forStatusReport) const override;
void MotorStepsToCartesian(const int32_t motorPos[], const float stepsPerMm[], size_t numVisibleAxes, size_t numTotalAxes, float machinePos[]) const override;
uint16_t AxesToHomeBeforeProbing() const override { return (1 << X_AXIS) | (1 << Y_AXIS) | (1 << Z_AXIS); }
protected:
float MotorFactor(size_t drive, const float directionVector[]) const override;
};
#endif /* SRC_MOVEMENT_KINEMATICS_COREXZKINEMATICS_H_ */
|