|
| GazeboYarpFakeControlBoardDriver () |
|
virtual | ~GazeboYarpFakeControlBoardDriver () |
|
void | onUpdate (const gazebo::common::UpdateInfo &) |
| Callback for the WorldUpdateBegin Gazebo event.
|
|
bool | getZero (int j, double *val) |
| Helper methods.
|
|
bool | getZero (double *vals) |
|
bool | getZero (const int n_joint, const int *joints, double *refs) |
|
bool | getTrue (int j, bool *flag) |
|
bool | getTrue (bool *flags) |
|
bool | getTrueIfArgumentIsZero (const int n_joint) |
|
virtual bool | getAxisName (int axis, std::string &name) |
| Yarp interfaces start here.
|
|
virtual bool | getJointType (int axis, yarp::dev::JointTypeEnum &type) |
|
virtual bool | open (yarp::os::Searchable &config) |
|
virtual bool | close () |
|
virtual bool | getEncoder (int j, double *v) override |
|
virtual bool | getEncoders (double *encs) override |
|
virtual bool | resetEncoder (int j) override |
| Since we don't know how to reset gazebo encoders, we will simply add the actual value to the future encoders readings.
|
|
virtual bool | resetEncoders () override |
|
virtual bool | setEncoder (int j, double val) override |
|
virtual bool | setEncoders (const double *vals) override |
|
virtual bool | getEncoderSpeed (int j, double *sp) override |
|
virtual bool | getEncoderSpeeds (double *spds) override |
|
virtual bool | getEncoderAcceleration (int j, double *spds) override |
|
virtual bool | getEncoderAccelerations (double *accs) override |
|
virtual bool | getEncodersTimed (double *encs, double *time) override |
|
virtual bool | getEncoderTimed (int j, double *encs, double *time) override |
| Read the instantaneous acceleration of the specified axis.
|
|
virtual bool | stop (int j) override |
|
virtual bool | stop () override |
|
virtual bool | positionMove (int j, double ref) override |
|
virtual bool | getAxes (int *ax) override |
|
virtual bool | positionMove (const double *refs) override |
|
virtual bool | setRefSpeed (int j, double sp) override |
|
virtual bool | getRefSpeed (int j, double *ref) override |
|
virtual bool | getRefSpeeds (double *spds) override |
|
virtual bool | relativeMove (int j, double delta) override |
|
virtual bool | relativeMove (const double *deltas) override |
|
virtual bool | checkMotionDone (int j, bool *flag) override |
|
virtual bool | checkMotionDone (bool *flag) override |
|
virtual bool | positionMove (const int n_joint, const int *joints, const double *refs) override |
|
virtual bool | relativeMove (const int n_joint, const int *joints, const double *deltas) override |
|
virtual bool | checkMotionDone (const int n_joint, const int *joints, bool *flags) override |
|
virtual bool | setRefSpeeds (const int n_joint, const int *joints, const double *spds) override |
|
virtual bool | setRefAccelerations (const int n_joint, const int *joints, const double *accs) override |
|
virtual bool | getRefSpeeds (const int n_joint, const int *joints, double *spds) override |
|
virtual bool | getRefAccelerations (const int n_joint, const int *joints, double *accs) override |
|
virtual bool | stop (const int n_joint, const int *joints) override |
|
virtual bool | getTargetPosition (const int joint, double *ref) override |
|
virtual bool | getTargetPositions (double *refs) override |
|
virtual bool | getTargetPositions (const int n_joint, const int *joints, double *refs) override |
|
virtual bool | setRefSpeeds (const double *spds) override |
|
virtual bool | setRefAcceleration (int j, double acc) override |
|
virtual bool | setRefAccelerations (const double *accs) override |
|
virtual bool | getRefAcceleration (int j, double *acc) override |
|
virtual bool | getRefAccelerations (double *accs) override |
|
virtual bool | velocityMove (int j, double sp) override |
|
virtual bool | velocityMove (const double *sp) override |
|
virtual bool | velocityMove (const int n_joint, const int *joints, const double *spds) override |
|
virtual bool | getRefVelocity (const int joint, double *vel) override |
|
virtual bool | getRefVelocities (double *vels) override |
|
virtual bool | getRefVelocities (const int n_joint, const int *joints, double *vels) override |
|
virtual bool | getControlMode (int j, int *mode) override |
|
virtual bool | getControlModes (int *modes) override |
|
virtual bool | getControlModes (const int n_joint, const int *joints, int *modes) override |
|
virtual bool | setControlMode (const int j, const int mode) override |
|
virtual bool | setControlModes (const int n_joint, const int *joints, int *modes) override |
|
virtual bool | setControlModes (int *modes) override |
|
bool | changeControlMode (const int j, const int mode) |
|
bool | changeInteractionMode (int j, yarp::dev::InteractionModeEnum mode) |
|
virtual bool | setRefTorque (int j, double t) override |
|
virtual bool | setRefTorques (const double *t) override |
|
virtual bool | getRefTorque (int j, double *t) override |
|
virtual bool | getRefTorques (double *t) override |
|
virtual bool | getTorque (int j, double *t) override |
|
virtual bool | getTorques (double *t) override |
|
virtual bool | getTorqueRange (int j, double *min, double *max) override |
|
virtual bool | getTorqueRanges (double *min, double *max) override |
|
virtual bool | getImpedance (int j, double *stiffness, double *damping) override |
|
virtual bool | setImpedance (int j, double stiffness, double damping) override |
|
virtual bool | setImpedanceOffset (int j, double offset) override |
|
virtual bool | getImpedanceOffset (int j, double *offset) override |
|
virtual bool | getCurrentImpedanceLimit (int j, double *min_stiff, double *max_stiff, double *min_damp, double *max_damp) override |
|
virtual bool | getNumberOfMotors (int *ax) override |
|
virtual bool | setRefDutyCycle (int j, double v) override |
|
virtual bool | setRefDutyCycles (const double *v) override |
|
virtual bool | getRefDutyCycle (int j, double *v) override |
|
virtual bool | getRefDutyCycles (double *v) override |
|
virtual bool | getDutyCycle (int j, double *v) override |
|
virtual bool | getDutyCycles (double *v) override |
|
virtual bool | getCurrentRange (int j, double *min, double *max) override |
|
virtual bool | getCurrentRanges (double *min, double *max) override |
|
virtual bool | setRefCurrents (const double *t) override |
|
virtual bool | setRefCurrent (int j, double t) override |
|
virtual bool | setRefCurrents (const int n_joint, const int *joints, const double *t) override |
|
virtual bool | getRefCurrents (double *t) override |
|
virtual bool | getRefCurrent (int j, double *t) override |
|
virtual bool | setPid (const PidControlTypeEnum &pidtype, int j, const Pid &pid) override |
|
virtual bool | setPids (const PidControlTypeEnum &pidtype, const Pid *pids) override |
|
virtual bool | setPidReference (const PidControlTypeEnum &pidtype, int j, double ref) override |
|
virtual bool | setPidReferences (const PidControlTypeEnum &pidtype, const double *refs) override |
|
virtual bool | setPidErrorLimit (const PidControlTypeEnum &pidtype, int j, double limit) override |
|
virtual bool | setPidErrorLimits (const PidControlTypeEnum &pidtype, const double *limits) override |
|
virtual bool | getPidError (const PidControlTypeEnum &pidtype, int j, double *err) override |
|
virtual bool | getPidErrors (const PidControlTypeEnum &pidtype, double *errs) override |
|
virtual bool | getPid (const PidControlTypeEnum &pidtype, int j, Pid *pid) override |
|
virtual bool | getPids (const PidControlTypeEnum &pidtype, Pid *pids) override |
|
virtual bool | getPidReference (const PidControlTypeEnum &pidtype, int j, double *ref) override |
|
virtual bool | getPidReferences (const PidControlTypeEnum &pidtype, double *refs) override |
|
virtual bool | getPidErrorLimit (const PidControlTypeEnum &pidtype, int j, double *limit) override |
|
virtual bool | getPidErrorLimits (const PidControlTypeEnum &pidtype, double *limits) override |
|
virtual bool | resetPid (const PidControlTypeEnum &pidtype, int j) override |
|
virtual bool | disablePid (const PidControlTypeEnum &pidtype, int j) override |
|
virtual bool | enablePid (const PidControlTypeEnum &pidtype, int j) override |
|
virtual bool | setPidOffset (const PidControlTypeEnum &pidtype, int j, double v) override |
|
virtual bool | getPidOutput (const PidControlTypeEnum &pidtype, int j, double *out) override |
|
virtual bool | getPidOutputs (const PidControlTypeEnum &pidtype, double *outs) override |
|
virtual bool | isPidEnabled (const PidControlTypeEnum &pidtype, int j, bool *enabled) override |
|
virtual bool | enableAmp (int j) override |
|
virtual bool | disableAmp (int j) override |
|
virtual bool | getCurrent (int j, double *val) override |
|
virtual bool | getCurrents (double *vals) override |
|
virtual bool | setMaxCurrent (int j, double v) override |
|
virtual bool | getMaxCurrent (int j, double *v) override |
|
virtual bool | getAmpStatus (int *st) override |
|
virtual bool | getAmpStatus (int k, int *v) override |
|
virtual bool | calibrateAxisWithParams (int j, unsigned int iv, double v1, double v2, double v3) override |
|
virtual bool | calibrationDone (int j) override |
|
virtual bool | getRemoteVariable (std::string key, yarp::os::Bottle &val) override |
|
virtual bool | setRemoteVariable (std::string key, const yarp::os::Bottle &val) override |
|
virtual bool | getRemoteVariablesList (yarp::os::Bottle *listOfKeys) override |
|
virtual bool | getLimits (int axis, double *min, double *max) override |
|
virtual bool | setLimits (int axis, double min, double max) override |
|
virtual bool | getVelLimits (int axis, double *min, double *max) override |
|
virtual bool | setVelLimits (int axis, double min, double max) override |
|
virtual bool | setPosition (int j, double ref) override |
|
virtual bool | setPositions (const int n_joint, const int *joints, const double *refs) override |
|
virtual bool | setPositions (const double *refs) override |
|
virtual bool | getInteractionMode (int axis, yarp::dev::InteractionModeEnum *mode) override |
|
virtual bool | getInteractionModes (int n_joints, int *joints, yarp::dev::InteractionModeEnum *modes) override |
|
virtual bool | getInteractionModes (yarp::dev::InteractionModeEnum *modes) override |
|
virtual bool | setInteractionMode (int axis, yarp::dev::InteractionModeEnum mode) override |
|
virtual bool | setInteractionModes (int n_joints, int *joints, yarp::dev::InteractionModeEnum *modes) override |
|
virtual bool | setInteractionModes (yarp::dev::InteractionModeEnum *modes) override |
|