#include <bebop_driver_nodelet.h>
Public Member Functions | |
BebopDriverNodelet () | |
virtual void | onInit () |
virtual | ~BebopDriverNodelet () |
Private Member Functions | |
void | AuxThread () |
void | CameraMoveCallback (const geometry_msgs::TwistConstPtr &twist_ptr) |
void | CameraPublisherThread () |
void | CmdVelCallback (const geometry_msgs::TwistConstPtr &twist_ptr) |
void | EmergencyCallback (const std_msgs::EmptyConstPtr &empty_ptr) |
void | FlatTrimCallback (const std_msgs::EmptyConstPtr &empty_ptr) |
void | FlipAnimationCallback (const std_msgs::UInt8ConstPtr &animid_ptr) |
void | LandCallback (const std_msgs::EmptyConstPtr &empty_ptr) |
void | NavigateHomeCallback (const std_msgs::BoolConstPtr &start_stop_ptr) |
void | ParamCallback (bebop_driver::BebopArdrone3Config &config, uint32_t level) |
void | PauseAutonomousFlightCallback (const std_msgs::EmptyConstPtr &empty_ptr) |
void | SetExposureCallback (const std_msgs::Float32ConstPtr &exposure_ptr) |
void | StartAutonomousFlightCallback (const std_msgs::StringConstPtr &file_path_ptr) |
void | StopAutonomousFlightCallback (const std_msgs::EmptyConstPtr &empty_ptr) |
void | TakeoffCallback (const std_msgs::EmptyConstPtr &empty_ptr) |
void | TakeSnapshotCallback (const std_msgs::EmptyConstPtr &empty_ptr) |
void | ToggleRecordingCallback (const std_msgs::BoolConstPtr &toggle_ptr) |
Private Attributes | |
ros::Subscriber | animation_sub_ |
boost::shared_ptr< boost::thread > | aux_thread_ptr_ |
boost::shared_ptr < bebop_driver::Bebop > | bebop_ptr_ |
sensor_msgs::CameraInfoPtr | camera_info_msg_ptr_ |
ros::Publisher | camera_joint_pub_ |
ros::Subscriber | camera_move_sub_ |
boost::shared_ptr< boost::thread > | camera_pub_thread_ptr_ |
geometry_msgs::Twist | camera_twist_ |
boost::shared_ptr < camera_info_manager::CameraInfoManager > | cinfo_manager_ptr_ |
ros::Subscriber | cmd_vel_sub_ |
boost::shared_ptr < dynamic_reconfigure::Server < bebop_driver::BebopArdrone3Config > > | dynr_serv_ptr_ |
ros::Subscriber | exposure_sub_ |
ros::Subscriber | flattrim_sub_ |
ros::Publisher | gps_fix_pub_ |
boost::shared_ptr < image_transport::ImageTransport > | image_transport_ptr_ |
image_transport::CameraPublisher | image_transport_pub_ |
ros::Subscriber | land_sub_ |
ros::Subscriber | navigatehome_sub_ |
ros::Publisher | odom_pub_ |
std::string | param_camera_frame_id_ |
double | param_cmd_vel_timeout_ |
std::string | param_odom_frame_id_ |
bool | param_publish_odom_tf_ |
ros::Subscriber | pause_autoflight_sub_ |
geometry_msgs::Twist | prev_bebop_twist_ |
geometry_msgs::Twist | prev_camera_twist_ |
ros::Time | prev_twist_stamp_ |
ros::Subscriber | reset_sub_ |
ros::Subscriber | snapshot_sub_ |
ros::Subscriber | start_autoflight_sub_ |
ros::Subscriber | stop_autoflight_sub_ |
ros::Subscriber | takeoff_sub_ |
ros::Subscriber | toggle_recording_sub_ |
boost::mutex | twist_mutex_ |
Definition at line 99 of file bebop_driver_nodelet.h.
Definition at line 71 of file bebop_driver_nodelet.cpp.
bebop_driver::BebopDriverNodelet::~BebopDriverNodelet | ( | ) | [virtual] |
Definition at line 188 of file bebop_driver_nodelet.cpp.
void bebop_driver::BebopDriverNodelet::AuxThread | ( | ) | [private] |
Definition at line 476 of file bebop_driver_nodelet.cpp.
void bebop_driver::BebopDriverNodelet::CameraMoveCallback | ( | const geometry_msgs::TwistConstPtr & | twist_ptr | ) | [private] |
Definition at line 260 of file bebop_driver_nodelet.cpp.
void bebop_driver::BebopDriverNodelet::CameraPublisherThread | ( | ) | [private] |
Definition at line 430 of file bebop_driver_nodelet.cpp.
void bebop_driver::BebopDriverNodelet::CmdVelCallback | ( | const geometry_msgs::TwistConstPtr & | twist_ptr | ) | [private] |
Definition at line 207 of file bebop_driver_nodelet.cpp.
void bebop_driver::BebopDriverNodelet::EmergencyCallback | ( | const std_msgs::EmptyConstPtr & | empty_ptr | ) | [private] |
Definition at line 279 of file bebop_driver_nodelet.cpp.
void bebop_driver::BebopDriverNodelet::FlatTrimCallback | ( | const std_msgs::EmptyConstPtr & | empty_ptr | ) | [private] |
Definition at line 291 of file bebop_driver_nodelet.cpp.
void bebop_driver::BebopDriverNodelet::FlipAnimationCallback | ( | const std_msgs::UInt8ConstPtr & | animid_ptr | ) | [private] |
Definition at line 368 of file bebop_driver_nodelet.cpp.
void bebop_driver::BebopDriverNodelet::LandCallback | ( | const std_msgs::EmptyConstPtr & | empty_ptr | ) | [private] |
Definition at line 247 of file bebop_driver_nodelet.cpp.
void bebop_driver::BebopDriverNodelet::NavigateHomeCallback | ( | const std_msgs::BoolConstPtr & | start_stop_ptr | ) | [private] |
Definition at line 305 of file bebop_driver_nodelet.cpp.
void bebop_driver::BebopDriverNodelet::onInit | ( | ) | [virtual] |
Implements nodelet::Nodelet.
Definition at line 77 of file bebop_driver_nodelet.cpp.
void bebop_driver::BebopDriverNodelet::ParamCallback | ( | bebop_driver::BebopArdrone3Config & | config, |
uint32_t | level | ||
) | [private] |
Definition at line 423 of file bebop_driver_nodelet.cpp.
void bebop_driver::BebopDriverNodelet::PauseAutonomousFlightCallback | ( | const std_msgs::EmptyConstPtr & | empty_ptr | ) | [private] |
Definition at line 342 of file bebop_driver_nodelet.cpp.
void bebop_driver::BebopDriverNodelet::SetExposureCallback | ( | const std_msgs::Float32ConstPtr & | exposure_ptr | ) | [private] |
Definition at line 395 of file bebop_driver_nodelet.cpp.
void bebop_driver::BebopDriverNodelet::StartAutonomousFlightCallback | ( | const std_msgs::StringConstPtr & | file_path_ptr | ) | [private] |
Definition at line 318 of file bebop_driver_nodelet.cpp.
void bebop_driver::BebopDriverNodelet::StopAutonomousFlightCallback | ( | const std_msgs::EmptyConstPtr & | empty_ptr | ) | [private] |
Definition at line 355 of file bebop_driver_nodelet.cpp.
void bebop_driver::BebopDriverNodelet::TakeoffCallback | ( | const std_msgs::EmptyConstPtr & | empty_ptr | ) | [private] |
Definition at line 235 of file bebop_driver_nodelet.cpp.
void bebop_driver::BebopDriverNodelet::TakeSnapshotCallback | ( | const std_msgs::EmptyConstPtr & | empty_ptr | ) | [private] |
Definition at line 382 of file bebop_driver_nodelet.cpp.
void bebop_driver::BebopDriverNodelet::ToggleRecordingCallback | ( | const std_msgs::BoolConstPtr & | toggle_ptr | ) | [private] |
Definition at line 408 of file bebop_driver_nodelet.cpp.
Definition at line 123 of file bebop_driver_nodelet.h.
boost::shared_ptr<boost::thread> bebop_driver::BebopDriverNodelet::aux_thread_ptr_ [private] |
Definition at line 104 of file bebop_driver_nodelet.h.
boost::shared_ptr<bebop_driver::Bebop> bebop_driver::BebopDriverNodelet::bebop_ptr_ [private] |
Definition at line 102 of file bebop_driver_nodelet.h.
sensor_msgs::CameraInfoPtr bebop_driver::BebopDriverNodelet::camera_info_msg_ptr_ [private] |
Definition at line 136 of file bebop_driver_nodelet.h.
Definition at line 129 of file bebop_driver_nodelet.h.
Definition at line 114 of file bebop_driver_nodelet.h.
boost::shared_ptr<boost::thread> bebop_driver::BebopDriverNodelet::camera_pub_thread_ptr_ [private] |
Definition at line 103 of file bebop_driver_nodelet.h.
geometry_msgs::Twist bebop_driver::BebopDriverNodelet::camera_twist_ [private] |
Definition at line 110 of file bebop_driver_nodelet.h.
boost::shared_ptr<camera_info_manager::CameraInfoManager> bebop_driver::BebopDriverNodelet::cinfo_manager_ptr_ [private] |
Definition at line 132 of file bebop_driver_nodelet.h.
Definition at line 113 of file bebop_driver_nodelet.h.
boost::shared_ptr<dynamic_reconfigure::Server<bebop_driver::BebopArdrone3Config> > bebop_driver::BebopDriverNodelet::dynr_serv_ptr_ [private] |
Definition at line 139 of file bebop_driver_nodelet.h.
Definition at line 125 of file bebop_driver_nodelet.h.
Definition at line 118 of file bebop_driver_nodelet.h.
Definition at line 130 of file bebop_driver_nodelet.h.
boost::shared_ptr<image_transport::ImageTransport> bebop_driver::BebopDriverNodelet::image_transport_ptr_ [private] |
Definition at line 133 of file bebop_driver_nodelet.h.
Definition at line 134 of file bebop_driver_nodelet.h.
Definition at line 116 of file bebop_driver_nodelet.h.
Definition at line 119 of file bebop_driver_nodelet.h.
Definition at line 128 of file bebop_driver_nodelet.h.
std::string bebop_driver::BebopDriverNodelet::param_camera_frame_id_ [private] |
Definition at line 142 of file bebop_driver_nodelet.h.
double bebop_driver::BebopDriverNodelet::param_cmd_vel_timeout_ [private] |
Definition at line 145 of file bebop_driver_nodelet.h.
std::string bebop_driver::BebopDriverNodelet::param_odom_frame_id_ [private] |
Definition at line 143 of file bebop_driver_nodelet.h.
bool bebop_driver::BebopDriverNodelet::param_publish_odom_tf_ [private] |
Definition at line 144 of file bebop_driver_nodelet.h.
Definition at line 121 of file bebop_driver_nodelet.h.
geometry_msgs::Twist bebop_driver::BebopDriverNodelet::prev_bebop_twist_ [private] |
Definition at line 106 of file bebop_driver_nodelet.h.
geometry_msgs::Twist bebop_driver::BebopDriverNodelet::prev_camera_twist_ [private] |
Definition at line 111 of file bebop_driver_nodelet.h.
Definition at line 107 of file bebop_driver_nodelet.h.
Definition at line 117 of file bebop_driver_nodelet.h.
Definition at line 124 of file bebop_driver_nodelet.h.
Definition at line 120 of file bebop_driver_nodelet.h.
Definition at line 122 of file bebop_driver_nodelet.h.
Definition at line 115 of file bebop_driver_nodelet.h.
Definition at line 126 of file bebop_driver_nodelet.h.
boost::mutex bebop_driver::BebopDriverNodelet::twist_mutex_ [private] |
Definition at line 108 of file bebop_driver_nodelet.h.