Public Member Functions | Public Attributes
GuardianControllerClass Class Reference

List of all members.

Public Member Functions

void check_command_subscriber (diagnostic_updater::DiagnosticStatusWrapper &stat)
void command_ptzCallback (const robotnik_msgs::ptzConstPtr &msg)
void commandCallback (const geometry_msgs::TwistConstPtr &msg)
 GuardianControllerClass (ros::NodeHandle h)
 Public constructor.
void imuCallback (const sensor_msgs::Imu &imu_msg)
void jointStateCallback (const sensor_msgs::JointStateConstPtr &msg)
void PublishOdometry ()
double radnorm (double value)
double radnorm2 (double value)
double saturation (double u, double min, double max)
void setCommand (const geometry_msgs::Twist &cmd_vel)
bool spin ()
bool srvCallback_GetMode (robotnik_msgs::get_mode::Request &request, robotnik_msgs::get_mode::Response &response)
bool srvCallback_SetMode (robotnik_msgs::set_mode::Request &request, robotnik_msgs::set_mode::Response &response)
bool srvCallback_SetOdometry (robotnik_msgs::set_odometry::Request &request, robotnik_msgs::set_odometry::Response &response)
int starting ()
 Controller startup in realtime.
void stopping ()
 Controller stopping.
void UpdateControl ()
 Controller update loop.
void UpdateOdometry ()

Public Attributes

int active_kinematic_mode_
double ang_vel_x_
double ang_vel_y_
double ang_vel_z_
double angularSpeedRads_
geometry_msgs::Twist base_vel_msg_
int blw_vel_
std::string blw_vel_topic_
int brw_vel_
std::string brw_vel_topic_
ros::Subscriber cmd_sub_
diagnostic_updater::FunctionDiagnosticTask command_freq_
double desired_freq_
diagnostic_updater::Updater diagnostic_
int flw_vel_
std::string flw_vel_topic_
diagnostic_updater::FrequencyStatus freq_diag_
int frw_vel_
std::string frw_vel_topic_
double guardian_d_tracks_m_
double guardian_trackwidth_
double guardian_wheel_diameter_
double guardian_wheelbase_
ros::Subscriber imu_sub_
std::string joint_back_left_wheel
std::string joint_back_right_wheel
std::string joint_camera_pan
std::string joint_camera_tilt
std::string joint_front_left_wheel
std::string joint_front_right_wheel
sensor_msgs::JointState joint_state_
ros::Subscriber joint_state_sub_
int kinematic_modes_
ros::Time last_command_time_
double lin_acc_x_
double lin_acc_y_
double lin_acc_z_
double linearSpeedXMps_
double linearSpeedYMps_
ros::NodeHandle node_handle_
tf::TransformBroadcaster odom_broadcaster
ros::Publisher odom_pub_
double orientation_w_
double orientation_x_
double orientation_y_
double orientation_z_
int pan_pos_
std::string pan_pos_topic_
double pos_ref_pan_
double pos_ref_tilt_
ros::NodeHandle private_node_handle_
ros::Subscriber ptz_sub_
bool publish_odom_tf_
bool read_state_
ros::Publisher ref_pos_blw_
ros::Publisher ref_pos_brw_
ros::Publisher ref_pos_flw_
ros::Publisher ref_pos_frw_
ros::Publisher ref_pos_pan_
ros::Publisher ref_pos_tilt_
ros::Publisher ref_vel_blw_
ros::Publisher ref_vel_brw_
ros::Publisher ref_vel_flw_
ros::Publisher ref_vel_frw_
std::string robot_model_
double robot_pose_pa_
double robot_pose_px_
double robot_pose_py_
double robot_pose_vx_
double robot_pose_vy_
ros::ServiceServer srv_GetMode_
ros::ServiceServer srv_SetMode_
ros::ServiceServer srv_SetOdometry_
diagnostic_updater::HeaderlessTopicDiagnosticsubs_command_freq
int tilt_pos_
std::string tilt_pos_topic_
double v_ref_x_
double v_ref_y_
double v_ref_z_
double w_ref_

