Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes | Protected Attributes
Simulator Class Reference

#include <simulator.h>

List of all members.

Public Member Functions

void BaseEpCallback (const hrl_msgs::FloatArrayBare msg)
void calc_torques ()
void classCallback (dGeomID o1, dGeomID o2)
void clear ()
void create_compliant_obstacles ()
void create_fixed_obstacles ()
void create_movable_obstacles ()
void create_robot ()
double get_dist (double x1, double y1, double x2, double y2, double radius)
void get_joint_data ()
void go_initial_position ()
void ImpedanceCallback (const hrl_haptic_manipulation_in_clutter_msgs::MechanicalImpedanceParams msg)
void inner_torque_loop ()
void JepCallback (const hrl_msgs::FloatArrayBare msg)
void publish_angle_data ()
void publish_imped_skin_viz ()
void sense_forces ()
void set_torques ()
void setup_current_taxel_config (hrl_haptic_manipulation_in_clutter_msgs::TaxelArray &taxel)
 Simulator (ros::NodeHandle &nh)
void update_friction_and_obstacles ()
void update_linkage_viz ()
void update_proximity_simulation ()
void update_taxel_simulation ()
 ~Simulator ()

Static Public Member Functions

static void nearCallback (void *data, dGeomID o1, dGeomID o2)

Public Attributes

ros::Publisher clock_pub
double cur_time
dSimpleSpace space
dWorld world

Static Public Attributes

static const dReal timestep = 0.0005

Protected Attributes

hrl_msgs::FloatArrayBare angle_rates
ros::Publisher angle_rates_pub
hrl_msgs::FloatArrayBare angles
ros::Publisher angles_pub
dSliderJoint base_pris_jts [MAX_NUM_PRISM]
dHingeJoint base_rev_jts [MAX_NUM_REV]
ros::Publisher bodies_draw
dBody * body_mobile_base
dBody compliant_obstacles [NUM_OBST]
dJointID compliant_plane2d_joint_ids [NUM_OBST]
hrl_haptic_manipulation_in_clutter_msgs::BodyDraw draw
dBody * env
int fbnum
MyFeedback feedbacks [MAX_FEEDBACKNUM]
dFixedJoint * fixed_joint
dJointID fixed_joint_ids [NUM_OBST]
dBodyID fixed_obst_ids [NUM_OBST]
dBody fixed_obstacles [NUM_OBST]
int force_group
std::vector< int > force_grouping
std::vector< int > force_sign
hrl_haptic_manipulation_in_clutter_msgs::TaxelArray force_taxel
ros::Publisher force_taxel_pub
MyFeedback frict_feedbacks [NUM_OBST]
dBox g_link_box [100]
dCapsule g_link_cap [100]
dBox * geom_mobile_base
ros::Publisher imped_pub
hrl_haptic_manipulation_in_clutter_msgs::MechanicalImpedanceParams impedance_params
std::vector< double > jep
ros::Publisher jep_pub
hrl_msgs::FloatArrayBare jep_ros
dJointGroup joints
dContactJoint * jt_contact
std::vector< double > k_d
std::vector< double > k_p
dBodyID link_ids [100]
dBody links_arr [100]
double links_dim [100][3]
std::string links_shape [100]
boost::mutex m
dSliderJoint manip_pris_jts [MAX_NUM_PRISM]
dHingeJoint manip_rev_jts [MAX_NUM_REV]
double max_friction
double max_tor_friction
dJointID mobile_base_plane2d_jt_id
ros::NodeHandle nh_
int num_jts
int num_links
int num_used_compliant
int num_used_fixed
int num_used_movable
double obst_damping [NUM_OBST]
double obst_home [NUM_OBST][3]
double obst_stiffness [NUM_OBST]
dBody obstacles [NUM_OBST]
dJointID plane2d_joint_ids [NUM_OBST]
hrl_haptic_manipulation_in_clutter_msgs::TaxelArray proximity_taxel
ros::Publisher proximity_taxel_pub
std::vector< double > pt_x
std::vector< double > pt_y
std::vector< double > pt_z
std::vector< double > q
std::vector< double > q_dot
double resolution
hrl_haptic_manipulation_in_clutter_msgs::SkinContact skin
ros::Publisher skin_pub
dSliderJoint * slider_x
dSliderJoint * slider_y
std::vector< double > torques
bool use_prox_sensor
std::vector< double > x_c
std::vector< double > x_n
std::vector< double > y_c
std::vector< double > y_n
std::vector< double > z_c
std::vector< double > z_n

