![]() |
Hekateros
3.4.3
RoadNarrows Robotics Robot Arm Project
|
HekRobot - Hekateros Robot Class implementation. More...
#include <stdio.h>#include <unistd.h>#include <pthread.h>#include <math.h>#include <string>#include <vector>#include <map>#include "rnr/rnrconfig.h"#include "rnr/units.h"#include "rnr/log.h"#include "rnr/i2c.h"#include "Dynamixel/Dynamixel.h"#include "Dynamixel/DynaComm.h"#include "Dynamixel/DynaServo.h"#include "Dynamixel/DynaChain.h"#include "Dynamixel/DynaBgThread.h"#include "Dynamixel/DynaError.h"#include "Hekateros/hekateros.h"#include "Hekateros/hekTune.h"#include "Hekateros/hekUtils.h"#include "Hekateros/hekOptical.h"#include "Hekateros/hekMonitor.h"#include "Hekateros/hekSpec.h"#include "Hekateros/hekDesc.h"#include "Hekateros/hekXmlTune.h"#include "Hekateros/hekJoint.h"#include "Hekateros/hekTraj.h"#include "Hekateros/hekKin.h"#include "Hekateros/hekState.h"#include "Hekateros/hekRobot.h"Go to the source code of this file.
Macros | |
| #define | HEK_TRY_NO_EXEC() |
| Define if heketeros has RN system board. More... | |
| #define | HEK_TRY_GET_SERVO(nServoId, pServo) |
| Convenience macro for trying to get a servo object from dynamixel chain. More... | |
| #define | HEK_TRY_CONN() |
| Test for connection. More... | |
| #define | HEK_TRY_CALIB() |
| Test for calibration. More... | |
| #define | HEK_TRY_NOT_ESTOP() |
| Test for not estop. More... | |
HekRobot - Hekateros Robot Class implementation.
Definition in file hekRobot.cxx.
| #define HEK_TRY_CALIB | ( | ) |
Test for calibration.
Only works in HekRobot methods.
Definition at line 161 of file hekRobot.cxx.
Referenced by hekateros::HekRobot::closeGripper(), hekateros::HekRobot::gotoBalancedPos(), hekateros::HekRobot::gotoParkedPos(), hekateros::HekRobot::gotoZeroPtPos(), hekateros::HekRobot::moveArm(), and hekateros::HekRobot::openGripper().
| #define HEK_TRY_CONN | ( | ) |
Test for connection.
Only works in HekRobot methods.
Definition at line 143 of file hekRobot.cxx.
Referenced by hekateros::HekRobot::calibrate(), hekateros::HekRobot::clearAlarms(), hekateros::HekRobot::closeGripper(), hekateros::HekRobot::estop(), hekateros::HekRobot::freeze(), hekateros::HekRobot::getJointState(), hekateros::HekRobot::gotoBalancedPos(), hekateros::HekRobot::gotoParkedPos(), hekateros::HekRobot::gotoZeroPtPos(), hekateros::HekRobot::moveArm(), hekateros::HekRobot::openGripper(), hekateros::HekRobot::release(), and hekateros::HekRobot::stop().
| #define HEK_TRY_GET_SERVO | ( | nServoId, | |
| pServo | |||
| ) |
Convenience macro for trying to get a servo object from dynamixel chain.
Failure is considered a software bug since the chain has already be verified.
Only works in HekRobot methods.
| [in] | nServoId | Servo id. |
| [out] | pServo | Pointer to associated servo object. |
Definition at line 124 of file hekRobot.cxx.
Referenced by hekateros::HekRobot::configEEPROMForServo(), hekateros::HekRobot::configRAMForServo(), and hekateros::HekRobot::getJointState().
| #define HEK_TRY_NO_EXEC | ( | ) |
Define if heketeros has RN system board.
Test for no execute flag.
Only works in HekRobot methods.
Definition at line 100 of file hekRobot.cxx.
Referenced by hekateros::HekRobot::calibrate(), hekateros::HekRobot::estop(), hekateros::HekRobot::freeze(), hekateros::HekRobot::release(), and hekateros::HekRobot::stop().
| #define HEK_TRY_NOT_ESTOP | ( | ) |
Test for not estop.
Only works in HekRobot methods.
Definition at line 179 of file hekRobot.cxx.
Referenced by hekateros::HekRobot::closeGripper(), hekateros::HekRobot::gotoBalancedPos(), hekateros::HekRobot::gotoParkedPos(), hekateros::HekRobot::gotoZeroPtPos(), hekateros::HekRobot::moveArm(), hekateros::HekRobot::openGripper(), and hekateros::HekRobot::stop().