IRI ROS Specific Algorithm Class. More...
#include <darwin_arm_simple_nav_alg_node.h>
IRI ROS Specific Algorithm Class.
Definition at line 50 of file darwin_arm_simple_nav_alg_node.h.
Constructor.
This constructor initializes specific class attributes and all ROS communications variables to enable message exchange.
Definition at line 4 of file darwin_arm_simple_nav_alg_node.cpp.
Destructor.
This destructor frees all necessary dynamic memory allocated within this this class.
Definition at line 44 of file darwin_arm_simple_nav_alg_node.cpp.
void DarwinArmSimpleNavAlgNode::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< DarwinArmSimpleNavAlgorithm >.
Definition at line 309 of file darwin_arm_simple_nav_alg_node.cpp.
void DarwinArmSimpleNavAlgNode::joint_state_callback | ( | const sensor_msgs::JointState::ConstPtr & | msg | ) | [private] |
Definition at line 59 of file darwin_arm_simple_nav_alg_node.cpp.
void DarwinArmSimpleNavAlgNode::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< DarwinArmSimpleNavAlgorithm >.
Definition at line 49 of file darwin_arm_simple_nav_alg_node.cpp.
void DarwinArmSimpleNavAlgNode::move_armGetFeedbackCallback | ( | arm_navigation_msgs::MoveArmFeedbackPtr & | feedback | ) | [private] |
Definition at line 270 of file darwin_arm_simple_nav_alg_node.cpp.
void DarwinArmSimpleNavAlgNode::move_armGetResultCallback | ( | arm_navigation_msgs::MoveArmResultPtr & | result | ) | [private] |
Definition at line 262 of file darwin_arm_simple_nav_alg_node.cpp.
bool DarwinArmSimpleNavAlgNode::move_armHasSucceedCallback | ( | void | ) | [private] |
Definition at line 250 of file darwin_arm_simple_nav_alg_node.cpp.
bool DarwinArmSimpleNavAlgNode::move_armIsFinishedCallback | ( | void | ) | [private] |
Definition at line 238 of file darwin_arm_simple_nav_alg_node.cpp.
void DarwinArmSimpleNavAlgNode::move_armStartCallback | ( | const arm_navigation_msgs::MoveArmGoalConstPtr & | goal | ) | [private] |
Definition at line 115 of file darwin_arm_simple_nav_alg_node.cpp.
void DarwinArmSimpleNavAlgNode::move_armStopCallback | ( | void | ) | [private] |
Definition at line 228 of file darwin_arm_simple_nav_alg_node.cpp.
void DarwinArmSimpleNavAlgNode::move_jointsActive | ( | ) | [private] |
Definition at line 94 of file darwin_arm_simple_nav_alg_node.cpp.
void DarwinArmSimpleNavAlgNode::move_jointsDone | ( | const actionlib::SimpleClientGoalState & | state, |
const control_msgs::FollowJointTrajectoryResultConstPtr & | result | ||
) | [private] |
Definition at line 84 of file darwin_arm_simple_nav_alg_node.cpp.
void DarwinArmSimpleNavAlgNode::move_jointsFeedback | ( | const control_msgs::FollowJointTrajectoryFeedbackConstPtr & | feedback | ) | [private] |
Definition at line 99 of file darwin_arm_simple_nav_alg_node.cpp.
void DarwinArmSimpleNavAlgNode::move_jointsMakeActionRequest | ( | ) | [private] |
Definition at line 279 of file darwin_arm_simple_nav_alg_node.cpp.
void DarwinArmSimpleNavAlgNode::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< DarwinArmSimpleNavAlgorithm >.
Definition at line 298 of file darwin_arm_simple_nav_alg_node.cpp.
std::string DarwinArmSimpleNavAlgNode::arm_id [private] |
Definition at line 89 of file darwin_arm_simple_nav_alg_node.h.
sensor_msgs::JointState DarwinArmSimpleNavAlgNode::current_state [private] |
Definition at line 59 of file darwin_arm_simple_nav_alg_node.h.
Definition at line 66 of file darwin_arm_simple_nav_alg_node.h.
kinematics_msgs::GetPositionIK DarwinArmSimpleNavAlgNode::get_ik_srv_ [private] |
Definition at line 67 of file darwin_arm_simple_nav_alg_node.h.
Definition at line 64 of file darwin_arm_simple_nav_alg_node.h.
kinematics_msgs::GetKinematicSolverInfo DarwinArmSimpleNavAlgNode::ik_info_srv_ [private] |
Definition at line 65 of file darwin_arm_simple_nav_alg_node.h.
CMutex DarwinArmSimpleNavAlgNode::joint_state_mutex_ [private] |
Definition at line 58 of file darwin_arm_simple_nav_alg_node.h.
Definition at line 56 of file darwin_arm_simple_nav_alg_node.h.
bool DarwinArmSimpleNavAlgNode::joints_moving [private] |
Definition at line 87 of file darwin_arm_simple_nav_alg_node.h.
IriActionServer<arm_navigation_msgs::MoveArmAction> DarwinArmSimpleNavAlgNode::move_arm_aserver_ [private] |
Definition at line 70 of file darwin_arm_simple_nav_alg_node.h.
actionlib::SimpleActionClient<control_msgs::FollowJointTrajectoryAction> DarwinArmSimpleNavAlgNode::move_joints_client_ [private] |
Definition at line 79 of file darwin_arm_simple_nav_alg_node.h.
Definition at line 80 of file darwin_arm_simple_nav_alg_node.h.
bool DarwinArmSimpleNavAlgNode::robot_running [private] |
Definition at line 86 of file darwin_arm_simple_nav_alg_node.h.
Definition at line 88 of file darwin_arm_simple_nav_alg_node.h.