Public Member Functions | |
string | assembleModelGazebo (string model_path, bool artificial_texture) |
Constructs a Gazebo URDF model to be sent containing an object model. | |
void | clockThread () |
ObjectDataAcquisitionGazebo (int texture, int model_id) | |
void | spin () |
void | tfThread () |
virtual | ~ObjectDataAcquisitionGazebo () |
Private Attributes | |
bool | alternate_artificial_texture_ |
bool | alternate_mode_ |
bool | artificial_texture_ |
CallbackQueue | clock_queue_ |
thread | clock_thread_ |
shared_ptr< ObjectsDatabase > | database_ |
ServiceClient | gazebo_camera_set_pose_serv_ |
ServiceClient | gazebo_model_remove_serv_ |
ServiceClient | gazebo_model_spawn_serv_ |
bool | init_failed_ |
bool | log_file_open_ |
mutex | m_mutex_ |
std::string | model_dae_path_ |
NodeHandle | nh_ |
string | output_file_ |
double | scale_factor_ |
string | t_cam_info_l_ |
string | t_cam_info_r_ |
string | t_camera_base_ |
string | t_image_raw_l_ |
string | t_image_raw_r_ |
string | t_pan_tilt_ |
string | t_ptu_base_ |
CallbackQueue | tf_queue_ |
thread | tf_thread_ |
Definition at line 83 of file spawn_object_model.cpp.
ObjectDataAcquisitionGazebo::ObjectDataAcquisitionGazebo | ( | int | texture, | |
int | model_id | |||
) | [inline] |
Definition at line 109 of file spawn_object_model.cpp.
virtual ObjectDataAcquisitionGazebo::~ObjectDataAcquisitionGazebo | ( | ) | [inline, virtual] |
Definition at line 191 of file spawn_object_model.cpp.
string ObjectDataAcquisitionGazebo::assembleModelGazebo | ( | string | model_path, | |
bool | artificial_texture | |||
) | [inline] |
Constructs a Gazebo URDF model to be sent containing an object model.
model_path | the path to the object model | |
artificial_texture | set to true if we want artificial texture |
Definition at line 212 of file spawn_object_model.cpp.
void ObjectDataAcquisitionGazebo::clockThread | ( | ) | [inline] |
Definition at line 174 of file spawn_object_model.cpp.
void ObjectDataAcquisitionGazebo::spin | ( | ) | [inline] |
Definition at line 256 of file spawn_object_model.cpp.
void ObjectDataAcquisitionGazebo::tfThread | ( | ) | [inline] |
Definition at line 183 of file spawn_object_model.cpp.
bool ObjectDataAcquisitionGazebo::alternate_artificial_texture_ [private] |
Definition at line 104 of file spawn_object_model.cpp.
bool ObjectDataAcquisitionGazebo::alternate_mode_ [private] |
Definition at line 104 of file spawn_object_model.cpp.
bool ObjectDataAcquisitionGazebo::artificial_texture_ [private] |
Definition at line 104 of file spawn_object_model.cpp.
CallbackQueue ObjectDataAcquisitionGazebo::clock_queue_ [private] |
Definition at line 89 of file spawn_object_model.cpp.
thread ObjectDataAcquisitionGazebo::clock_thread_ [private] |
Definition at line 90 of file spawn_object_model.cpp.
shared_ptr<ObjectsDatabase> ObjectDataAcquisitionGazebo::database_ [private] |
Definition at line 94 of file spawn_object_model.cpp.
ServiceClient ObjectDataAcquisitionGazebo::gazebo_camera_set_pose_serv_ [private] |
Definition at line 88 of file spawn_object_model.cpp.
ServiceClient ObjectDataAcquisitionGazebo::gazebo_model_remove_serv_ [private] |
Definition at line 88 of file spawn_object_model.cpp.
ServiceClient ObjectDataAcquisitionGazebo::gazebo_model_spawn_serv_ [private] |
Definition at line 88 of file spawn_object_model.cpp.
bool ObjectDataAcquisitionGazebo::init_failed_ [private] |
Definition at line 104 of file spawn_object_model.cpp.
bool ObjectDataAcquisitionGazebo::log_file_open_ [private] |
Definition at line 104 of file spawn_object_model.cpp.
mutex ObjectDataAcquisitionGazebo::m_mutex_ [private] |
Definition at line 91 of file spawn_object_model.cpp.
std::string ObjectDataAcquisitionGazebo::model_dae_path_ [private] |
Definition at line 95 of file spawn_object_model.cpp.
NodeHandle ObjectDataAcquisitionGazebo::nh_ [private] |
Definition at line 87 of file spawn_object_model.cpp.
string ObjectDataAcquisitionGazebo::output_file_ [private] |
Definition at line 101 of file spawn_object_model.cpp.
double ObjectDataAcquisitionGazebo::scale_factor_ [private] |
Definition at line 103 of file spawn_object_model.cpp.
string ObjectDataAcquisitionGazebo::t_cam_info_l_ [private] |
Definition at line 98 of file spawn_object_model.cpp.
string ObjectDataAcquisitionGazebo::t_cam_info_r_ [private] |
Definition at line 98 of file spawn_object_model.cpp.
string ObjectDataAcquisitionGazebo::t_camera_base_ [private] |
Definition at line 98 of file spawn_object_model.cpp.
string ObjectDataAcquisitionGazebo::t_image_raw_l_ [private] |
Definition at line 98 of file spawn_object_model.cpp.
string ObjectDataAcquisitionGazebo::t_image_raw_r_ [private] |
Definition at line 98 of file spawn_object_model.cpp.
string ObjectDataAcquisitionGazebo::t_pan_tilt_ [private] |
Definition at line 98 of file spawn_object_model.cpp.
string ObjectDataAcquisitionGazebo::t_ptu_base_ [private] |
Definition at line 98 of file spawn_object_model.cpp.
CallbackQueue ObjectDataAcquisitionGazebo::tf_queue_ [private] |
Definition at line 89 of file spawn_object_model.cpp.
thread ObjectDataAcquisitionGazebo::tf_thread_ [private] |
Definition at line 90 of file spawn_object_model.cpp.