Public Member Functions | Private Member Functions | Private Attributes
starmac_robots_asctec::AscTecHLInterfaceAdapterNodelet Class Reference
Inheritance diagram for starmac_robots_asctec::AscTecHLInterfaceAdapterNodelet:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 AscTecHLInterfaceAdapterNodelet ()
void onInit ()

Private Member Functions

void assemble_command (double roll, double pitch, double yaw_rate, double thrust, asctec_hl_comm::mav_ctrlPtr ctrl_msg)
void cfgCallback (starmac_robots_asctec::AscTecAdapterConfig &config, uint32_t level)
double computeThrust (const double alt_cmd, ros::Duration &dt)
double computeYawRate (double yaw_cmd, ros::Duration &dt)
void controlInputCallback (const flyer_controller::control_mode_outputConstPtr &msg)
void deadmanCallback (const ros::TimerEvent &e)
void diagnostics (diagnostic_updater::DiagnosticStatusWrapper &stat)
void getLatestYPR (double &yaw, double &pitch, double &roll)
void initDiagnostics ()
void initDynamicReconfigure ()
void initParameters ()
void initPublishers ()
void initSubscribers ()
void initTimers ()
bool isSafeToReconfigure ()
void landNowCallback (const std_msgs::BoolConstPtr &msg)
void mavStatusCallback (const asctec_hl_comm::mav_statusConstPtr &msg)
void motorEnableCallback (const std_msgs::BoolConstPtr &msg)
void rotateRollAndPitch (const double roll_cmd, const double pitch_cmd, double &roll_cmd_rotated, double &pitch_cmd_rotated)
void setAltControllerParams (double KP, double KI, double KD, double Ilimit)
void setYawControllerParams (double KP, double KI, double KD, double Ilimit)
void stateCallback (const nav_msgs::OdometryConstPtr &msg)

Private Attributes

double accel_bias
double alt_d_term
double alt_dd_term
double alt_i_term
double alt_Ilimit
double alt_KD
double alt_KDD
double alt_KI
double alt_KP
double alt_p_term
starmac_robots_asctec::Pid alt_pid
double alt_slew_rate_limit
bool battery_low_warning_sent
ros::Subscriber control_input_sub
bool deadman
ros::Duration deadman_timeout
ros::Timer deadman_timer
diagnostic_updater::Updater diag_updater
dynamic_reconfigure::Server
< starmac_robots_asctec::AscTecAdapterConfig > 
dyn_reconfig_srv
ros::Publisher estop_pub
bool estop_sent
diagnostic_updater::FrequencyStatus freq_status
bool got_first_control_input
bool got_first_state
ros::Publisher imu_pub
ros::Subscriber imu_sub
bool land_now
double land_now_min_thrust_ratio
ros::Subscriber land_now_sub
unsigned int land_now_thrust_decrease_rate
ros::Time last_imu_time
ros::Time last_mav_status_time
ros::Time last_motor_enable_time
ros::Time last_state_time
double last_thrust
double last_z_accel
double latest_battery_voltage
asctec_hl_comm::mav_status latest_mav_status
bool latest_motor_enable
nav_msgs::Odometry latest_state
bool mav_status_cb_called
ros::Subscriber mav_status_sub
ros::Duration max_control_input_age
double max_freq
ros::Duration max_mav_status_age
ros::Duration max_motor_enable_age
ros::Duration max_state_age
double max_thrust
double min_battery_voltage
double min_freq
ros::Subscriber motor_enable_sub
ros::NodeHandle nh
ros::NodeHandle nh_priv
double nominal_thrust
ros::Publisher output
double pitch_slew_rate_limit
double pitch_trim
flyer_controller::control_mode_output prev_control_input_msg
ros::Time prev_control_input_time
double roll_slew_rate_limit
double roll_trim
ros::Subscriber state_sub
bool thrust_autoadjust
double thrust_mult
double yaw_Ilimit
double yaw_KD
double yaw_KI
double yaw_KP
double yaw_offset
starmac_robots_asctec::Pid yaw_pid
double yaw_rate_limit
double yaw_slew_rate_limit

Detailed Description

Definition at line 82 of file asctec_hl_interface_adapter.cpp.


Constructor & Destructor Documentation

Definition at line 168 of file asctec_hl_interface_adapter.cpp.


Member Function Documentation

void starmac_robots_asctec::AscTecHLInterfaceAdapterNodelet::assemble_command ( double  roll,
double  pitch,
double  yaw_rate,
double  thrust,
asctec_hl_comm::mav_ctrlPtr  ctrl_msg 
) [inline, private]

Definition at line 696 of file asctec_hl_interface_adapter.cpp.

void starmac_robots_asctec::AscTecHLInterfaceAdapterNodelet::cfgCallback ( starmac_robots_asctec::AscTecAdapterConfig &  config,
uint32_t  level 
) [inline, private]