Detailed Description

Definition at line 35 of file simulator.h.


Constructor & Destructor Documentation

Definition at line 169 of file simulator.h.

Definition at line 218 of file simulator.h.


Member Function Documentation

Definition at line 676 of file simulator.h.

void Simulator::classCallback ( dGeomID  o1,
dGeomID  o2 
)
void Simulator::clear ( void  )

Definition at line 1278 of file simulator.h.

Definition at line 1397 of file simulator.h.

Definition at line 1450 of file simulator.h.

Definition at line 1337 of file simulator.h.

Definition at line 502 of file simulator.h.

double Simulator::get_dist ( double  x1,
double  y1,
double  x2,
double  y2,
double  radius 
)

Definition at line 1123 of file simulator.h.

Definition at line 1322 of file simulator.h.

Definition at line 370 of file simulator.h.

Definition at line 232 of file simulator.h.

Definition at line 225 of file simulator.h.

void Simulator::nearCallback ( void *  data,
dGeomID  o1,
dGeomID  o2 
) [static]

Definition at line 240 of file simulator.h.

Definition at line 363 of file simulator.h.

Definition at line 827 of file simulator.h.

Definition at line 431 of file simulator.h.

Definition at line 686 of file simulator.h.

Definition at line 846 of file simulator.h.

Definition at line 725 of file simulator.h.

Definition at line 698 of file simulator.h.

Definition at line 1128 of file simulator.h.

Definition at line 1198 of file simulator.h.


Member Data Documentation

Definition at line 98 of file simulator.h.

Definition at line 153 of file simulator.h.

Definition at line 97 of file simulator.h.

Definition at line 152 of file simulator.h.

dSliderJoint Simulator::base_pris_jts[MAX_NUM_PRISM] [protected]

Definition at line 74 of file simulator.h.

dHingeJoint Simulator::base_rev_jts[MAX_NUM_REV] [protected]

Definition at line 72 of file simulator.h.

Definition at line 154 of file simulator.h.

dBody* Simulator::body_mobile_base [protected]

Definition at line 93 of file simulator.h.

Definition at line 64 of file simulator.h.

dBody Simulator::compliant_obstacles[NUM_OBST] [protected]

Definition at line 77 of file simulator.h.

dJointID Simulator::compliant_plane2d_joint_ids[NUM_OBST] [protected]

Definition at line 90 of file simulator.h.

Definition at line 68 of file simulator.h.

Definition at line 143 of file simulator.h.

dBody* Simulator::env [protected]

Definition at line 140 of file simulator.h.

int Simulator::fbnum [protected]

Definition at line 108 of file simulator.h.

MyFeedback Simulator::feedbacks[MAX_FEEDBACKNUM] [protected]

Definition at line 106 of file simulator.h.

dFixedJoint* Simulator::fixed_joint [protected]

Definition at line 150 of file simulator.h.

dJointID Simulator::fixed_joint_ids[NUM_OBST] [protected]

Definition at line 91 of file simulator.h.

dBodyID Simulator::fixed_obst_ids[NUM_OBST] [protected]

Definition at line 88 of file simulator.h.

dBody Simulator::fixed_obstacles[NUM_OBST] [protected]

Definition at line 76 of file simulator.h.

int Simulator::force_group [protected]

Definition at line 109 of file simulator.h.

Definition at line 125 of file simulator.h.

Definition at line 126 of file simulator.h.

Definition at line 144 of file simulator.h.

Definition at line 155 of file simulator.h.

MyFeedback Simulator::frict_feedbacks[NUM_OBST] [protected]

Definition at line 107 of file simulator.h.

dBox Simulator::g_link_box[100] [protected]

Definition at line 85 of file simulator.h.

dCapsule Simulator::g_link_cap[100] [protected]

Definition at line 86 of file simulator.h.

dBox* Simulator::geom_mobile_base [protected]

Definition at line 94 of file simulator.h.

Definition at line 157 of file simulator.h.

Definition at line 146 of file simulator.h.

std::vector<double> Simulator::jep [protected]

Definition at line 114 of file simulator.h.

Definition at line 159 of file simulator.h.

Definition at line 99 of file simulator.h.

dJointGroup Simulator::joints [protected]

