IRI ROS Specific Algorithm Class. More...
#include <convert_pose_alg_node.h>
IRI ROS Specific Algorithm Class.
Definition at line 60 of file convert_pose_alg_node.h.
Constructor.
This constructor initializes specific class attributes and all ROS communications variables to enable message exchange.
Definition at line 3 of file convert_pose_alg_node.cpp.
Destructor.
This destructor frees all necessary dynamic memory allocated within this this class.
Definition at line 58 of file convert_pose_alg_node.cpp.
void ConvertPoseAlgNode::adc_channels_callback | ( | const std_msgs::Float64MultiArray::ConstPtr & | msg | ) | [private] |
Definition at line 797 of file convert_pose_alg_node.cpp.
void ConvertPoseAlgNode::addNodeDiagnostics | ( | void | ) | [protected, virtual] |
node add diagnostics
In this abstract function additional ROS diagnostics applied to the specific algorithms may be added.
Implements algorithm_base::IriBaseAlgorithm< ConvertPoseAlgorithm >.
Definition at line 1134 of file convert_pose_alg_node.cpp.
void ConvertPoseAlgNode::joint_state_callback | ( | const sensor_msgs::JointState::ConstPtr & | msg | ) | [private] |
Definition at line 812 of file convert_pose_alg_node.cpp.
void ConvertPoseAlgNode::mainNodeThread | ( | void | ) | [protected, virtual] |
main node thread
This is the main thread node function. Code written here will be executed in every node loop while the algorithm is on running state. Loop frequency can be tuned by modifying loop_rate attribute.
Here data related to the process loop or to ROS topics (mainly data structs related to the MSG and SRV files) must be updated. ROS publisher objects must publish their data in this process. ROS client servers may also request data to the corresponding server topics.
Implements algorithm_base::IriBaseAlgorithm< ConvertPoseAlgorithm >.
Definition at line 63 of file convert_pose_alg_node.cpp.
void ConvertPoseAlgNode::marker_callback | ( | const ar_pose::ARMarkers::ConstPtr & | msg | ) | [private] |
Definition at line 826 of file convert_pose_alg_node.cpp.
void ConvertPoseAlgNode::move_jointsActive | ( | ) | [private] |
Definition at line 966 of file convert_pose_alg_node.cpp.
void ConvertPoseAlgNode::move_jointsDone | ( | const actionlib::SimpleClientGoalState & | state, |
const control_msgs::FollowJointTrajectoryResultConstPtr & | result | ||
) | [private] |
Definition at line 955 of file convert_pose_alg_node.cpp.
void ConvertPoseAlgNode::move_jointsFeedback | ( | const control_msgs::FollowJointTrajectoryFeedbackConstPtr & | feedback | ) | [private] |
Definition at line 971 of file convert_pose_alg_node.cpp.
void ConvertPoseAlgNode::move_jointsMakeActionRequest | ( | ) | [private] |
Definition at line 1072 of file convert_pose_alg_node.cpp.
void ConvertPoseAlgNode::move_left_armActive | ( | ) | [private] |
Definition at line 1032 of file convert_pose_alg_node.cpp.
void ConvertPoseAlgNode::move_left_armDone | ( | const actionlib::SimpleClientGoalState & | state, |
const arm_navigation_msgs::MoveArmResultConstPtr & | result | ||
) | [private] |
Definition at line 1021 of file convert_pose_alg_node.cpp.
void ConvertPoseAlgNode::move_left_armFeedback | ( | const arm_navigation_msgs::MoveArmFeedbackConstPtr & | feedback | ) | [private] |
Definition at line 1037 of file convert_pose_alg_node.cpp.
void ConvertPoseAlgNode::move_left_armMakeActionRequest | ( | ) | [private] |
Definition at line 1108 of file convert_pose_alg_node.cpp.
void ConvertPoseAlgNode::move_right_armActive | ( | ) | [private] |
Definition at line 999 of file convert_pose_alg_node.cpp.
void ConvertPoseAlgNode::move_right_armDone | ( | const actionlib::SimpleClientGoalState & | state, |
const arm_navigation_msgs::MoveArmResultConstPtr & | result | ||
) | [private] |
Definition at line 988 of file convert_pose_alg_node.cpp.
void ConvertPoseAlgNode::move_right_armFeedback | ( | const arm_navigation_msgs::MoveArmFeedbackConstPtr & | feedback | ) | [private] |
Definition at line 1004 of file convert_pose_alg_node.cpp.
void ConvertPoseAlgNode::move_right_armMakeActionRequest | ( | ) | [private] |
Definition at line 1090 of file convert_pose_alg_node.cpp.
void ConvertPoseAlgNode::node_config_update | ( | Config & | config, |
uint32_t | level | ||
) | [protected, virtual] |
dynamic reconfigure server callback
This method is called whenever a new configuration is received through the dynamic reconfigure. The derivated generic algorithm class must implement it.
config | an object with new configuration from all algorithm parameters defined in the config file. |
level | integer referring the level in which the configuration has been changed. |
Implements algorithm_base::IriBaseAlgorithm< ConvertPoseAlgorithm >.
Definition at line 1127 of file convert_pose_alg_node.cpp.
void ConvertPoseAlgNode::tracking_headActive | ( | ) | [private] |
Definition at line 934 of file convert_pose_alg_node.cpp.
void ConvertPoseAlgNode::tracking_headDone | ( | const actionlib::SimpleClientGoalState & | state, |
const iri_darwin_robot::tracking_headResultConstPtr & | result | ||
) | [private] |
Definition at line 924 of file convert_pose_alg_node.cpp.
void ConvertPoseAlgNode::tracking_headFeedback | ( | const iri_darwin_robot::tracking_headFeedbackConstPtr & | feedback | ) | [private] |
Definition at line 939 of file convert_pose_alg_node.cpp.
void ConvertPoseAlgNode::tracking_headMakeActionRequest | ( | ) | [private] |
Definition at line 1055 of file convert_pose_alg_node.cpp.
CMutex ConvertPoseAlgNode::adc_channels_mutex_ [private] |
Definition at line 74 of file convert_pose_alg_node.h.
Definition at line 72 of file convert_pose_alg_node.h.
Definition at line 64 of file convert_pose_alg_node.h.
geometry_msgs::PoseStamped ConvertPoseAlgNode::conv_msg_ [private] |
Definition at line 84 of file convert_pose_alg_node.h.
double ConvertPoseAlgNode::current_pan [private] |
Definition at line 146 of file convert_pose_alg_node.h.
sensor_msgs::JointState ConvertPoseAlgNode::current_state [private] |
Definition at line 79 of file convert_pose_alg_node.h.
double ConvertPoseAlgNode::current_voltage [private] |
Definition at line 75 of file convert_pose_alg_node.h.
Definition at line 68 of file convert_pose_alg_node.h.
bool ConvertPoseAlgNode::first_goal [private] |
Definition at line 144 of file convert_pose_alg_node.h.
std_msgs::Float64MultiArray ConvertPoseAlgNode::Float64MultiArray_msg_ [private] |
Definition at line 67 of file convert_pose_alg_node.h.
Definition at line 92 of file convert_pose_alg_node.h.
kinematics_msgs::GetPositionIK ConvertPoseAlgNode::get_ik_srv_ [private] |
Definition at line 93 of file convert_pose_alg_node.h.
bool ConvertPoseAlgNode::head_moving [private] |
Definition at line 131 of file convert_pose_alg_node.h.
Definition at line 66 of file convert_pose_alg_node.h.
Definition at line 69 of file convert_pose_alg_node.h.
CMutex ConvertPoseAlgNode::joint_state_mutex_ [private] |
Definition at line 78 of file convert_pose_alg_node.h.
Definition at line 76 of file convert_pose_alg_node.h.
bool ConvertPoseAlgNode::joints_moving [private] |
Definition at line 111 of file convert_pose_alg_node.h.
bool ConvertPoseAlgNode::left_arm_moving [private] |
Definition at line 127 of file convert_pose_alg_node.h.
bool ConvertPoseAlgNode::left_data_ready [private] |
Definition at line 135 of file convert_pose_alg_node.h.
bool ConvertPoseAlgNode::left_done [private] |
Definition at line 136 of file convert_pose_alg_node.h.
bool ConvertPoseAlgNode::left_marker_found [private] |
Definition at line 132 of file convert_pose_alg_node.h.
bool ConvertPoseAlgNode::left_ok [private] |
Definition at line 138 of file convert_pose_alg_node.h.
geometry_msgs::PoseStamped ConvertPoseAlgNode::left_pose_ [private] |
Definition at line 86 of file convert_pose_alg_node.h.
bool ConvertPoseAlgNode::left_ready_tf [private] |
Definition at line 142 of file convert_pose_alg_node.h.
geometry_msgs::PoseStamped ConvertPoseAlgNode::marker_ [private] |
Definition at line 83 of file convert_pose_alg_node.h.
CMutex ConvertPoseAlgNode::marker_mutex_ [private] |
Definition at line 82 of file convert_pose_alg_node.h.
Definition at line 80 of file convert_pose_alg_node.h.
actionlib::SimpleActionClient<control_msgs::FollowJointTrajectoryAction> ConvertPoseAlgNode::move_joints_client_ [private] |
Definition at line 105 of file convert_pose_alg_node.h.
Definition at line 106 of file convert_pose_alg_node.h.
actionlib::SimpleActionClient<arm_navigation_msgs::MoveArmAction> ConvertPoseAlgNode::move_left_arm_client_ [private] |
Definition at line 121 of file convert_pose_alg_node.h.
Definition at line 122 of file convert_pose_alg_node.h.
actionlib::SimpleActionClient<arm_navigation_msgs::MoveArmAction> ConvertPoseAlgNode::move_right_arm_client_ [private] |
Definition at line 113 of file convert_pose_alg_node.h.
Definition at line 114 of file convert_pose_alg_node.h.
ar_pose::ARMarkers ConvertPoseAlgNode::msg_ [private] |
Definition at line 87 of file convert_pose_alg_node.h.
int ConvertPoseAlgNode::n [private] |
Definition at line 147 of file convert_pose_alg_node.h.
bool ConvertPoseAlgNode::prev_left_ok [private] |
Definition at line 140 of file convert_pose_alg_node.h.
bool ConvertPoseAlgNode::prev_right_ok [private] |
Definition at line 141 of file convert_pose_alg_node.h.
bool ConvertPoseAlgNode::ready [private] |
Definition at line 130 of file convert_pose_alg_node.h.
bool ConvertPoseAlgNode::ready_for_check [private] |
Definition at line 137 of file convert_pose_alg_node.h.
bool ConvertPoseAlgNode::right_arm_moving [private] |
Definition at line 119 of file convert_pose_alg_node.h.
bool ConvertPoseAlgNode::right_data_ready [private] |
Definition at line 134 of file convert_pose_alg_node.h.
bool ConvertPoseAlgNode::right_marker_found [private] |
Definition at line 133 of file convert_pose_alg_node.h.
bool ConvertPoseAlgNode::right_ok [private] |
Definition at line 139 of file convert_pose_alg_node.h.
geometry_msgs::PoseStamped ConvertPoseAlgNode::right_pose_ [private] |
Definition at line 85 of file convert_pose_alg_node.h.
bool ConvertPoseAlgNode::right_ready_tf [private] |
Definition at line 143 of file convert_pose_alg_node.h.
TStates ConvertPoseAlgNode::state [private] |
Definition at line 149 of file convert_pose_alg_node.h.
bool ConvertPoseAlgNode::success [private] |
Definition at line 145 of file convert_pose_alg_node.h.
Definition at line 129 of file convert_pose_alg_node.h.
actionlib::SimpleActionClient<iri_darwin_robot::tracking_headAction> ConvertPoseAlgNode::tracking_head_client_ [private] |
Definition at line 98 of file convert_pose_alg_node.h.
Definition at line 99 of file convert_pose_alg_node.h.
geometry_msgs::Twist ConvertPoseAlgNode::Twist_msg_ [private] |
Definition at line 65 of file convert_pose_alg_node.h.