Definition at line 314 of file asctec_hl_interface_adapter.cpp.

double starmac_robots_asctec::AscTecHLInterfaceAdapterNodelet::computeThrust ( const double  alt_cmd,
ros::Duration dt 
) [inline, private]

Definition at line 615 of file asctec_hl_interface_adapter.cpp.

double starmac_robots_asctec::AscTecHLInterfaceAdapterNodelet::computeYawRate ( double  yaw_cmd,
ros::Duration dt 
) [inline, private]

Definition at line 664 of file asctec_hl_interface_adapter.cpp.

void starmac_robots_asctec::AscTecHLInterfaceAdapterNodelet::controlInputCallback ( const flyer_controller::control_mode_outputConstPtr &  msg) [inline, private]

Definition at line 485 of file asctec_hl_interface_adapter.cpp.

Definition at line 708 of file asctec_hl_interface_adapter.cpp.

void starmac_robots_asctec::AscTecHLInterfaceAdapterNodelet::diagnostics ( diagnostic_updater::DiagnosticStatusWrapper &  stat) [inline, private]

Definition at line 341 of file asctec_hl_interface_adapter.cpp.

void starmac_robots_asctec::AscTecHLInterfaceAdapterNodelet::getLatestYPR ( double &  yaw,
double &  pitch,
double &  roll 
) [inline, private]

Definition at line 680 of file asctec_hl_interface_adapter.cpp.

Definition at line 220 of file asctec_hl_interface_adapter.cpp.

Definition at line 229 of file asctec_hl_interface_adapter.cpp.

Definition at line 237 of file asctec_hl_interface_adapter.cpp.

Definition at line 276 of file asctec_hl_interface_adapter.cpp.

Definition at line 294 of file asctec_hl_interface_adapter.cpp.

Definition at line 284 of file asctec_hl_interface_adapter.cpp.

Definition at line 768 of file asctec_hl_interface_adapter.cpp.

void starmac_robots_asctec::AscTecHLInterfaceAdapterNodelet::landNowCallback ( const std_msgs::BoolConstPtr &  msg) [inline, private]

Definition at line 462 of file asctec_hl_interface_adapter.cpp.

void starmac_robots_asctec::AscTecHLInterfaceAdapterNodelet::mavStatusCallback ( const asctec_hl_comm::mav_statusConstPtr &  msg) [inline, private]

Definition at line 467 of file asctec_hl_interface_adapter.cpp.

void starmac_robots_asctec::AscTecHLInterfaceAdapterNodelet::motorEnableCallback ( const std_msgs::BoolConstPtr &  msg) [inline, private]

Definition at line 377 of file asctec_hl_interface_adapter.cpp.

Implements nodelet::Nodelet.

Definition at line 207 of file asctec_hl_interface_adapter.cpp.

void starmac_robots_asctec::AscTecHLInterfaceAdapterNodelet::rotateRollAndPitch ( const double  roll_cmd,
const double  pitch_cmd,
double &  roll_cmd_rotated,
double &  pitch_cmd_rotated 
) [inline, private]

Definition at line 606 of file asctec_hl_interface_adapter.cpp.

void starmac_robots_asctec::AscTecHLInterfaceAdapterNodelet::setAltControllerParams ( double  KP,
double  KI,
double  KD,
double  Ilimit 
) [inline, private]

Definition at line 329 of file asctec_hl_interface_adapter.cpp.

void starmac_robots_asctec::AscTecHLInterfaceAdapterNodelet::setYawControllerParams ( double  KP,
double  KI,
double  KD,
double  Ilimit 
) [inline, private]

Definition at line 335 of file asctec_hl_interface_adapter.cpp.

void starmac_robots_asctec::AscTecHLInterfaceAdapterNodelet::stateCallback ( const nav_msgs::OdometryConstPtr &  msg) [inline, private]

Definition at line 393 of file asctec_hl_interface_adapter.cpp.


Member Data Documentation

Definition at line 116 of file asctec_hl_interface_adapter.cpp.

Definition at line 154 of file asctec_hl_interface_adapter.cpp.

Definition at line 155 of file asctec_hl_interface_adapter.cpp.

Definition at line 153 of file asctec_hl_interface_adapter.cpp.

Definition at line 102 of file asctec_hl_interface_adapter.cpp.

Definition at line 100 of file asctec_hl_interface_adapter.cpp.

Definition at line 101 of file asctec_hl_interface_adapter.cpp.

Definition at line 99 of file asctec_hl_interface_adapter.cpp.

Definition at line 98 of file asctec_hl_interface_adapter.cpp.

Definition at line 152 of file asctec_hl_interface_adapter.cpp.

Definition at line 143 of file asctec_hl_interface_adapter.cpp.

Definition at line 111 of file asctec_hl_interface_adapter.cpp.

