#include <jaco_arm.h>
Definition at line 38 of file jaco_arm.h.
jaco::JacoArm::JacoArm | ( | JacoComm & | arm_comm, |
ros::NodeHandle & | nh | ||
) |
Definition at line 14 of file jaco_arm.cpp.
Definition at line 87 of file jaco_arm.cpp.
void jaco::JacoArm::BroadCastAngles | ( | void | ) |
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 227 of file jaco_arm.cpp.
void jaco::JacoArm::BroadCastFingerPosition | ( | void | ) |
Publishes the current finger positions.
Definition at line 285 of file jaco_arm.cpp.
void jaco::JacoArm::BroadCastPosition | ( | void | ) |
Publishes the current cartesian coordinates.
Definition at line 271 of file jaco_arm.cpp.
void jaco::JacoArm::CalculatePostion | ( | void | ) |
void jaco::JacoArm::CartesianVelocityMSG | ( | const geometry_msgs::TwistStampedConstPtr & | cartesian_vel | ) |
Definition at line 149 of file jaco_arm.cpp.
void jaco::JacoArm::CartesianVelTimer | ( | const ros::TimerEvent & | ) |
Definition at line 170 of file jaco_arm.cpp.
void jaco::JacoArm::GoHome | ( | void | ) |
Contains coordinates for an alternate "Home" position.
GoHome() function must be enabled in the initialization routine for this to work.
Definition at line 198 of file jaco_arm.cpp.
bool jaco::JacoArm::HomeArmSRV | ( | jaco_driver::HomeArm::Request & | req, |
jaco_driver::HomeArm::Response & | res | ||
) |
Definition at line 91 of file jaco_arm.cpp.
void jaco::JacoArm::JointVelTimer | ( | const ros::TimerEvent & | ) |
Definition at line 181 of file jaco_arm.cpp.
void jaco::JacoArm::PositionTimer | ( | const ros::TimerEvent & | ) |
bool jaco::JacoArm::StartSRV | ( | jaco_driver::Start::Request & | req, |
jaco_driver::Start::Response & | res | ||
) |
Handler for "start" service.
Re-enables control of the arm after a stop.
Definition at line 139 of file jaco_arm.cpp.
void jaco::JacoArm::StatusTimer | ( | const ros::TimerEvent & | ) |
Definition at line 298 of file jaco_arm.cpp.
bool jaco::JacoArm::StopSRV | ( | jaco_driver::Stop::Request & | req, |
jaco_driver::Stop::Response & | res | ||
) |
Handler for "stop" service.
Instantly stops the arm and prevents further movement until start service is invoked.
Definition at line 125 of file jaco_arm.cpp.
void jaco::JacoArm::VelocityMSG | ( | const jaco_driver::JointVelocityConstPtr & | joint_vel | ) |
Definition at line 99 of file jaco_arm.cpp.
JacoComm& jaco::JacoArm::arm [private] |
Definition at line 62 of file jaco_arm.h.
ros::Timer jaco::JacoArm::cartesian_vel_timer [private] |
Definition at line 81 of file jaco_arm.h.
bool jaco::JacoArm::cartesian_vel_timer_flag [private] |
Definition at line 83 of file jaco_arm.h.
Definition at line 87 of file jaco_arm.h.
Definition at line 66 of file jaco_arm.h.
Definition at line 72 of file jaco_arm.h.
Definition at line 78 of file jaco_arm.h.
ros::Timer jaco::JacoArm::joint_vel_timer [private] |
Definition at line 82 of file jaco_arm.h.
bool jaco::JacoArm::joint_vel_timer_flag [private] |
Definition at line 84 of file jaco_arm.h.
AngularInfo jaco::JacoArm::joint_velocities [private] |
Definition at line 86 of file jaco_arm.h.
ros::Publisher jaco::JacoArm::JointAngles_pub [private] |
Definition at line 70 of file jaco_arm.h.
ros::Publisher jaco::JacoArm::JointState_pub [private] |
Definition at line 73 of file jaco_arm.h.
Definition at line 65 of file jaco_arm.h.
Definition at line 90 of file jaco_arm.h.
ros::Time jaco::JacoArm::last_joint_update [private] |
Definition at line 89 of file jaco_arm.h.
ros::Time jaco::JacoArm::last_update_time [private] |
Definition at line 94 of file jaco_arm.h.
tf::TransformListener jaco::JacoArm::listener [private] |
Definition at line 92 of file jaco_arm.h.
uint8_t jaco::JacoArm::previous_state [private] |
Definition at line 96 of file jaco_arm.h.
Definition at line 67 of file jaco_arm.h.
Definition at line 77 of file jaco_arm.h.
ros::Timer jaco::JacoArm::status_timer [private] |
Definition at line 80 of file jaco_arm.h.
Definition at line 76 of file jaco_arm.h.
Definition at line 71 of file jaco_arm.h.
ros::Duration jaco::JacoArm::update_time [private] |
Definition at line 95 of file jaco_arm.h.