mirror of
https://github.com/Binary-Coalescence/motorDSM.git
synced 2025-08-04 21:55:40 -05:00
Removed setPosition method as not supported by md90.
This commit is contained in:
@@ -232,16 +232,6 @@ asynStatus MD90Axis::stop(double acceleration )
|
|||||||
return status;
|
return status;
|
||||||
}
|
}
|
||||||
|
|
||||||
asynStatus MD90Axis::setPosition(double position)
|
|
||||||
{
|
|
||||||
asynStatus status;
|
|
||||||
//static const char *functionName = "MD90Axis::setPosition";
|
|
||||||
|
|
||||||
sprintf(pC_->outString_, "#%02dP=%+d", axisNo_, NINT(position));
|
|
||||||
status = pC_->writeReadController();
|
|
||||||
return status;
|
|
||||||
}
|
|
||||||
|
|
||||||
asynStatus MD90Axis::setClosedLoop(bool closedLoop)
|
asynStatus MD90Axis::setClosedLoop(bool closedLoop)
|
||||||
{
|
{
|
||||||
asynStatus status;
|
asynStatus status;
|
||||||
|
@@ -26,7 +26,6 @@ public:
|
|||||||
asynStatus home(double min_velocity, double max_velocity, double acceleration, int forwards);
|
asynStatus home(double min_velocity, double max_velocity, double acceleration, int forwards);
|
||||||
asynStatus stop(double acceleration);
|
asynStatus stop(double acceleration);
|
||||||
asynStatus poll(bool *moving);
|
asynStatus poll(bool *moving);
|
||||||
asynStatus setPosition(double position);
|
|
||||||
asynStatus setClosedLoop(bool closedLoop);
|
asynStatus setClosedLoop(bool closedLoop);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
Reference in New Issue
Block a user