Definition at line 162 of file asctec_hl_interface_adapter.cpp.

Definition at line 128 of file asctec_hl_interface_adapter.cpp.

Definition at line 137 of file asctec_hl_interface_adapter.cpp.

Definition at line 97 of file asctec_hl_interface_adapter.cpp.

Definition at line 134 of file asctec_hl_interface_adapter.cpp.

Definition at line 88 of file asctec_hl_interface_adapter.cpp.

dynamic_reconfigure::Server<starmac_robots_asctec::AscTecAdapterConfig> starmac_robots_asctec::AscTecHLInterfaceAdapterNodelet::dyn_reconfig_srv [private]

Definition at line 93 of file asctec_hl_interface_adapter.cpp.

Definition at line 124 of file asctec_hl_interface_adapter.cpp.

Definition at line 158 of file asctec_hl_interface_adapter.cpp.

diagnostic_updater::FrequencyStatus starmac_robots_asctec::AscTecHLInterfaceAdapterNodelet::freq_status [private]

Definition at line 91 of file asctec_hl_interface_adapter.cpp.

Definition at line 164 of file asctec_hl_interface_adapter.cpp.

Definition at line 159 of file asctec_hl_interface_adapter.cpp.

Definition at line 125 of file asctec_hl_interface_adapter.cpp.

Definition at line 131 of file asctec_hl_interface_adapter.cpp.

Definition at line 157 of file asctec_hl_interface_adapter.cpp.

Definition at line 118 of file asctec_hl_interface_adapter.cpp.

Definition at line 132 of file asctec_hl_interface_adapter.cpp.

Definition at line 117 of file asctec_hl_interface_adapter.cpp.

Definition at line 142 of file asctec_hl_interface_adapter.cpp.

Definition at line 140 of file asctec_hl_interface_adapter.cpp.

Definition at line 139 of file asctec_hl_interface_adapter.cpp.

Definition at line 141 of file asctec_hl_interface_adapter.cpp.

Definition at line 165 of file asctec_hl_interface_adapter.cpp.

Definition at line 156 of file asctec_hl_interface_adapter.cpp.

Definition at line 160 of file asctec_hl_interface_adapter.cpp.

Definition at line 146 of file asctec_hl_interface_adapter.cpp.

Definition at line 136 of file asctec_hl_interface_adapter.cpp.

Definition at line 145 of file asctec_hl_interface_adapter.cpp.

Definition at line 163 of file asctec_hl_interface_adapter.cpp.

Definition at line 130 of file asctec_hl_interface_adapter.cpp.

Definition at line 150 of file asctec_hl_interface_adapter.cpp.

Definition at line 90 of file asctec_hl_interface_adapter.cpp.

Definition at line 149 of file asctec_hl_interface_adapter.cpp.

Definition at line 148 of file asctec_hl_interface_adapter.cpp.

Definition at line 151 of file asctec_hl_interface_adapter.cpp.

Definition at line 114 of file asctec_hl_interface_adapter.cpp.

Definition at line 161 of file asctec_hl_interface_adapter.cpp.

Definition at line 89 of file asctec_hl_interface_adapter.cpp.

Definition at line 127 of file asctec_hl_interface_adapter.cpp.

Definition at line 85 of file asctec_hl_interface_adapter.cpp.

Definition at line 86 of file asctec_hl_interface_adapter.cpp.

Definition at line 112 of file asctec_hl_interface_adapter.cpp.

Definition at line 123 of file asctec_hl_interface_adapter.cpp.

Definition at line 109 of file asctec_hl_interface_adapter.cpp.

Definition at line 119 of file asctec_hl_interface_adapter.cpp.

Definition at line 147 of file asctec_hl_interface_adapter.cpp.

Definition at line 138 of file asctec_hl_interface_adapter.cpp.

Definition at line 108 of file asctec_hl_interface_adapter.cpp.

Definition at line 120 of file asctec_hl_interface_adapter.cpp.

Definition at line 129 of file asctec_hl_interface_adapter.cpp.

Definition at line 115 of file asctec_hl_interface_adapter.cpp.

Definition at line 113 of file asctec_hl_interface_adapter.cpp.

Definition at line 106 of file asctec_hl_interface_adapter.cpp.

Definition at line 105 of file asctec_hl_interface_adapter.cpp.

Definition at line 104 of file asctec_hl_interface_adapter.cpp.

Definition at line 103 of file asctec_hl_interface_adapter.cpp.

Definition at line 121 of file asctec_hl_interface_adapter.cpp.

Definition at line 144 of file asctec_hl_interface_adapter.cpp.

Definition at line 107 of file asctec_hl_interface_adapter.cpp.

Definition at line 110 of file asctec_hl_interface_adapter.cpp.


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


starmac_robots_asctec
Author(s): Patrick Bouffard
autogenerated on Sun Jan 5 2014 11:38:03