Defines | Functions | Variables
allegroNode_sleep.cpp File Reference
#include <iostream>
#include <boost/thread/thread.hpp>
#include <boost/date_time.hpp>
#include <boost/thread/locks.hpp>
#include "ros/ros.h"
#include "ros/service.h"
#include "ros/service_server.h"
#include "sensor_msgs/JointState.h"
#include "BHand/BHand.h"
#include "controlAllegroHand.h"
Include dependency graph for allegroNode_sleep.cpp:

Go to the source code of this file.

Defines

#define JOINT_CMD_TOPIC   "/allegro/joint_cmd"
#define JOINT_STATE_TOPIC   "/allegro/joint_state"

Functions

int main (int argc, char **argv)
void SetjointCallback (const sensor_msgs::JointState &msg)

Variables

double curr_position [DOF_JOINTS]
double curr_torque [DOF_JOINTS]
double desire_position [DOF_JOINTS]
double desire_torque [DOF_JOINTS]
eMotionType gMotionType = eMotionType_NONE
ros::Subscriber joint_cmd_sub
ros::Publisher joint_state_pub
sensor_msgs::JointState msgJoint
boost::mutexmutex
double out_torque [DOF_JOINTS]
ros::Time tend
ros::Time tstart

Define Documentation

#define JOINT_CMD_TOPIC   "/allegro/joint_cmd"

Definition at line 21 of file allegroNode_sleep.cpp.

#define JOINT_STATE_TOPIC   "/allegro/joint_state"

Definition at line 20 of file allegroNode_sleep.cpp.


Function Documentation

int main ( int  argc,
char **  argv 
)

Definition at line 57 of file allegroNode_sleep.cpp.

void SetjointCallback ( const sensor_msgs::JointState &  msg)

Definition at line 43 of file allegroNode_sleep.cpp.


Variable Documentation

Definition at line 23 of file allegroNode_sleep.cpp.

Definition at line 24 of file allegroNode_sleep.cpp.

Definition at line 25 of file allegroNode_sleep.cpp.

Definition at line 26 of file allegroNode_sleep.cpp.

Definition at line 37 of file allegroNode_sleep.cpp.

Definition at line 33 of file allegroNode_sleep.cpp.

Definition at line 32 of file allegroNode_sleep.cpp.

sensor_msgs::JointState msgJoint

Definition at line 34 of file allegroNode_sleep.cpp.

Definition at line 31 of file allegroNode_sleep.cpp.

Definition at line 28 of file allegroNode_sleep.cpp.

Definition at line 40 of file allegroNode_sleep.cpp.

Definition at line 39 of file allegroNode_sleep.cpp.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


AllegroHand
Author(s): Alex Alspach (SimLab), Seungsu Kim (EPFL)
autogenerated on Fri Mar 22 2013 04:47:25