Definition at line 139 of file simulator.h.

dContactJoint* Simulator::jt_contact [protected]

Definition at line 151 of file simulator.h.

std::vector<double> Simulator::k_d [protected]

Definition at line 116 of file simulator.h.

std::vector<double> Simulator::k_p [protected]

Definition at line 115 of file simulator.h.

dBodyID Simulator::link_ids[100] [protected]

Definition at line 87 of file simulator.h.

dBody Simulator::links_arr[100] [protected]

Definition at line 82 of file simulator.h.

double Simulator::links_dim[100][3] [protected]

Definition at line 83 of file simulator.h.

std::string Simulator::links_shape[100] [protected]

Definition at line 84 of file simulator.h.

boost::mutex Simulator::m [protected]

Definition at line 165 of file simulator.h.

dSliderJoint Simulator::manip_pris_jts[MAX_NUM_PRISM] [protected]

Definition at line 73 of file simulator.h.

dHingeJoint Simulator::manip_rev_jts[MAX_NUM_REV] [protected]

Definition at line 71 of file simulator.h.

double Simulator::max_friction [protected]

Definition at line 110 of file simulator.h.

double Simulator::max_tor_friction [protected]

Definition at line 111 of file simulator.h.

Definition at line 95 of file simulator.h.

Definition at line 105 of file simulator.h.

int Simulator::num_jts [protected]

Definition at line 103 of file simulator.h.

int Simulator::num_links [protected]

Definition at line 102 of file simulator.h.

Definition at line 163 of file simulator.h.

int Simulator::num_used_fixed [protected]

Definition at line 162 of file simulator.h.

int Simulator::num_used_movable [protected]

Definition at line 161 of file simulator.h.

double Simulator::obst_damping[NUM_OBST] [protected]

Definition at line 80 of file simulator.h.

double Simulator::obst_home[NUM_OBST][3] [protected]

Definition at line 78 of file simulator.h.

double Simulator::obst_stiffness[NUM_OBST] [protected]

Definition at line 79 of file simulator.h.

dBody Simulator::obstacles[NUM_OBST] [protected]

Definition at line 75 of file simulator.h.

dJointID Simulator::plane2d_joint_ids[NUM_OBST] [protected]

Definition at line 89 of file simulator.h.

Definition at line 145 of file simulator.h.

Definition at line 156 of file simulator.h.

std::vector<double> Simulator::pt_x [protected]

Definition at line 127 of file simulator.h.

std::vector<double> Simulator::pt_y [protected]

Definition at line 128 of file simulator.h.

std::vector<double> Simulator::pt_z [protected]

Definition at line 129 of file simulator.h.

std::vector<double> Simulator::q [protected]

Definition at line 112 of file simulator.h.

std::vector<double> Simulator::q_dot [protected]

Definition at line 113 of file simulator.h.

double Simulator::resolution [protected]

Definition at line 104 of file simulator.h.

Definition at line 142 of file simulator.h.

Definition at line 158 of file simulator.h.

dSliderJoint* Simulator::slider_x [protected]

Definition at line 148 of file simulator.h.

dSliderJoint* Simulator::slider_y [protected]

Definition at line 149 of file simulator.h.

dSimpleSpace Simulator::space

Definition at line 65 of file simulator.h.

const dReal Simulator::timestep = 0.0005 [static]

Definition at line 67 of file simulator.h.

std::vector<double> Simulator::torques [protected]

Definition at line 117 of file simulator.h.

Definition at line 101 of file simulator.h.

Definition at line 66 of file simulator.h.

std::vector<double> Simulator::x_c [protected]

Definition at line 132 of file simulator.h.

std::vector<double> Simulator::x_n [protected]

Definition at line 135 of file simulator.h.

std::vector<double> Simulator::y_c [protected]

Definition at line 133 of file simulator.h.

std::vector<double> Simulator::y_n [protected]

Definition at line 136 of file simulator.h.

std::vector<double> Simulator::z_c [protected]

Definition at line 134 of file simulator.h.

std::vector<double> Simulator::z_n [protected]

Definition at line 137 of file simulator.h.


The documentation for this class was generated from the following file:


hrl_software_simulation_darpa_m3
Author(s): Marc Killpack and Advait Jain. Advisor: Prof. Charlie Kemp. Healthcare Robotics Lab, Georgia Tech
autogenerated on Wed Nov 27 2013 11:35:07