Detailed Description

Definition at line 69 of file guardian_robot_control.cpp.


Constructor & Destructor Documentation

Public constructor.

Definition at line 207 of file guardian_robot_control.cpp.


Member Function Documentation

Definition at line 531 of file guardian_robot_control.cpp.

void GuardianControllerClass::command_ptzCallback ( const robotnik_msgs::ptzConstPtr &  msg) [inline]

Definition at line 618 of file guardian_robot_control.cpp.

void GuardianControllerClass::commandCallback ( const geometry_msgs::TwistConstPtr &  msg) [inline]

Definition at line 607 of file guardian_robot_control.cpp.

void GuardianControllerClass::imuCallback ( const sensor_msgs::Imu &  imu_msg) [inline]

Definition at line 625 of file guardian_robot_control.cpp.

void GuardianControllerClass::jointStateCallback ( const sensor_msgs::JointStateConstPtr &  msg) [inline]

Definition at line 600 of file guardian_robot_control.cpp.

Definition at line 462 of file guardian_robot_control.cpp.

double GuardianControllerClass::radnorm ( double  value) [inline]

Definition at line 648 of file guardian_robot_control.cpp.

double GuardianControllerClass::radnorm2 ( double  value) [inline]

Definition at line 655 of file guardian_robot_control.cpp.

double GuardianControllerClass::saturation ( double  u,
double  min,
double  max 
) [inline]

Definition at line 641 of file guardian_robot_control.cpp.

void GuardianControllerClass::setCommand ( const geometry_msgs::Twist &  cmd_vel) [inline]

Definition at line 548 of file guardian_robot_control.cpp.

bool GuardianControllerClass::spin ( ) [inline]

Definition at line 662 of file guardian_robot_control.cpp.

bool GuardianControllerClass::srvCallback_GetMode ( robotnik_msgs::get_mode::Request &  request,
robotnik_msgs::get_mode::Response &  response 
) [inline]

Definition at line 579 of file guardian_robot_control.cpp.

bool GuardianControllerClass::srvCallback_SetMode ( robotnik_msgs::set_mode::Request &  request,
robotnik_msgs::set_mode::Response &  response 
) [inline]

Definition at line 558 of file guardian_robot_control.cpp.

bool GuardianControllerClass::srvCallback_SetOdometry ( robotnik_msgs::set_odometry::Request &  request,
robotnik_msgs::set_odometry::Response &  response 
) [inline]

Definition at line 587 of file guardian_robot_control.cpp.

Controller startup in realtime.

Definition at line 337 of file guardian_robot_control.cpp.

Controller stopping.

Definition at line 523 of file guardian_robot_control.cpp.

Controller update loop.

Definition at line 363 of file guardian_robot_control.cpp.

Definition at line 443 of file guardian_robot_control.cpp.


Member Data Documentation

Definition at line 137 of file guardian_robot_control.cpp.

Definition at line 179 of file guardian_robot_control.cpp.

Definition at line 180 of file guardian_robot_control.cpp.

Definition at line 181 of file guardian_robot_control.cpp.

Definition at line 146 of file guardian_robot_control.cpp.

Definition at line 159 of file guardian_robot_control.cpp.

Definition at line 140 of file guardian_robot_control.cpp.

Definition at line 119 of file guardian_robot_control.cpp.

Definition at line 140 of file guardian_robot_control.cpp.

Definition at line 118 of file guardian_robot_control.cpp.

Definition at line 103 of file guardian_robot_control.cpp.

Definition at line 82 of file guardian_robot_control.cpp.

Definition at line 75 of file guardian_robot_control.cpp.

Definition at line 78 of file guardian_robot_control.cpp.

Definition at line 140 of file guardian_robot_control.cpp.

Definition at line 117 of file guardian_robot_control.cpp.

Definition at line 79 of file guardian_robot_control.cpp.

Definition at line 140 of file guardian_robot_control.cpp.

