Public Member Functions | |
bool | init (QuadrotorInterface *interface, ros::NodeHandle &root_nh, ros::NodeHandle &controller_nh) |
void | poseCommandCallback (const geometry_msgs::PoseStampedConstPtr &command) |
PoseController () | |
void | reset () |
void | starting (const ros::Time &time) |
void | stopping (const ros::Time &time) |
void | twistCommandCallback (const geometry_msgs::TwistStampedConstPtr &command) |
void | update (const ros::Time &time, const ros::Duration &period) |
~PoseController () | |
Private Attributes | |
ros::NodeHandle | node_handle_ |
struct { | |
PID x | |
PID y | |
PID yaw | |
PID z | |
} | pid_ |
PoseHandlePtr | pose_ |
geometry_msgs::PoseStamped | pose_command_ |
PoseCommandHandlePtr | pose_input_ |
ros::Subscriber | pose_subscriber_ |
TwistHandlePtr | twist_ |
geometry_msgs::TwistStamped | twist_command_ |
TwistCommandHandlePtr | twist_input_ |
TwistCommandHandlePtr | twist_limit_ |
TwistCommandHandlePtr | twist_output_ |
ros::Subscriber | twist_subscriber_ |
Definition at line 44 of file pose_controller.cpp.
Definition at line 47 of file pose_controller.cpp.
Definition at line 49 of file pose_controller.cpp.
bool hector_quadrotor_controller::PoseController::init | ( | QuadrotorInterface * | interface, |
ros::NodeHandle & | root_nh, | ||
ros::NodeHandle & | controller_nh | ||
) | [inline] |
Definition at line 51 of file pose_controller.cpp.
void hector_quadrotor_controller::PoseController::poseCommandCallback | ( | const geometry_msgs::PoseStampedConstPtr & | command | ) | [inline] |
Definition at line 85 of file pose_controller.cpp.
void hector_quadrotor_controller::PoseController::reset | ( | ) | [inline] |
Definition at line 77 of file pose_controller.cpp.
void hector_quadrotor_controller::PoseController::starting | ( | const ros::Time & | time | ) | [inline, virtual] |
Reimplemented from controller_interface::ControllerBase.
Definition at line 107 of file pose_controller.cpp.
void hector_quadrotor_controller::PoseController::stopping | ( | const ros::Time & | time | ) | [inline, virtual] |
Reimplemented from controller_interface::ControllerBase.
Definition at line 113 of file pose_controller.cpp.
void hector_quadrotor_controller::PoseController::twistCommandCallback | ( | const geometry_msgs::TwistStampedConstPtr & | command | ) | [inline] |
Definition at line 96 of file pose_controller.cpp.
void hector_quadrotor_controller::PoseController::update | ( | const ros::Time & | time, |
const ros::Duration & | period | ||
) | [inline, virtual] |
Implements controller_interface::ControllerBase.
Definition at line 118 of file pose_controller.cpp.
Definition at line 189 of file pose_controller.cpp.
struct { ... } hector_quadrotor_controller::PoseController::pid_ [private] |
Definition at line 179 of file pose_controller.cpp.
geometry_msgs::PoseStamped hector_quadrotor_controller::PoseController::pose_command_ [private] |
Definition at line 186 of file pose_controller.cpp.
Definition at line 180 of file pose_controller.cpp.
Definition at line 190 of file pose_controller.cpp.
Definition at line 181 of file pose_controller.cpp.
geometry_msgs::TwistStamped hector_quadrotor_controller::PoseController::twist_command_ [private] |
Definition at line 187 of file pose_controller.cpp.
Definition at line 182 of file pose_controller.cpp.
Definition at line 183 of file pose_controller.cpp.
Definition at line 184 of file pose_controller.cpp.
Definition at line 191 of file pose_controller.cpp.
Definition at line 194 of file pose_controller.cpp.
Definition at line 195 of file pose_controller.cpp.
Definition at line 197 of file pose_controller.cpp.
Definition at line 196 of file pose_controller.cpp.