Misc Relacs Plugins
0.9.8
|
#include <mirob.h>
Public Member Functions | |
Mirob (const string &device) | |
Mirob (void) | |
~Mirob (void) | |
virtual int | open (const string &device) override |
virtual bool | isOpen (void) const |
virtual void | close (void) |
virtual int | reset (void) |
virtual int | stepX (double x) |
virtual int | stepY (double y) |
virtual int | stepZ (double z) |
virtual double | posX (void) const |
virtual double | posY (void) const |
virtual double | posZ (void) const |
virtual int | clear (int axis) |
virtual int | clearX (void) |
virtual int | clearY (void) |
virtual int | clearZ (void) |
virtual int | clear (void) |
virtual int | homeX (void) |
virtual int | homeY (void) |
virtual int | homeZ (void) |
virtual int | home (void) |
virtual int | setAmplX (double posampl, double negampl=-1.0) |
virtual int | setAmplY (double posampl, double negampl=-1.0) |
virtual int | setAmplZ (double posampl, double negampl=-1.0) |
virtual double | minAmplX (void) const |
virtual double | maxAmplX (void) const |
int | setV (double vx, double vy, double vz) |
int | getV (double &vx, double &vy, double &vz) |
int | setV (double v, int ax) |
int | setVX (double v) |
int | setVY (double v) |
int | setVZ (double v) |
int | absPos (double x, double y, double z, double speed) |
int | step (double dx, double dy, double dz, double v, bool wait) |
int | clampTool (void) |
int | releaseTool (void) |
int | startRecording (void) |
int | recordStep (void) |
int | stopRecording (void) |
int | executeRecordedTrajectory (double speed, bool forward, bool wait) |
int | gotoNegLimitsAndSetHome (void) |
int | recordPosition (void) |
int | clearPositions (void) |
int | makePositionsForbiddenZone (void) |
int | restartWatchdog (void) |
void | setGUICallback (GUICallback *gcb) |
int | stop (void) |
Public Member Functions inherited from Manipulator | |
Manipulator (void) | |
Manipulator (const string &deviceclass) | |
virtual | ~Manipulator (void) |
virtual double | minAmplY (void) const |
virtual double | maxAmplY (void) const |
virtual double | minAmplZ (void) const |
virtual double | maxAmplZ (void) const |
[Manipulator] The Mirob module linear robot from MPH
Mirob | ( | const string & | device | ) |
References Mirob::open().
Mirob | ( | void | ) |
~Mirob | ( | void | ) |
References Mirob::close().
|
overridevirtual |
References watchdog_data::active, watchdog_data::Baudrate, watchdog_data::ChannelType, watchdog_data::Device, watchdog_data::forbiddenZones, watchdog_data::gcb, watchdog_data::HostID, watchdog_data::setNegLimitAsHome, watchdog_data::SetupFile, watchdog_data::sleeptime, and misc::watchdog().
Referenced by Mirob::Mirob().
|
inlinevirtual |
|
virtual |
References misc::watchdog().
Referenced by Mirob::~Mirob().
|
virtual |
|
virtual |
Move x-axis by x. Depending on the implementation x can be raw steps or a specific distance or angle.
Reimplemented from Manipulator.
References Mirob::step().
Referenced by Mirob::homeX().
|
virtual |
Move y-axis by y. Depending on the implementation y can be raw steps or a specific distance or angle.
Reimplemented from Manipulator.
References Mirob::step().
Referenced by Mirob::homeY().
|
virtual |
Move z-axis by z. Depending on the implementation z can be raw steps or a specific distance or angle.
Reimplemented from Manipulator.
References Mirob::step().
Referenced by Mirob::homeZ().
|
virtual |
Return the position of the x-axis. Depending on the implementation this can be raw steps or a specific distance or angle.
Reimplemented from Manipulator.
Referenced by Mirob::absPos(), Mirob::homeX(), Mirob::recordPosition(), Mirob::recordStep(), and Mirob::startRecording().
|
virtual |
Return the position of the y-axis. Depending on the implementation this can be raw steps or a specific distance or angle.
Reimplemented from Manipulator.
Referenced by Mirob::absPos(), Mirob::homeY(), Mirob::recordPosition(), Mirob::recordStep(), and Mirob::startRecording().
|
virtual |
Return the position of the z-axis. Depending on the implementation this can be raw steps or a specific distance or angle.
Reimplemented from Manipulator.
Referenced by Mirob::absPos(), Mirob::homeZ(), Mirob::recordPosition(), Mirob::recordStep(), and Mirob::startRecording().
|
virtual |
Defines the current position of the axis as its home position.
|
virtual |
Defines the current position of the x axis as the home position.
Reimplemented from Manipulator.
References Mirob::clear().
Referenced by Mirob::clear().
|
virtual |
Defines the current position of the y axis as the home position.
Reimplemented from Manipulator.
References Mirob::clear().
Referenced by Mirob::clear().
|
virtual |
Defines the current position of the z axis as the home position.
Reimplemented from Manipulator.
References Mirob::clear().
Referenced by Mirob::clear().
|
virtual |
Defines the current position of all axis as the home position.
Reimplemented from Manipulator.
References Mirob::clearX(), Mirob::clearY(), and Mirob::clearZ().
Referenced by Mirob::clearX(), Mirob::clearY(), and Mirob::clearZ().
|
virtual |
Move x axis back to its home position.
Reimplemented from Manipulator.
References Mirob::posX(), and Mirob::stepX().
Referenced by Mirob::home().
|
virtual |
Move y axis back to its home position.
Reimplemented from Manipulator.
References Mirob::posY(), and Mirob::stepY().
Referenced by Mirob::home().
|
virtual |
Move z axis back to its home position.
Reimplemented from Manipulator.
References Mirob::posZ(), and Mirob::stepZ().
Referenced by Mirob::home().
|
virtual |
Move back to the home position.
Reimplemented from Manipulator.
References Mirob::homeX(), Mirob::homeY(), and Mirob::homeZ().
|
virtual |
Set the amplitude of a step of the x-axis to posampl. If negampl >= 0.0 set the negative amplitude to negampl, otherwise set it equal to posampl.
Reimplemented from Manipulator.
|
virtual |
Set the amplitude of a step of the y-axis to posampl. If negampl >= 0.0 set the negative amplitude to negampl, otherwise set it equal to posampl.
Reimplemented from Manipulator.
|
virtual |
Set the amplitude of a step of the z-axis to posampl. If negampl >= 0.0 set the negative amplitude to negampl, otherwise set it equal to posampl.
Reimplemented from Manipulator.
|
virtual |
The minimum possible amplitude for the x-axis.
Reimplemented from Manipulator.
|
virtual |
The maximum possible amplitude for the x-axis.
Reimplemented from Manipulator.
int setV | ( | double | vx, |
double | vy, | ||
double | vz | ||
) |
References Mirob::setVX(), Mirob::setVY(), Mirob::setVZ(), and sqrt().
Referenced by Mirob::setVX(), Mirob::setVY(), and Mirob::setVZ().
int getV | ( | double & | vx, |
double & | vy, | ||
double & | vz | ||
) |
int setV | ( | double | v, |
int | ax | ||
) |
int setVX | ( | double | v | ) |
References Mirob::setV().
Referenced by Mirob::setV().
int setVY | ( | double | v | ) |
References Mirob::setV().
Referenced by Mirob::setV().
int setVZ | ( | double | v | ) |
References Mirob::setV().
Referenced by Mirob::setV().
int absPos | ( | double | x, |
double | y, | ||
double | z, | ||
double | speed | ||
) |
References abs(), Mirob::posX(), Mirob::posY(), Mirob::posZ(), and sqrt().
int step | ( | double | dx, |
double | dy, | ||
double | dz, | ||
double | v, | ||
bool | wait | ||
) |
References abs(), NO_ADDITIVE, and sqrt().
Referenced by Mirob::executeRecordedTrajectory(), Mirob::stepX(), Mirob::stepY(), and Mirob::stepZ().
int clampTool | ( | void | ) |
int releaseTool | ( | void | ) |
int startRecording | ( | void | ) |
References Mirob::posX(), Mirob::posY(), and Mirob::posZ().
int recordStep | ( | void | ) |
References Mirob::posX(), Mirob::posY(), Mirob::posZ(), Point3D::x, Point3D::y, and Point3D::z.
int stopRecording | ( | void | ) |
int executeRecordedTrajectory | ( | double | speed, |
bool | forward, | ||
bool | wait | ||
) |
References Mirob::step(), and Mirob::stop().
int gotoNegLimitsAndSetHome | ( | void | ) |
References watchdog_data::setNegLimitAsHome.
int recordPosition | ( | void | ) |
References Mirob::posX(), Mirob::posY(), and Mirob::posZ().
int clearPositions | ( | void | ) |
Referenced by Mirob::makePositionsForbiddenZone().
int makePositionsForbiddenZone | ( | void | ) |
References Zones::addZone(), and Mirob::clearPositions().
int restartWatchdog | ( | void | ) |
References misc::watchdog().
void setGUICallback | ( | GUICallback * | gcb | ) |
References watchdog_data::gcb.
int stop | ( | void | ) |
Referenced by Mirob::executeRecordedTrajectory().