Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025 #ifndef KATANA_CONSTANTS_H_
00026 #define KATANA_CONSTANTS_H_
00027
00028 namespace katana
00029 {
00031 const size_t NUM_MOTORS = 6;
00032
00034 const size_t NUM_JOINTS = NUM_MOTORS - 1;
00035
00037 const size_t NUM_GRIPPER_JOINTS = 2;
00038
00040 const size_t GRIPPER_INDEX = NUM_MOTORS - 1;
00041
00043 static const double GRIPPER_OPEN_ANGLE = 0.30;
00044
00046 static const double GRIPPER_CLOSED_ANGLE = -0.44;
00047
00049 static const double DEFAULT_GRIPPER_OBJECT_PRESENCE_THRESHOLD = -0.43;
00050
00052 static const double GRIPPER_OPENING_CLOSING_DURATION = 3.0;
00053
00054
00056 static const double KNI_GRIPPER_CLOSED_ANGLE = 0.21652991032554647;
00057 static const double KNI_GRIPPER_OPEN_ANGLE = -2.057443;
00058
00059 static const double KNI_TO_URDF_GRIPPER_FACTOR = (GRIPPER_OPEN_ANGLE - GRIPPER_CLOSED_ANGLE) / (KNI_GRIPPER_OPEN_ANGLE
00060 - KNI_GRIPPER_CLOSED_ANGLE);
00061
00063 static const double KNI_TO_ROS_TIME = 100.0;
00064
00066 static const double KNI_TO_ROS_LENGTH = 0.001;
00067
00069 static const int KNI_MAX_VELOCITY = 180;
00070
00072 static const int KNI_MAX_ACCELERATION = 2;
00073
00074 static const size_t MOVE_BUFFER_SIZE = 16;
00075
00076 }
00077
00078
00079 #endif