IRI ROS Specific Algorithm Class. More...
#include <uncalibvs_alg_node.h>
IRI ROS Specific Algorithm Class.
Definition at line 62 of file uncalibvs_alg_node.h.
UncalibvsAlgNode::UncalibvsAlgNode | ( | void | ) |
Constructor.
This constructor initializes specific class attributes and all ROS communications variables to enable message exchange.
Definition at line 3 of file uncalibvs_alg_node.cpp.
UncalibvsAlgNode::~UncalibvsAlgNode | ( | void | ) |
Destructor.
This destructor frees all necessary dynamic memory allocated within this this class.
Definition at line 100 of file uncalibvs_alg_node.cpp.
void UncalibvsAlgNode::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< Uncalibvs_Algorithm >.
Definition at line 715 of file uncalibvs_alg_node.cpp.
void UncalibvsAlgNode::height_callback | ( | const mav_msgs::Height::ConstPtr & | msg | ) | [private] |
Definition at line 190 of file uncalibvs_alg_node.cpp.
void UncalibvsAlgNode::imu_callback | ( | const sensor_msgs::Imu::ConstPtr & | msg | ) | [private] |
Definition at line 209 of file uncalibvs_alg_node.cpp.
void UncalibvsAlgNode::input_tag_callback | ( | const ar_pose::ARMarkers::ConstPtr & | msg | ) | [private] |
Temp to put control without marker only on Z axis
Pose-based Control
Image-based Control
Definition at line 409 of file uncalibvs_alg_node.cpp.
void UncalibvsAlgNode::ll_status_callback | ( | const asctec_msgs::LLStatus::ConstPtr & | msg | ) | [private] |
Definition at line 147 of file uncalibvs_alg_node.cpp.
void UncalibvsAlgNode::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< Uncalibvs_Algorithm >.
Definition at line 105 of file uncalibvs_alg_node.cpp.
void UncalibvsAlgNode::model_state_callback | ( | const asctec_msgs::IMUCalcData::ConstPtr & | msg | ) | [private] |
Definition at line 336 of file uncalibvs_alg_node.cpp.
void UncalibvsAlgNode::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< Uncalibvs_Algorithm >.
Definition at line 653 of file uncalibvs_alg_node.cpp.
bool UncalibvsAlgNode::activate_ [private] |
Definition at line 109 of file uncalibvs_alg_node.h.
double UncalibvsAlgNode::angle_pitch_ [private] |
Definition at line 111 of file uncalibvs_alg_node.h.
double UncalibvsAlgNode::angle_roll_ [private] |
Definition at line 111 of file uncalibvs_alg_node.h.
geometry_msgs::Twist UncalibvsAlgNode::body_twist_msg_ [private] |
Definition at line 67 of file uncalibvs_alg_node.h.
Definition at line 66 of file uncalibvs_alg_node.h.
std_msgs::Bool UncalibvsAlgNode::Bool_msg_ [private] |
Definition at line 87 of file uncalibvs_alg_node.h.
double UncalibvsAlgNode::buff_speed_ [private] |
Definition at line 111 of file uncalibvs_alg_node.h.
bool UncalibvsAlgNode::calibrated_ctrl_ [private] |
Definition at line 109 of file uncalibvs_alg_node.h.
Definition at line 81 of file uncalibvs_alg_node.h.
Definition at line 80 of file uncalibvs_alg_node.h.
Definition at line 83 of file uncalibvs_alg_node.h.
Definition at line 82 of file uncalibvs_alg_node.h.
Definition at line 85 of file uncalibvs_alg_node.h.
Definition at line 84 of file uncalibvs_alg_node.h.
Definition at line 79 of file uncalibvs_alg_node.h.
Definition at line 78 of file uncalibvs_alg_node.h.
double UncalibvsAlgNode::ctrl_ref_ [private] |
Definition at line 111 of file uncalibvs_alg_node.h.
double UncalibvsAlgNode::ENUyaw_ [private] |
Definition at line 111 of file uncalibvs_alg_node.h.
double UncalibvsAlgNode::ENUyaw_fix_ [private] |
Definition at line 111 of file uncalibvs_alg_node.h.
Eigen::MatrixXf UncalibvsAlgNode::error_ [private] |
Definition at line 122 of file uncalibvs_alg_node.h.
bool UncalibvsAlgNode::estop_ [private] |
Definition at line 109 of file uncalibvs_alg_node.h.
Definition at line 86 of file uncalibvs_alg_node.h.
double UncalibvsAlgNode::final_z_ [private] |
Definition at line 111 of file uncalibvs_alg_node.h.
double UncalibvsAlgNode::height_ [private] |
Definition at line 111 of file uncalibvs_alg_node.h.
double UncalibvsAlgNode::height_fix_ [private] |
Definition at line 111 of file uncalibvs_alg_node.h.
CMutex UncalibvsAlgNode::height_mutex_ [private] |
Definition at line 96 of file uncalibvs_alg_node.h.
Definition at line 94 of file uncalibvs_alg_node.h.
CMutex UncalibvsAlgNode::imu_mutex_ [private] |
Definition at line 99 of file uncalibvs_alg_node.h.
Definition at line 97 of file uncalibvs_alg_node.h.
bool UncalibvsAlgNode::init_ [private] |
Definition at line 109 of file uncalibvs_alg_node.h.
CMutex UncalibvsAlgNode::input_tag_mutex_ [private] |
Definition at line 104 of file uncalibvs_alg_node.h.
Definition at line 105 of file uncalibvs_alg_node.h.
double UncalibvsAlgNode::lambda_ [private] |
Definition at line 111 of file uncalibvs_alg_node.h.
CMutex UncalibvsAlgNode::ll_status_mutex_ [private] |
Definition at line 93 of file uncalibvs_alg_node.h.
Definition at line 91 of file uncalibvs_alg_node.h.
CMutex UncalibvsAlgNode::model_state_mutex_ [private] |
Definition at line 102 of file uncalibvs_alg_node.h.
Definition at line 100 of file uncalibvs_alg_node.h.
bool UncalibvsAlgNode::output_files_ [private] |
Definition at line 109 of file uncalibvs_alg_node.h.
std::string UncalibvsAlgNode::path_ [private] |
Definition at line 113 of file uncalibvs_alg_node.h.
Definition at line 115 of file uncalibvs_alg_node.h.
Definition at line 115 of file uncalibvs_alg_node.h.
Definition at line 115 of file uncalibvs_alg_node.h.
Definition at line 115 of file uncalibvs_alg_node.h.
Definition at line 71 of file uncalibvs_alg_node.h.
Definition at line 70 of file uncalibvs_alg_node.h.
double UncalibvsAlgNode::pitch_kd_ [private] |
Definition at line 111 of file uncalibvs_alg_node.h.
double UncalibvsAlgNode::pitch_kp_ [private] |
Definition at line 111 of file uncalibvs_alg_node.h.
bool UncalibvsAlgNode::quadrotor_ [private] |
Definition at line 109 of file uncalibvs_alg_node.h.
bool UncalibvsAlgNode::random_points_ [private] |
Definition at line 109 of file uncalibvs_alg_node.h.
Definition at line 73 of file uncalibvs_alg_node.h.
Definition at line 72 of file uncalibvs_alg_node.h.
double UncalibvsAlgNode::roll_kd_ [private] |
Definition at line 111 of file uncalibvs_alg_node.h.
double UncalibvsAlgNode::roll_kp_ [private] |
Definition at line 111 of file uncalibvs_alg_node.h.
int UncalibvsAlgNode::rollpitch_div_ [private] |
Definition at line 119 of file uncalibvs_alg_node.h.
double UncalibvsAlgNode::rollpitch_sat_max_ [private] |
Definition at line 111 of file uncalibvs_alg_node.h.
double UncalibvsAlgNode::rollpitch_sat_min_ [private] |
Definition at line 111 of file uncalibvs_alg_node.h.
Eigen::Matrix3f UncalibvsAlgNode::Rquad_inertial_ [private] |
Definition at line 121 of file uncalibvs_alg_node.h.
double UncalibvsAlgNode::sat_max_ [private] |
Definition at line 111 of file uncalibvs_alg_node.h.
double UncalibvsAlgNode::sat_min_ [private] |
Definition at line 111 of file uncalibvs_alg_node.h.
bool UncalibvsAlgNode::serial_ [private] |
Definition at line 109 of file uncalibvs_alg_node.h.
Definition at line 76 of file uncalibvs_alg_node.h.
Definition at line 77 of file uncalibvs_alg_node.h.
Eigen::MatrixXf UncalibvsAlgNode::tag_error_ [private] |
Definition at line 122 of file uncalibvs_alg_node.h.
Definition at line 115 of file uncalibvs_alg_node.h.
Definition at line 115 of file uncalibvs_alg_node.h.
Definition at line 115 of file uncalibvs_alg_node.h.
Definition at line 115 of file uncalibvs_alg_node.h.
double UncalibvsAlgNode::tag_pitch_kd_ [private] |
Definition at line 111 of file uncalibvs_alg_node.h.
double UncalibvsAlgNode::tag_pitch_kp_ [private] |
Definition at line 111 of file uncalibvs_alg_node.h.
double UncalibvsAlgNode::tag_roll_kd_ [private] |
Definition at line 111 of file uncalibvs_alg_node.h.
double UncalibvsAlgNode::tag_roll_kp_ [private] |
Definition at line 111 of file uncalibvs_alg_node.h.
double UncalibvsAlgNode::tag_thrust_kd_ [private] |
Definition at line 111 of file uncalibvs_alg_node.h.
double UncalibvsAlgNode::tag_thrust_kp_ [private] |
Definition at line 111 of file uncalibvs_alg_node.h.
double UncalibvsAlgNode::tag_yaw_kd_ [private] |
Definition at line 111 of file uncalibvs_alg_node.h.
double UncalibvsAlgNode::tag_yaw_kp_ [private] |
Definition at line 111 of file uncalibvs_alg_node.h.
Definition at line 75 of file uncalibvs_alg_node.h.
Definition at line 74 of file uncalibvs_alg_node.h.
double UncalibvsAlgNode::thrust_kd_ [private] |
Definition at line 111 of file uncalibvs_alg_node.h.
double UncalibvsAlgNode::thrust_kp_ [private] |
Definition at line 111 of file uncalibvs_alg_node.h.
ros::Time UncalibvsAlgNode::time_ [private] |
Definition at line 117 of file uncalibvs_alg_node.h.
ros::Time UncalibvsAlgNode::time_last_ [private] |
Definition at line 117 of file uncalibvs_alg_node.h.
bool UncalibvsAlgNode::traditional_ [private] |
Definition at line 109 of file uncalibvs_alg_node.h.
double UncalibvsAlgNode::trimm_x_ [private] |
Definition at line 111 of file uncalibvs_alg_node.h.
double UncalibvsAlgNode::trimm_y_ [private] |
Definition at line 111 of file uncalibvs_alg_node.h.
geometry_msgs::Twist UncalibvsAlgNode::twist_ctrl_out_ [private] |
Definition at line 88 of file uncalibvs_alg_node.h.
geometry_msgs::Twist UncalibvsAlgNode::twist_quad_ [private] |
Definition at line 88 of file uncalibvs_alg_node.h.
geometry_msgs::Twist UncalibvsAlgNode::twist_quad_asctec_ [private] |
Definition at line 88 of file uncalibvs_alg_node.h.
Definition at line 107 of file uncalibvs_alg_node.h.
Definition at line 69 of file uncalibvs_alg_node.h.
Definition at line 68 of file uncalibvs_alg_node.h.
double UncalibvsAlgNode::yaw_kd_ [private] |
Definition at line 111 of file uncalibvs_alg_node.h.
double UncalibvsAlgNode::yaw_kp_ [private] |
Definition at line 111 of file uncalibvs_alg_node.h.
double UncalibvsAlgNode::yaw_sat_max_ [private] |
Definition at line 111 of file uncalibvs_alg_node.h.
double UncalibvsAlgNode::yaw_sat_min_ [private] |
Definition at line 111 of file uncalibvs_alg_node.h.