Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | Static Private Attributes
asr_flir_ptu_controller::PTUController Class Reference

#include <PTUController.h>

List of all members.

Public Member Functions

double getCurrentPan ()
double getCurrentTilt ()
std::string getDefaultStateCmdTopicName ()
std::string getDefaultStateTopicName ()
double getMargin () const
double getMaximumPan ()
double getMaximumTilt ()
int getMaxSteps ()
double getMinimumPan ()
double getMinimumTilt ()
double getTimeToWait ()
double getToleranceValue ()
 PTUController (ros::NodeHandle &n, std::string name)
void setMargin (double value)
 ~PTUController ()

Static Public Member Functions

static double getRadianToDegree ()

Private Member Functions

void currentStateArrived (const asr_flir_ptu_driver::State::ConstPtr &msg)
void goalCB ()
void preemptCB ()
void setSettings ()
bool validate (double pan, double tilt)

Private Attributes

ros::ServiceClient alive
std::string alive_service
std::string commandTopicName
int count
double current_pan
double current_tilt
double desired_pan
double desired_tilt
std::vector< std::map
< std::string, double > > 
forbiddenAreas
ros::Time lastStateTime
double margin
double max_pan
double max_tilt
int maxSteps
double min_pan
double min_tilt
ros::NodeHandle nodeHandle
int seq_num
actionlib::SimpleActionServer
< asr_flir_ptu_controller::PTUMovementAction > 
simpleActionServer
asr_flir_ptu_controller::PTUMovementFeedback simpleActionServerFeedback
asr_flir_ptu_controller::PTUMovementResult simpleActionServerResult
double startDistance
sensor_msgs::JointState stateCommandMessage
ros::Publisher stateCommandPublisher
ros::Subscriber stateSubscriber
sensor_msgs::JointState target_joint
double timeToWait
double tolerance
std::string topicName
ros::ServiceClient validate_client
std::string validation_service

Static Private Attributes

static const double RAD_TO_DEG = 180.0 / M_PI

Detailed Description

Definition at line 12 of file PTUController.h.


Constructor & Destructor Documentation

Definition at line 6 of file PTUController.cpp.

Definition at line 30 of file PTUController.cpp.


Member Function Documentation

void asr_flir_ptu_controller::PTUController::currentStateArrived ( const asr_flir_ptu_driver::State::ConstPtr &  msg) [private]

Definition at line 32 of file PTUController.cpp.

Definition at line 181 of file PTUController.cpp.

Definition at line 184 of file PTUController.cpp.

Definition at line 188 of file PTUController.cpp.

Definition at line 191 of file PTUController.cpp.

Definition at line 203 of file PTUController.cpp.

Definition at line 167 of file PTUController.cpp.

Definition at line 174 of file PTUController.cpp.

Definition at line 200 of file PTUController.cpp.

Definition at line 170 of file PTUController.cpp.

Definition at line 177 of file PTUController.cpp.

Definition at line 31 of file PTUController.h.

Definition at line 197 of file PTUController.cpp.

Definition at line 194 of file PTUController.cpp.

Definition at line 79 of file PTUController.cpp.

Definition at line 150 of file PTUController.cpp.

Definition at line 208 of file PTUController.cpp.

Get all requiredParameters from the nodehandle

Definition at line 157 of file PTUController.cpp.

bool asr_flir_ptu_controller::PTUController::validate ( double  pan,
double  tilt 
) [private]

Member Data Documentation

Definition at line 52 of file PTUController.h.

Definition at line 76 of file PTUController.h.

Definition at line 74 of file PTUController.h.

Definition at line 42 of file PTUController.h.

Definition at line 57 of file PTUController.h.

Definition at line 62 of file PTUController.h.

Definition at line 58 of file PTUController.h.

Definition at line 63 of file PTUController.h.

std::vector< std::map< std::string, double> > asr_flir_ptu_controller::PTUController::forbiddenAreas [private]

Definition at line 72 of file PTUController.h.

Definition at line 47 of file PTUController.h.

Definition at line 71 of file PTUController.h.

Definition at line 59 of file PTUController.h.

Definition at line 64 of file PTUController.h.

Definition at line 68 of file PTUController.h.

Definition at line 60 of file PTUController.h.

Definition at line 65 of file PTUController.h.

Definition at line 46 of file PTUController.h.

const double asr_flir_ptu_controller::PTUController::RAD_TO_DEG = 180.0 / M_PI [static, private]

Definition at line 55 of file PTUController.h.

Definition at line 66 of file PTUController.h.

Definition at line 77 of file PTUController.h.

asr_flir_ptu_controller::PTUMovementFeedback asr_flir_ptu_controller::PTUController::simpleActionServerFeedback [private]

Definition at line 78 of file PTUController.h.

asr_flir_ptu_controller::PTUMovementResult asr_flir_ptu_controller::PTUController::simpleActionServerResult [private]

Definition at line 79 of file PTUController.h.

Definition at line 43 of file PTUController.h.

Definition at line 53 of file PTUController.h.

Definition at line 49 of file PTUController.h.

Definition at line 50 of file PTUController.h.

sensor_msgs::JointState asr_flir_ptu_controller::PTUController::target_joint [private]

Definition at line 45 of file PTUController.h.

Definition at line 69 of file PTUController.h.

Definition at line 70 of file PTUController.h.

Definition at line 73 of file PTUController.h.

Definition at line 51 of file PTUController.h.

Definition at line 75 of file PTUController.h.


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


asr_flir_ptu_controller
Author(s): Ralph Schleicher, Patrick Schlosser
autogenerated on Thu Jun 6 2019 21:24:15