Signals | Public Member Functions | Protected Attributes
PTU_Manager Class Reference

#include <ptu_manager.h>

List of all members.

Signals

void ptu_moved (double pan, double tilt)

Public Member Functions

double getPan ()
double getTilt ()
bool nextPose ()
void ptu_callback (double pan, double tilt)
 PTU_Manager (double pan_min_angle, double pan_max_angle, double tilt_min_angle, double tilt_max_angle, int pan_step_count, int tilt_step_count)
void sendJoint (double pan, double tilt, bool wait)
bool setNeutralPose ()
bool setStartPose ()

Protected Attributes

asr_flir_ptu_controller::PTUController * controller
double currentPan
double currentTilt
double pan_max_angle
double pan_min_angle
int pan_step
int pan_step_add
int pan_step_count
double pan_stepsize
double tilt_max_angle
double tilt_min_angle
int tilt_step
int tilt_step_count
double tilt_stepsize

Detailed Description

Copyright (c) 2016, Aumann Florian, Heller Florian, Meißner Pascal All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.

2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.

3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

Definition at line 27 of file ptu_manager.h.


Constructor & Destructor Documentation

PTU_Manager::PTU_Manager ( double  pan_min_angle,
double  pan_max_angle,
double  tilt_min_angle,
double  tilt_max_angle,
int  pan_step_count,
int  tilt_step_count 
)

Copyright (c) 2016, Aumann Florian, Heller Florian, Meißner Pascal All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.

2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.

3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

Definition at line 27 of file ptu_manager.cpp.


Member Function Documentation

double PTU_Manager::getPan ( )

Definition at line 99 of file ptu_manager.cpp.

Definition at line 104 of file ptu_manager.cpp.

Definition at line 65 of file ptu_manager.cpp.

void PTU_Manager::ptu_callback ( double  pan,
double  tilt 
)

Definition at line 44 of file ptu_manager.cpp.

void PTU_Manager::ptu_moved ( double  pan,
double  tilt 
) [signal]
void PTU_Manager::sendJoint ( double  pan,
double  tilt,
bool  wait 
)

Definition at line 86 of file ptu_manager.cpp.

Definition at line 59 of file ptu_manager.cpp.

Definition at line 51 of file ptu_manager.cpp.


Member Data Documentation

asr_flir_ptu_controller::PTUController* PTU_Manager::controller [protected]

Definition at line 58 of file ptu_manager.h.

double PTU_Manager::currentPan [protected]

Definition at line 52 of file ptu_manager.h.

double PTU_Manager::currentTilt [protected]

Definition at line 53 of file ptu_manager.h.

double PTU_Manager::pan_max_angle [protected]

Definition at line 44 of file ptu_manager.h.

double PTU_Manager::pan_min_angle [protected]

Definition at line 43 of file ptu_manager.h.

int PTU_Manager::pan_step [protected]

Definition at line 55 of file ptu_manager.h.

int PTU_Manager::pan_step_add [protected]

Definition at line 57 of file ptu_manager.h.

int PTU_Manager::pan_step_count [protected]

Definition at line 49 of file ptu_manager.h.

double PTU_Manager::pan_stepsize [protected]

Definition at line 47 of file ptu_manager.h.

double PTU_Manager::tilt_max_angle [protected]

Definition at line 46 of file ptu_manager.h.

double PTU_Manager::tilt_min_angle [protected]

Definition at line 45 of file ptu_manager.h.

int PTU_Manager::tilt_step [protected]

Definition at line 56 of file ptu_manager.h.

Definition at line 50 of file ptu_manager.h.

double PTU_Manager::tilt_stepsize [protected]

Definition at line 48 of file ptu_manager.h.


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


asr_mild_calibration_tool
Author(s): Aumann Florian, Heller Florian, Meißner Pascal
autogenerated on Thu Jun 6 2019 21:22:45