#include <jaco_arm.h>
Definition at line 40 of file jaco_arm.h.
jaco::JacoArm::JacoArm | ( | JacoComm & | arm, |
const ros::NodeHandle & | node_handle | ||
) |
Definition at line 19 of file jaco_arm.cpp.
Definition at line 62 of file jaco_arm.cpp.
void jaco::JacoArm::cartesianVelocityCallback | ( | const geometry_msgs::TwistStampedConstPtr & | cartesian_vel | ) |
Definition at line 126 of file jaco_arm.cpp.
void jaco::JacoArm::cartesianVelocityTimer | ( | const ros::TimerEvent & | ) | [private] |
Definition at line 148 of file jaco_arm.cpp.
bool jaco::JacoArm::homeArmServiceCallback | ( | jaco_msgs::HomeArm::Request & | req, |
jaco_msgs::HomeArm::Response & | res | ||
) |
Definition at line 67 of file jaco_arm.cpp.
void jaco::JacoArm::jointVelocityCallback | ( | const jaco_msgs::JointVelocityConstPtr & | joint_vel | ) |
Definition at line 76 of file jaco_arm.cpp.
void jaco::JacoArm::jointVelocityTimer | ( | const ros::TimerEvent & | ) | [private] |
Definition at line 168 of file jaco_arm.cpp.
void jaco::JacoArm::positionTimer | ( | const ros::TimerEvent & | ) | [private] |
void jaco::JacoArm::publishFingerPosition | ( | void | ) | [private] |
Publishes the current finger positions.
Definition at line 265 of file jaco_arm.cpp.
void jaco::JacoArm::publishJointAngles | ( | void | ) | [private] |
Publishes the current joint angles.
Joint angles are published in both their raw state as obtained from the arm (JointAngles), and transformed & converted to radians (joint_state) as per the Jaco Kinematics PDF.
JointState will eventually also publish the velocity and effort for each joint, when this data is made available by the C++ API. Currenty velocity and effort are reported as being zero (0.0) for all joints.
Definition at line 199 of file jaco_arm.cpp.
void jaco::JacoArm::publishToolPosition | ( | void | ) | [private] |
Publishes the current cartesian coordinates.
Definition at line 250 of file jaco_arm.cpp.
bool jaco::JacoArm::startServiceCallback | ( | jaco_msgs::Start::Request & | req, |
jaco_msgs::Start::Response & | res | ||
) |
Handler for "start" service.
Re-enables control of the arm after a stop.
Definition at line 117 of file jaco_arm.cpp.
void jaco::JacoArm::statusTimer | ( | const ros::TimerEvent & | ) | [private] |
Definition at line 273 of file jaco_arm.cpp.
bool jaco::JacoArm::stopServiceCallback | ( | jaco_msgs::Stop::Request & | req, |
jaco_msgs::Stop::Response & | res | ||
) |
Handler for "stop" service.
Instantly stops the arm and prevents further movement until start service is invoked.
Definition at line 103 of file jaco_arm.cpp.
double jaco::JacoArm::cartesian_vel_interval_seconds_ [private] |
Definition at line 90 of file jaco_arm.h.
double jaco::JacoArm::cartesian_vel_timeout_seconds_ [private] |
Definition at line 88 of file jaco_arm.h.
Definition at line 82 of file jaco_arm.h.
bool jaco::JacoArm::cartesian_vel_timer_flag_ [private] |
Definition at line 93 of file jaco_arm.h.
Definition at line 97 of file jaco_arm.h.
Definition at line 69 of file jaco_arm.h.
Definition at line 73 of file jaco_arm.h.
Definition at line 78 of file jaco_arm.h.
JacoComm& jaco::JacoArm::jaco_comm_ [private] |
Definition at line 65 of file jaco_arm.h.
Definition at line 71 of file jaco_arm.h.
Definition at line 74 of file jaco_arm.h.
double jaco::JacoArm::joint_vel_interval_seconds_ [private] |
Definition at line 89 of file jaco_arm.h.
double jaco::JacoArm::joint_vel_timeout_seconds_ [private] |
Definition at line 87 of file jaco_arm.h.
ros::Timer jaco::JacoArm::joint_vel_timer_ [private] |
Definition at line 83 of file jaco_arm.h.
bool jaco::JacoArm::joint_vel_timer_flag_ [private] |
Definition at line 94 of file jaco_arm.h.
AngularInfo jaco::JacoArm::joint_velocities_ [private] |
Definition at line 96 of file jaco_arm.h.
Definition at line 68 of file jaco_arm.h.
Definition at line 100 of file jaco_arm.h.
Definition at line 99 of file jaco_arm.h.
ros::NodeHandle jaco::JacoArm::node_handle_ [private] |
Definition at line 64 of file jaco_arm.h.
Definition at line 77 of file jaco_arm.h.
double jaco::JacoArm::status_interval_seconds_ [private] |
Definition at line 86 of file jaco_arm.h.
ros::Timer jaco::JacoArm::status_timer_ [private] |
Definition at line 81 of file jaco_arm.h.
Definition at line 76 of file jaco_arm.h.
Definition at line 63 of file jaco_arm.h.
Definition at line 72 of file jaco_arm.h.