Definition at line 116 of file guardian_robot_control.cpp.

Definition at line 174 of file guardian_robot_control.cpp.

Definition at line 176 of file guardian_robot_control.cpp.

Definition at line 173 of file guardian_robot_control.cpp.

Definition at line 175 of file guardian_robot_control.cpp.

Definition at line 195 of file guardian_robot_control.cpp.

Definition at line 124 of file guardian_robot_control.cpp.

Definition at line 125 of file guardian_robot_control.cpp.

Definition at line 128 of file guardian_robot_control.cpp.

Definition at line 129 of file guardian_robot_control.cpp.

Definition at line 123 of file guardian_robot_control.cpp.

Definition at line 122 of file guardian_robot_control.cpp.

sensor_msgs::JointState GuardianControllerClass::joint_state_

Definition at line 156 of file guardian_robot_control.cpp.

Definition at line 100 of file guardian_robot_control.cpp.

Definition at line 136 of file guardian_robot_control.cpp.

Definition at line 81 of file guardian_robot_control.cpp.

Definition at line 183 of file guardian_robot_control.cpp.

Definition at line 184 of file guardian_robot_control.cpp.

Definition at line 185 of file guardian_robot_control.cpp.

Definition at line 144 of file guardian_robot_control.cpp.

Definition at line 145 of file guardian_robot_control.cpp.

Definition at line 73 of file guardian_robot_control.cpp.

Definition at line 201 of file guardian_robot_control.cpp.

Definition at line 198 of file guardian_robot_control.cpp.

Definition at line 190 of file guardian_robot_control.cpp.

Definition at line 187 of file guardian_robot_control.cpp.

Definition at line 188 of file guardian_robot_control.cpp.

Definition at line 189 of file guardian_robot_control.cpp.

Definition at line 141 of file guardian_robot_control.cpp.

Definition at line 132 of file guardian_robot_control.cpp.

Definition at line 166 of file guardian_robot_control.cpp.

Definition at line 167 of file guardian_robot_control.cpp.

Definition at line 74 of file guardian_robot_control.cpp.

Definition at line 106 of file guardian_robot_control.cpp.

Definition at line 193 of file guardian_robot_control.cpp.

Definition at line 170 of file guardian_robot_control.cpp.

Definition at line 94 of file guardian_robot_control.cpp.

Definition at line 95 of file guardian_robot_control.cpp.

Definition at line 92 of file guardian_robot_control.cpp.

Definition at line 93 of file guardian_robot_control.cpp.

Definition at line 96 of file guardian_robot_control.cpp.

Definition at line 97 of file guardian_robot_control.cpp.

Definition at line 90 of file guardian_robot_control.cpp.

Definition at line 91 of file guardian_robot_control.cpp.

Definition at line 88 of file guardian_robot_control.cpp.

Definition at line 89 of file guardian_robot_control.cpp.

Definition at line 85 of file guardian_robot_control.cpp.

Definition at line 151 of file guardian_robot_control.cpp.

Definition at line 149 of file guardian_robot_control.cpp.

Definition at line 150 of file guardian_robot_control.cpp.

Definition at line 152 of file guardian_robot_control.cpp.

Definition at line 153 of file guardian_robot_control.cpp.

Definition at line 113 of file guardian_robot_control.cpp.

Definition at line 112 of file guardian_robot_control.cpp.

Definition at line 111 of file guardian_robot_control.cpp.

Definition at line 80 of file guardian_robot_control.cpp.

Definition at line 141 of file guardian_robot_control.cpp.

Definition at line 133 of file guardian_robot_control.cpp.

Definition at line 162 of file guardian_robot_control.cpp.

Definition at line 163 of file guardian_robot_control.cpp.

Definition at line 165 of file guardian_robot_control.cpp.

Definition at line 164 of file guardian_robot_control.cpp.


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


guardian_robot_control
Author(s): Roberto Guzmán
autogenerated on Fri Aug 28 2015 10:59:33