Allow enable/disable (tentative)
This commit is contained in:
@@ -24,6 +24,8 @@
|
||||
class pmacController;
|
||||
class SeleneController;
|
||||
|
||||
#define PMAC_EnableAxis "PMAC_ENABLE_AXIS"
|
||||
|
||||
class pmacAxis : public SINQAxis
|
||||
{
|
||||
public:
|
||||
@@ -36,8 +38,9 @@ class pmacAxis : public SINQAxis
|
||||
asynStatus stop(double acceleration);
|
||||
asynStatus poll(bool *moving);
|
||||
asynStatus setPosition(double position);
|
||||
|
||||
protected:
|
||||
asynStatus enable(int on);
|
||||
|
||||
protected:
|
||||
pmacController *pC_;
|
||||
|
||||
asynStatus getAxisStatus(bool *moving);
|
||||
@@ -139,6 +142,7 @@ class LiftAxis : public pmacAxis
|
||||
|
||||
class pmacV3Axis : public pmacAxis {
|
||||
public:
|
||||
|
||||
using pmacAxis::pmacAxis;
|
||||
friend class pmacController;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user